summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gardiner <obz@gentoo.org>2004-08-18 16:50:22 +0000
committerMike Gardiner <obz@gentoo.org>2004-08-18 16:50:22 +0000
commit22183427dfd0e7ceed5bddf607a40180f7e6724c (patch)
tree3239a05d38329095137312e1eb4bcb330672fdcd /app-text/docbook-xml-dtd/docbook-xml-dtd-4.2-r1.ebuild
parentMarked stable on x86 (Manifest recommit) (diff)
downloadgentoo-2-22183427dfd0e7ceed5bddf607a40180f7e6724c.tar.gz
gentoo-2-22183427dfd0e7ceed5bddf607a40180f7e6724c.tar.bz2
gentoo-2-22183427dfd0e7ceed5bddf607a40180f7e6724c.zip
Added the 4.1.2-r5 and 4.2-r1 xml-dtd's to use the new build-docbook-catalog script. This is the way of the future
Diffstat (limited to 'app-text/docbook-xml-dtd/docbook-xml-dtd-4.2-r1.ebuild')
-rw-r--r--app-text/docbook-xml-dtd/docbook-xml-dtd-4.2-r1.ebuild50
1 files changed, 50 insertions, 0 deletions
diff --git a/app-text/docbook-xml-dtd/docbook-xml-dtd-4.2-r1.ebuild b/app-text/docbook-xml-dtd/docbook-xml-dtd-4.2-r1.ebuild
new file mode 100644
index 000000000000..9909d1d6a523
--- /dev/null
+++ b/app-text/docbook-xml-dtd/docbook-xml-dtd-4.2-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2004 Gentoo Foundation
+# 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.2-r1.ebuild,v 1.1 2004/08/18 16:50:22 obz Exp $
+
+MY_P="docbook-xml-4.2"
+
+DESCRIPTION="Docbook DTD for XML"
+HOMEPAGE="http://www.oasis-open.org/docbook/"
+SRC_URI="http://www.oasis-open.org/docbook/xml/${PV}/${MY_P}.zip"
+LICENSE="X11"
+
+SLOT="4.2"
+KEYWORDS="x86 ~ppc ~sparc ~mips ~alpha ~amd64 ~ia64"
+IUSE=""
+
+DEPEND=">=app-arch/unzip-5.41
+ >=dev-libs/libxml2-2.4
+ >=app-text/docbook-xsl-stylesheets-1.65
+ >=app-text/build-docbook-catalog-1.2"
+
+src_unpack() {
+
+ mkdir ${S}
+ cd ${S}
+ unpack ${A}
+
+}
+
+src_install() {
+
+ keepdir /etc/xml
+
+ 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 README
+
+}
+
+pkg_postinst() {
+ build-docbook-catalog
+}
+
+pkg_postrm() {
+ build-docbook-catalog
+}
+