summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2008-07-01 21:27:15 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2008-07-01 21:27:15 +0000
commit32fb4cad6c9400ac87ce1666110d16debd9b23d8 (patch)
tree58ee797952482720d7818c4867c60cbfff60e94b /app-text/scrollkeeper-dtd
parentVersion bump, bug #206600 (diff)
downloadgentoo-2-32fb4cad6c9400ac87ce1666110d16debd9b23d8.tar.gz
gentoo-2-32fb4cad6c9400ac87ce1666110d16debd9b23d8.tar.bz2
gentoo-2-32fb4cad6c9400ac87ce1666110d16debd9b23d8.zip
Initial ebuild, thanks to Ford_Prefect. Commited directly to stable to match scrollkeeper-9999 visibility, see bug #229123 for details.
(Portage version: 2.2_rc1/cvs/Linux 2.6.24-gentoo-r8 i686, RepoMan options: --force)
Diffstat (limited to 'app-text/scrollkeeper-dtd')
-rw-r--r--app-text/scrollkeeper-dtd/ChangeLog11
-rw-r--r--app-text/scrollkeeper-dtd/Manifest4
-rw-r--r--app-text/scrollkeeper-dtd/metadata.xml7
-rw-r--r--app-text/scrollkeeper-dtd/scrollkeeper-dtd-1.0.ebuild51
4 files changed, 73 insertions, 0 deletions
diff --git a/app-text/scrollkeeper-dtd/ChangeLog b/app-text/scrollkeeper-dtd/ChangeLog
new file mode 100644
index 000000000000..3989b865ac69
--- /dev/null
+++ b/app-text/scrollkeeper-dtd/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-text/scrollkeeper-dtd
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper-dtd/ChangeLog,v 1.1 2008/07/01 21:27:15 eva Exp $
+
+*scrollkeeper-dtd-1.0 (01 Jul 2008)
+
+ 01 Jul 2008; Gilles Dartiguelongue <eva@gentoo.org>
+ +scrollkeeper-dtd-1.0.ebuild:
+ Initial ebuild, thanks to Ford_Prefect. Commited directly to stable to
+ match scrollkeeper-9999 visibility, see bug #229123 for details.
+
diff --git a/app-text/scrollkeeper-dtd/Manifest b/app-text/scrollkeeper-dtd/Manifest
new file mode 100644
index 000000000000..bfc8542b248b
--- /dev/null
+++ b/app-text/scrollkeeper-dtd/Manifest
@@ -0,0 +1,4 @@
+DIST scrollkeeper-omf.dtd 11031 RMD160 520e04cd1cdc055a523d7a6615b1079369a956c2 SHA1 b035cd72bf61354fdccbc90e5a6b76d44e2cfd2c SHA256 43df758009b17f8487419ef1fe3039379370417385885a2578e1789ab092ae26
+EBUILD scrollkeeper-dtd-1.0.ebuild 1480 RMD160 e02a128de41f4c540da5c4946a552ab792e0c9c3 SHA1 cad0293b924b4866dd6ef35955a42528e1ac86f8 SHA256 aa37f9e7b5f681896d644c991dc8ea7d81458a21f6c71291af9b54a07db1cda6
+MISC ChangeLog 390 RMD160 c8730bc4e7762e6299ee8163055399615117fbed SHA1 81c037ed9cb3e6bf207d8ca800ba6d688c52a571 SHA256 e765bb37819e0c514076e7b33f9bc482927d3d100e3fa3598f2d980e90704873
+MISC metadata.xml 179 RMD160 8f35849246f14718656e253510e175eec28bd29e SHA1 1c7013c99b5c08b5ff8a6ca27d00b2cff946dcd5 SHA256 065e58b1bbbc42df2691c328651c08a1f4377507378d0887ec65e23b114562cd
diff --git a/app-text/scrollkeeper-dtd/metadata.xml b/app-text/scrollkeeper-dtd/metadata.xml
new file mode 100644
index 000000000000..1e42300c6434
--- /dev/null
+++ b/app-text/scrollkeeper-dtd/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>gnome</herd>
+ <herd>sgml</herd>
+</pkgmetadata>
+
diff --git a/app-text/scrollkeeper-dtd/scrollkeeper-dtd-1.0.ebuild b/app-text/scrollkeeper-dtd/scrollkeeper-dtd-1.0.ebuild
new file mode 100644
index 000000000000..f967048e6dc1
--- /dev/null
+++ b/app-text/scrollkeeper-dtd/scrollkeeper-dtd-1.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper-dtd/scrollkeeper-dtd-1.0.ebuild,v 1.1 2008/07/01 21:27:15 eva Exp $
+
+DTD_FILE="scrollkeeper-omf.dtd"
+
+DESCRIPTION="DTD from the Scrollkeeper package"
+HOMEPAGE="http://scrollkeeper.sourceforge.net/"
+SRC_URI="http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/${DTD_FILE}"
+
+LICENSE="FDL-1.1"
+SLOT="1.0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=dev-libs/libxml2-2.4.19"
+DEPEND="${RDEPEND}"
+
+src_unpack() { :; }
+
+src_compile() { :; }
+
+src_install() {
+ insinto "/usr/share/xml/scrollkeeper/dtds"
+ doins "${DISTDIR}/${DTD_FILE}"
+}
+
+pkg_postinst() {
+ einfo "Installing catalog..."
+
+ # Install regular DOCTYPE catalog entry
+ "${ROOT}"/usr/bin/xmlcatalog --noout --add "public" \
+ "-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN" \
+ "`echo "${ROOT}/usr/share/xml/scrollkeeper/dtds/${DTD_FILE}" | sed -e "s://:/:g"`" \
+ "${ROOT}"/etc/xml/catalog
+
+ # Install catalog entry for calls like: xmllint --dtdvalid URL ...
+ "${ROOT}"/usr/bin/xmlcatalog --noout --add "system" \
+ "${SRC_URI}" \
+ "`echo "${ROOT}/usr/share/xml/scrollkeeper/dtds/${DTD_FILE}" | sed -e "s://:/:g"`" \
+ "${ROOT}"/etc/xml/catalog
+}
+
+pkg_postrm() {
+ # Remove all sk-dtd from the cache
+ einfo "Cleaning catalog..."
+
+ "${ROOT}"/usr/bin/xmlcatalog --noout --del \
+ "`echo "${ROOT}/usr/share/xml/scrollkeeper/dtds/${DTD_FILE}" | sed -e "s://:/:g"`" \
+ "${ROOT}"/etc/xml/catalog
+}