diff options
4 files changed, 101 insertions, 3 deletions
diff --git a/app-text/docbook-xsl-stylesheets/ChangeLog b/app-text/docbook-xsl-stylesheets/ChangeLog index a2436c11eefa..1e7e8f890bee 100644 --- a/app-text/docbook-xsl-stylesheets/ChangeLog +++ b/app-text/docbook-xsl-stylesheets/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/docbook-xsl-stylesheets # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-stylesheets/ChangeLog,v 1.13 2003/07/23 17:25:50 gmsoft Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-stylesheets/ChangeLog,v 1.14 2003/09/08 07:07:24 obz Exp $ + +*docbook-xsl-stylesheets-1.62.0 (08 Sep 2003) + + 08 Sep 2003; Mike Gardiner <obz@gentoo.org> + docbook-xsl-stylesheets-1.62.0.ebuild: + New version, we can probably remove .50 and .52 soon 19 Jun 2003; <msterret@gentoo.org> docbook-xsl-stylesheets-1.60.1.ebuild: Be more selective with compression than prepalldocs allows. (bug 23048) diff --git a/app-text/docbook-xsl-stylesheets/Manifest b/app-text/docbook-xsl-stylesheets/Manifest index 82e2eb508fde..a6773ed0cb1c 100644 --- a/app-text/docbook-xsl-stylesheets/Manifest +++ b/app-text/docbook-xsl-stylesheets/Manifest @@ -1,8 +1,8 @@ MD5 87d4c53ffe45ce0d990ec7b9dda46a0e docbook-xsl-stylesheets-1.52.2.ebuild 1864 MD5 9d2aab6f558606c3030fc70717a53229 docbook-xsl-stylesheets-1.57.0.ebuild 2330 MD5 8e3aa1a1353ca3cae91857e740486f24 docbook-xsl-stylesheets-1.50.0.ebuild 1850 -MD5 634d9ac43393d641063555e62dc143d0 docbook-xsl-stylesheets-1.62.0.ebuild 2893 -MD5 09b8b3c5be09382c76b8251de3068458 ChangeLog 2117 +MD5 4d28b004ea40f06f1e2fde25c9ccd2ab docbook-xsl-stylesheets-1.62.0.ebuild 3023 +MD5 4e779a74564f5347c40d690f1a4f1f9b ChangeLog 2304 MD5 4d3eeb1e6df8209ad07ff8af73c6a303 docbook-xsl-stylesheets-1.60.1.ebuild 2913 MD5 837dc33a5e6aa8f1845cddb23b64c447 files/digest-docbook-xsl-stylesheets-1.50.0 70 MD5 777063c8d384cc237342da5c323402fd files/digest-docbook-xsl-stylesheets-1.52.2 71 diff --git a/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.62.0.ebuild b/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.62.0.ebuild new file mode 100644 index 000000000000..885fb34fee24 --- /dev/null +++ b/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.62.0.ebuild @@ -0,0 +1,91 @@ +# 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-xsl-stylesheets/docbook-xsl-stylesheets-1.62.0.ebuild,v 1.1 2003/09/08 07:07:24 obz Exp $ + +S=${WORKDIR}/docbook-xsl-${PV} +DESCRIPTION="XSL Stylesheets for Docbook" +SRC_URI="mirror://sourceforge/docbook/docbook-xsl-${PV}.tar.gz" +HOMEPAGE="http://www.oasis-open.org/docbook/" + +SLOT="0" +LICENSE="as-is | BSD" +KEYWORDS="~x86 ~hppa ~amd64" +IUSE="" + +DEPEND="dev-libs/libxml2" + +src_install() { + DEST="/usr/share/sgml/docbook/xsl-stylesheets-${PV}" + dodir ${DEST} /usr/share/doc/${P} + + cp -af doc ${D}/usr/share/doc/${P}/html + cp VERSION ${D}/${DEST} + + # manpages are excluded here because they arent fully supported + for i in common extensions fo html htmlhelp images javahelp lib template xhtml + do + cd ${S} + cp -af ${i} ${D}/${DEST} + cd ${D}/${DEST}/${i} + + # there's no LostLog anywhere in the source anymore + for j in ChangeLog README + do + if [ -e ${j} ] + then + mv ${j} ${D}/usr/share/doc/${P}/${j}.${i} + fi + done + done + + cd ${S} + dodoc BUGS TODO WhatsNew + + # Only a few things in /usr/share/doc make sense to compress. + # Everything else needs to be uncompressed to be useful. (bug 23048) + find ${D}/usr/share/doc/${P} -name "ChangeLog" -exec gzip -f -9 \{\} \; + gzip -f -9 ${D}/usr/share/doc/${P}/{README,ChangeLog}.* + + dodir /etc/xml +} + +pkg_postinst() { + CATALOG=/etc/xml/catalog + + [ -e $CATALOG ] || /usr/bin/xmlcatalog --noout --create $CATALOG + + # Ok, so the next version is out and we still have to manually delete them. + # I'm working on an xml-catalog eclass. When that's ready, we'll use it. + + /usr/bin/xmlcatalog --noout --del \ + "/usr/share/sgml/docbook/xsl-stylesheets-1.52.2" $CATALOG + /usr/bin/xmlcatalog --noout --del \ + "/usr/share/sgml/docbook/xsl-stylesheets-1.57.0" $CATALOG + /usr/bin/xmlcatalog --noout --del \ + "/usr/share/sgml/docbook/xsl-stylesheets-1.59.1" $CATALOG + /usr/bin/xmlcatalog --noout --del \ + "/usr/share/sgml/docbook/xsl-stylesheets-1.59.2" $CATALOG + /usr/bin/xmlcatalog --noout --del \ + "/usr/share/sgml/docbook/xsl-stylesheets-1.60.1" $CATALOG + + /usr/bin/xmlcatalog --noout --add "rewriteSystem" \ + "http://docbook.sourceforge.net/release/xsl/${PV}" \ + "/usr/share/sgml/docbook/xsl-stylesheets-${PV}" $CATALOG + /usr/bin/xmlcatalog --noout --add "rewriteURI" \ + "http://docbook.sourceforge.net/release/xsl/${PV}" \ + "/usr/share/sgml/docbook/xsl-stylesheets-${PV}" $CATALOG + /usr/bin/xmlcatalog --noout --add "rewriteSystem" \ + "http://docbook.sourceforge.net/release/xsl/current" \ + "/usr/share/sgml/docbook/xsl-stylesheets-${PV}" $CATALOG + /usr/bin/xmlcatalog --noout --add "rewriteURI" \ + "http://docbook.sourceforge.net/release/xsl/current" \ + "/usr/share/sgml/docbook/xsl-stylesheets-${PV}" $CATALOG +} + +pkg_postrm() { + CATALOG=/etc/xml/catalog + + # Let's clean up after ourselves. + /usr/bin/xmlcatalog --noout --del \ + "/usr/share/sgml/docbook/xsl-stylesheets-${PV}" $CATALOG +} diff --git a/app-text/docbook-xsl-stylesheets/files/digest-docbook-xsl-stylesheets-1.62.0 b/app-text/docbook-xsl-stylesheets/files/digest-docbook-xsl-stylesheets-1.62.0 new file mode 100644 index 000000000000..79291cd4d5c5 --- /dev/null +++ b/app-text/docbook-xsl-stylesheets/files/digest-docbook-xsl-stylesheets-1.62.0 @@ -0,0 +1 @@ +MD5 def090df04ab3870a34fcda86b3c3c38 docbook-xsl-1.62.0.tar.gz 1322154 |