summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gardiner <obz@gentoo.org>2003-09-06 19:26:18 +0000
committerMike Gardiner <obz@gentoo.org>2003-09-06 19:26:18 +0000
commit6cfea35e7eab8d29a7e2d18663c3faa9f4e472f5 (patch)
treede13ef01bed797d9ba46e2636c3256908f04bc8e /app-text
parentnew revision with catalog support (diff)
downloadgentoo-2-6cfea35e7eab8d29a7e2d18663c3faa9f4e472f5.tar.gz
gentoo-2-6cfea35e7eab8d29a7e2d18663c3faa9f4e472f5.tar.bz2
gentoo-2-6cfea35e7eab8d29a7e2d18663c3faa9f4e472f5.zip
new revision with catalog support
Diffstat (limited to 'app-text')
-rw-r--r--app-text/docbook-xml-dtd/ChangeLog7
-rw-r--r--app-text/docbook-xml-dtd/Manifest4
-rw-r--r--app-text/docbook-xml-dtd/docbook-xml-dtd-4.1.2-r4.ebuild69
-rw-r--r--app-text/docbook-xml-dtd/files/digest-docbook-xml-dtd-4.1.2-r41
4 files changed, 78 insertions, 3 deletions
diff --git a/app-text/docbook-xml-dtd/ChangeLog b/app-text/docbook-xml-dtd/ChangeLog
index e3b2c4c5ae26..19729c73f5b7 100644
--- a/app-text/docbook-xml-dtd/ChangeLog
+++ b/app-text/docbook-xml-dtd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/docbook-xml-dtd
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xml-dtd/ChangeLog,v 1.12 2003/03/09 19:51:14 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xml-dtd/ChangeLog,v 1.13 2003/09/06 19:25:57 obz Exp $
+
+*docbook-xml-dtd-4.1.2-r4 (07 Sep 2003)
+
+ 07 Sep 2003; Mike Gardiner <obz@gentoo.org> docbook-xml-dtd-4.1.2-r4.ebuild:
+ Added new revision that catalogs the docbookx.dtd correctly in xml/catalog
11 Feb 2003; Guy Martin <gmsoft@gentoo.org> :
Added hppa to keywords.
diff --git a/app-text/docbook-xml-dtd/Manifest b/app-text/docbook-xml-dtd/Manifest
index 18bdd905e5b3..8c859a08ecca 100644
--- a/app-text/docbook-xml-dtd/Manifest
+++ b/app-text/docbook-xml-dtd/Manifest
@@ -1,8 +1,8 @@
MD5 4d1327d534f0b68b72060118fff34069 docbook-xml-dtd-4.1.2-r3.ebuild 1007
MD5 3c87cdc58591699899aee294f1543a84 docbook-xml-dtd-4.2.ebuild 1008
MD5 7addba64d59b2473c88890720adf7a8f docbook-xml-dtd-4.1.2-r2.ebuild 986
-MD5 117da4282f1eab036b8f9cca0f0faab5 docbook-xml-dtd-4.1.2-r4.ebuild 1656
-MD5 b97b4956341a35ed652cf6197802afce ChangeLog 1855
+MD5 bd0b261b27bd6d919caf4802e1edb1fd docbook-xml-dtd-4.1.2-r4.ebuild 1772
+MD5 c45f3b4ef6ca26a94cfabe50c50ba469 ChangeLog 2048
MD5 685e90289b5799117f9e7127c62cf649 files/build-docbook-catalog-4.2 7842
MD5 093e6f1d9b42e82da8879d652cd8939f files/digest-docbook-xml-dtd-4.2 63
MD5 a74c550aa25c8f691f222c7cc28028cb files/build-docbook-catalog-4.1.2-r3 7845
diff --git a/app-text/docbook-xml-dtd/docbook-xml-dtd-4.1.2-r4.ebuild b/app-text/docbook-xml-dtd/docbook-xml-dtd-4.1.2-r4.ebuild
new file mode 100644
index 000000000000..d21014f18073
--- /dev/null
+++ b/app-text/docbook-xml-dtd/docbook-xml-dtd-4.1.2-r4.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xml-dtd/docbook-xml-dtd-4.1.2-r4.ebuild,v 1.1 2003/09/06 19:25:57 obz Exp $
+
+MY_P="docbkx412"
+S=${WORKDIR}/${P}
+DESCRIPTION="Docbook DTD for XML"
+SRC_URI="http://www.oasis-open.org/docbook/xml/${PV}/${MY_P}.zip"
+
+HOMEPAGE="http://www.oasis-open.org/docbook/"
+SLOT="4.1.2"
+LICENSE="X11"
+
+DEPEND=">=app-arch/unzip-5.41
+ >=dev-libs/libxml2-2.4
+ >=app-text/docbook-xsl-stylesheets-1.45"
+KEYWORDS="x86 ppc sparc alpha hppa amd64"
+src_unpack() {
+ mkdir ${S}
+ cd ${S}
+ unpack ${A}
+}
+
+src_install() {
+
+ # still use the -r3 build file
+ newbin ${FILESDIR}/build-docbook-catalog-${PV}-r3 build-docbook-catalog
+
+ dodir /etc/xml
+ touch ${D}/etc/xml/.keep
+
+ insinto /usr/share/sgml/docbook/xml-dtd-${PV}
+ doins *.dtd *.mod
+ doins docbook.cat
+ insinto /usr/share/sgml/docbook/xml-dtd-${PV}/ent
+ doins ent/*.ent
+
+ dodoc ChangeLog *.txt
+}
+
+pkg_postinst() {
+ build-docbook-catalog
+
+ # we need to add the docbookx.dtd to local, so
+ # packages that refer to it dont need to go http
+ # for it <obz@gentoo.org>
+ CATALOG=/etc/xml/catalog
+
+ /usr/bin/xmlcatalog --noout --add "rewriteSystem" \
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" \
+ "/usr/share/sgml/docbook/xml-dtd-4.1.2/docbookx.dtd" \
+ ${CATALOG}
+
+ /usr/bin/xmlcatalog --noout --add "rewriteURI" \
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" \
+ "/usr/share/sgml/docbook/xml-dtd-4.1.2/docbookx.dtd" \
+ ${CATALOG}
+
+}
+
+pkg_postrm( ) {
+
+ # and clean up the docbookx.dtd once we've been removed
+ CATALOG=/etc/xml/catalog
+ /usr/bin/xmlcatalog --noout --del \
+ "/usr/share/sgml/docbook/xml-dtd-4.1.2/docbookx.dtd" \
+ ${CATALOG}
+
+}
diff --git a/app-text/docbook-xml-dtd/files/digest-docbook-xml-dtd-4.1.2-r4 b/app-text/docbook-xml-dtd/files/digest-docbook-xml-dtd-4.1.2-r4
new file mode 100644
index 000000000000..59dfef960c9d
--- /dev/null
+++ b/app-text/docbook-xml-dtd/files/digest-docbook-xml-dtd-4.1.2-r4
@@ -0,0 +1 @@
+MD5 0d5a4a999a2d7b2e77a46bd069301caf docbkx412.zip 75570