diff options
author | Matthew Turk <satai@gentoo.org> | 2003-02-09 07:35:04 +0000 |
---|---|---|
committer | Matthew Turk <satai@gentoo.org> | 2003-02-09 07:35:04 +0000 |
commit | 33d0097bfef53da74ec0c0a94c34b5b6eff1ad1b (patch) | |
tree | 15832fcc589023dd439a02440ae3f933e16c20eb /app-text | |
parent | version bump (diff) | |
download | gentoo-2-33d0097bfef53da74ec0c0a94c34b5b6eff1ad1b.tar.gz gentoo-2-33d0097bfef53da74ec0c0a94c34b5b6eff1ad1b.tar.bz2 gentoo-2-33d0097bfef53da74ec0c0a94c34b5b6eff1ad1b.zip |
Bunch of version bumps. All covered by ~ARCH.
Diffstat (limited to 'app-text')
13 files changed, 470 insertions, 4 deletions
diff --git a/app-text/docbook-sgml-utils/ChangeLog b/app-text/docbook-sgml-utils/ChangeLog index 5366c280ec3c..692576a2becb 100644 --- a/app-text/docbook-sgml-utils/ChangeLog +++ b/app-text/docbook-sgml-utils/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/docbook-sgml-utils # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-utils/ChangeLog,v 1.9 2002/12/31 04:36:55 satai Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-utils/ChangeLog,v 1.10 2003/02/09 07:35:04 satai Exp $ + +*docbook-sgml-utils-0.6.12 (09 Feb 2003) + + 09 Feb 2003; Matthew Turk <satai@gentoo.org> : + Version bump. *docbook-sgml-utils-0.6.11-r3 (30 Dec 2002) diff --git a/app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.12.ebuild b/app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.12.ebuild new file mode 100644 index 000000000000..9d2d07544937 --- /dev/null +++ b/app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.12.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.12.ebuild,v 1.1 2003/02/09 07:35:04 satai Exp $ + +MY_PN=${PN/-sgml/} +MY_P=${MY_PN}-${PV} +S=${WORKDIR}/${MY_P} +DESCRIPTION="Shell scripts to manage DocBook documents" +SRC_URI="ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/${MY_P}.tar.gz" +HOMEPAGE="http://sources.redhat.com/docbook-tools/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~alpha" +IUSE="tetex" + +DEPEND=">=sys-devel/perl-5 + app-text/docbook-dsssl-stylesheets + app-text/openjade + dev-perl/SGMLSpm + app-text/docbook-xml-simple-dtd + app-text/docbook-xml-dtd + =app-text/docbook-sgml-dtd-3.0-r1 + =app-text/docbook-sgml-dtd-3.1-r1 + =app-text/docbook-sgml-dtd-4.0-r1 + =app-text/docbook-sgml-dtd-4.1-r1 + tetex? ( app-text/jadetex )" + +src_compile() { + patch -p1 < ${FILESDIR}/docbook-sgml-utils-frontend.patch || die + econf + make || die +} + +src_install() { + einstall htmldir=${D}/usr/share/doc/${PF}/html + dodoc AUTHORS COPYING ChangeLog NEWS README TODO +} diff --git a/app-text/docbook-sgml-utils/files/digest-docbook-sgml-utils-0.6.12 b/app-text/docbook-sgml-utils/files/digest-docbook-sgml-utils-0.6.12 new file mode 100644 index 000000000000..b2b5b8680071 --- /dev/null +++ b/app-text/docbook-sgml-utils/files/digest-docbook-sgml-utils-0.6.12 @@ -0,0 +1 @@ +MD5 e8541700e40e661ee3048617ec53dccf docbook-utils-0.6.12.tar.gz 118410 diff --git a/app-text/docbook-xml-dtd/ChangeLog b/app-text/docbook-xml-dtd/ChangeLog index 05325cfae701..2114d35ccbad 100644 --- a/app-text/docbook-xml-dtd/ChangeLog +++ b/app-text/docbook-xml-dtd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/docbook-xml-dtd # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xml-dtd/ChangeLog,v 1.7 2002/12/13 10:56:19 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xml-dtd/ChangeLog,v 1.8 2003/02/09 07:35:04 satai Exp $ + +*docbook-xml-dtd-4.2.ebuild (09 Feb 2003) + 09 Feb 2003; satai <satai@gentoo.org> : + Version bump. 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords diff --git a/app-text/docbook-xml-dtd/docbook-xml-dtd-4.2.ebuild b/app-text/docbook-xml-dtd/docbook-xml-dtd-4.2.ebuild new file mode 100644 index 000000000000..49fe97fb63fc --- /dev/null +++ b/app-text/docbook-xml-dtd/docbook-xml-dtd-4.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2002 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.2.ebuild,v 1.1 2003/02/09 07:35:04 satai Exp $ + +MY_P="docbook-xml-4.2" +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="0" +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" +src_unpack() { + mkdir ${S} + cd ${S} + unpack ${A} +} + +src_install() { + + newbin ${FILESDIR}/build-docbook-catalog-${PV} 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 README +} + +pkg_postinst() { + build-docbook-catalog +} diff --git a/app-text/docbook-xml-dtd/files/build-docbook-catalog-4.2 b/app-text/docbook-xml-dtd/files/build-docbook-catalog-4.2 new file mode 100644 index 000000000000..af133ef9b6a9 --- /dev/null +++ b/app-text/docbook-xml-dtd/files/build-docbook-catalog-4.2 @@ -0,0 +1,244 @@ +#!/bin/sh + +ROOTCATALOG=/etc/xml/catalog +CATALOG=/etc/xml/docbook + +# +# create the catalogs root and docbook specific +# +if [ ! -r $ROOTCATALOG ] ; then + echo creating XML Catalog root $ROOTCATALOG + /usr/bin/xmlcatalog --noout --create $ROOTCATALOG +fi +if [ ! -r $ROOTCATALOG ] ; then + echo Failed creating XML Catalog root $ROOTCATALOG + exit 1 +fi +if [ ! -r $CATALOG ] ; then + echo creating DocBook XML Catalog $CATALOG + /usr/bin/xmlcatalog --noout --create $CATALOG +fi +if [ ! -r $CATALOG ] ; then + echo Failed creating DocBook XML Catalog $CATALOG + exit 1 +fi + +# +# find the prefix for DocBook DTD +# +found=`find /usr/share/xml -name docbookx.dtd` +if [ "$found" = "" ] ; then + found=`find $HOME -name docbookx.dtd` +fi +if [ "$found" = "" ] ; then + echo could not locate docbookx.dtd for DocBook XML + exit 1 +fi + +dtd421="" +for dtd in $found; do + check=`grep '//OASIS//DTD DocBook XML V4.1.2//EN' $dtd` + if [ "$check" != "" ] ; then + dtd421=$dtd + break + fi +done + +if [ "$dtd421" = "" ] ; then + echo could not locate version 4.1.2 of DocBook XML + exit 1 +fi + +docbookdir=`dirname $dtd421` +echo Found DocBook XML 4.1.2 DTD in $docbookdir +if [ ! -w $docbookdir ] ; then + echo Cannot write to $docbookdir + exit 2 +fi + +xmlcatalog --noout --add "public" \ + "-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" \ + "file://$docbookdir/dbpoolx.mod" $CATALOG +xmlcatalog --noout --add "public" \ + "-//OASIS//DTD DocBook XML V4.1.2//EN" \ + "file://$docbookdir/docbookx.dtd" $CATALOG +xmlcatalog --noout --add "public" \ + "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" \ + "file://$docbookdir/dbcentx.mod" $CATALOG +xmlcatalog --noout --add "public" \ + "-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" \ + "file://$docbookdir/dbnotnx.mod" $CATALOG +xmlcatalog --noout --add "public" \ + "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" \ + "file://$docbookdir/dbgenent.mod" $CATALOG +xmlcatalog --noout --add "public" \ + "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" \ + "file://$docbookdir/dbhierx.mod" $CATALOG +xmlcatalog --noout --add "public" \ + "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ + "file://$docbookdir/soextblx.dtd" $CATALOG +xmlcatalog --noout --add "public" \ + "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" \ + "file://$docbookdir/calstblx.dtd" $CATALOG +xmlcatalog --noout --add "rewriteSystem" \ + "http://www.oasis-open.org/docbook/xml/4.1.2" \ + "file://$docbookdir" $CATALOG +xmlcatalog --noout --add "rewriteURI" \ + "http://www.oasis-open.org/docbook/xml/4.1.2" \ + "file://$docbookdir" $CATALOG + +xmlcatalog --noout --add "delegatePublic" \ + "-//OASIS//ENTITIES DocBook XML" \ + "file://$CATALOG" $ROOTCATALOG +xmlcatalog --noout --add "delegatePublic" \ + "-//OASIS//DTD DocBook XML" \ + "file://$CATALOG" $ROOTCATALOG +xmlcatalog --noout --add "delegateSystem" \ + "http://www.oasis-open.org/docbook/" \ + "file://$CATALOG" $ROOTCATALOG +xmlcatalog --noout --add "delegateURI" \ + "http://www.oasis-open.org/docbook/" \ + "file://$CATALOG" $ROOTCATALOG + +# +# find the prefix for ISO DocBook entities +# +top=`dirname $docbookdir` +found=`find $top -name iso-amsb.ent` +if [ "$found" = "" ] ; then + found=`find /usr/share/xml -name iso-amsb.ent` +fi +if [ "$found" = "" ] ; then + echo could not locate iso-amsb.ent of ISO DocBook entities + exit 1 +fi + +entxml="" +for tst in $found; do + check=`grep '<!ENTITY ominus."\⊖">' $tst` + if [ "$check" != "" ] ; then + entxml=$tst + break + fi +done + +if [ "$entxml" = "" ] ; then + echo could not locate ISO DocBook entities + exit 1 +fi +isodir=`dirname $entxml` +echo Found ISO DocBook entities in $isodir + +xmlcatalog --noout --add "public" \ + "ISO 8879:1986//ENTITIES Publishing//EN" \ + "file://$isodir/iso-pub.ent" $CATALOG +xmlcatalog --noout --add "public" \ + "ISO 8879:1986//ENTITIES Greek Letters//EN" \ + "file://$isodir/iso-grk1.ent" $CATALOG +xmlcatalog --noout --add "public" \ + "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" \ + "file://$isodir/iso-box.ent" $CATALOG +xmlcatalog --noout --add "public" \ + "ISO 8879:1986//ENTITIES Greek Symbols//EN" \ + "file://$isodir/iso-grk3.ent" $CATALOG +xmlcatalog --noout --add "public" \ + "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" \ + "file://$isodir/iso-amsn.ent" $CATALOG +xmlcatalog --noout --add "public" \ + "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" \ + "file://$isodir/iso-num.ent" $CATALOG +xmlcatalog --noout --add "public" \ + "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" \ + "file://$isodir/iso-grk4.ent" $CATALOG +xmlcatalog --noout --add "public" \ + "ISO 8879:1986//ENTITIES Diacritical Marks//EN" \ + "file://$isodir/iso-dia.ent" $CATALOG +xmlcatalog --noout --add "public" \ + "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" \ + "file://$isodir/iso-grk2.ent" $CATALOG +xmlcatalog --noout --add "public" \ + "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" \ + "file://$isodir/iso-amsa.ent" $CATALOG +xmlcatalog --noout --add "public" \ + "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" \ + "file://$isodir/iso-amso.ent" $CATALOG +xmlcatalog --noout --add "public" \ + "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" \ + "file://$isodir/iso-cyr1.ent" $CATALOG +xmlcatalog --noout --add "public" \ + "ISO 8879:1986//ENTITIES General Technical//EN" \ + "file://$isodir/iso-tech.ent" $CATALOG +xmlcatalog --noout --add "public" \ + "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" \ + "file://$isodir/iso-amsc.ent" $CATALOG +xmlcatalog --noout --add "public" \ + "ISO 8879:1986//ENTITIES Added Latin 1//EN" \ + "file://$isodir/iso-lat1.ent" $CATALOG +xmlcatalog --noout --add "public" \ + "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" \ + "file://$isodir/iso-amsb.ent" $CATALOG +xmlcatalog --noout --add "public" \ + "ISO 8879:1986//ENTITIES Added Latin 2//EN" \ + "file://$isodir/iso-lat2.ent" $CATALOG +xmlcatalog --noout --add "public" \ + "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" \ + "file://$isodir/iso-amsr.ent" $CATALOG +xmlcatalog --noout --add "public" \ + "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" \ + "file://$isodir/iso-cyr2.ent" $CATALOG + +xmlcatalog --noout --add "delegatePublic" \ + "ISO 8879:1986" \ + "file://$CATALOG" $ROOTCATALOG + +# +# find the prefix for XSLT stylesheets +# +top=`dirname $docbookdir` +found=`find $top -name chunk.xsl` +if [ "$found" = "" ] ; then + found=`find /usr/share/xml -name chunk.xsl` +fi +if [ "$found" = "" ] ; then + found=`find /usr/share/sgml -name chunk.xsl` +fi +if [ "$found" = "" ] ; then + echo could not locate chunk-common.xsl of DocBook XSLT stylesheets + exit 1 +fi + +xsldir="" +for tst in $found; do + dir=`dirname $tst` + dir=`dirname $dir` + if [ -r $dir/html/docbook.xsl -a -r $dir/common/l10n.xml ]; then + xsldir=$dir + break + fi +done + +if [ "$xsldir" = "" ] ; then + echo could not locate DocBook XSLT stylesheets + exit 1 +fi +echo Found DocBook XSLT stylesheets in $xsldir +for version in current 1.39 1.40 1.41 1.42 1.43 1.44 1.45 1.46 1.47 \ + 1.48 1.49 1.50 +do + xmlcatalog --noout --add "rewriteSystem" \ + "http://docbook.sourceforge.net/release/xsl/$version" \ + "file://$xsldir" $CATALOG + xmlcatalog --noout --add "rewriteURI" \ + "http://docbook.sourceforge.net/release/xsl/$version" \ + "file://$xsldir" $CATALOG +done + +xmlcatalog --noout --add "delegateSystem" \ + "http://docbook.sourceforge.net/release/xsl/" \ + "file://$CATALOG" $ROOTCATALOG +xmlcatalog --noout --add "delegateURI" \ + "http://docbook.sourceforge.net/release/xsl/" \ + "file://$CATALOG" $ROOTCATALOG + +# +# diff --git a/app-text/docbook-xml-dtd/files/digest-docbook-xml-dtd-4.2 b/app-text/docbook-xml-dtd/files/digest-docbook-xml-dtd-4.2 new file mode 100644 index 000000000000..fa78528f0e4b --- /dev/null +++ b/app-text/docbook-xml-dtd/files/digest-docbook-xml-dtd-4.2 @@ -0,0 +1 @@ +MD5 73fe50dfe74ca631c1602f558ed8961f docbook-xml-4.2.zip 78428 diff --git a/app-text/docbook-xml-simple-dtd/ChangeLog b/app-text/docbook-xml-simple-dtd/ChangeLog index e58473646929..1a32dc26394d 100644 --- a/app-text/docbook-xml-simple-dtd/ChangeLog +++ b/app-text/docbook-xml-simple-dtd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/docbook-xml-simple-dtd # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xml-simple-dtd/ChangeLog,v 1.5 2002/12/13 10:56:19 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xml-simple-dtd/ChangeLog,v 1.6 2003/02/09 07:35:04 satai Exp $ + +*docbook-xml-simple-dtd-4.2 (7 Feb 2003) + + 07 Feb 2003; Matthew Turk <satai@gentoo.org> : Version bump. 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords diff --git a/app-text/docbook-xml-simple-dtd/docbook-xml-simple-dtd-4.2.ebuild b/app-text/docbook-xml-simple-dtd/docbook-xml-simple-dtd-4.2.ebuild new file mode 100644 index 000000000000..ad5a9dc2020a --- /dev/null +++ b/app-text/docbook-xml-simple-dtd/docbook-xml-simple-dtd-4.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xml-simple-dtd/docbook-xml-simple-dtd-4.2.ebuild,v 1.1 2003/02/09 07:35:04 satai Exp $ + +MY_P="sdb4124" +S=${WORKDIR}/${P} +DESCRIPTION="Docbook DTD for XML" +SRC_URI="http://www.nwalsh.com/docbook/simple/${PV}/${MY_P}.zip" +HOMEPAGE="http://www.oasis-open.org/docbook/" +KEYWORDS="~x86 ~ppc ~sparc ~alpha" +SLOT="0" +LICENSE="X11" + +DEPEND=">=app-arch/unzip-5.41" + +src_unpack() { + mkdir ${S} + cd ${S} + unpack ${A} +} + +src_install() { + + insinto /usr/share/sgml/docbook/xml-simple-dtd-${PV} + doins *.dtd *.mod *.css + + #newins ${FILESDIR}/${P}.catalog catalog + + insinto /usr/share/sgml/docbook/xml-simple-dtd-${PV}/ent + doins ent/*.ent + + dodoc README ChangeLog LostLog COPYRIGHT +} diff --git a/app-text/docbook-xml-simple-dtd/files/digest-docbook-xml-simple-dtd-4.2 b/app-text/docbook-xml-simple-dtd/files/digest-docbook-xml-simple-dtd-4.2 new file mode 100644 index 000000000000..090e65acc672 --- /dev/null +++ b/app-text/docbook-xml-simple-dtd/files/digest-docbook-xml-simple-dtd-4.2 @@ -0,0 +1 @@ +MD5 64e9d808dfa2aee7315136dbe5ee6fdd sdb4124.zip 35199 diff --git a/app-text/docbook-xsl-stylesheets/ChangeLog b/app-text/docbook-xsl-stylesheets/ChangeLog index 66b41c2552e5..d4976a499c82 100644 --- a/app-text/docbook-xsl-stylesheets/ChangeLog +++ b/app-text/docbook-xsl-stylesheets/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/docbook-xsl-stylesheets # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-stylesheets/ChangeLog,v 1.8 2002/12/20 07:14:01 satai Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-stylesheets/ChangeLog,v 1.9 2003/02/09 07:35:04 satai Exp $ + +*docbook-xsl-stylesheets-1.60.1 (09 Feb 2003) + + 09 Feb 2003; Matthew Turk <satai@gentoo.org> : + Version bump. Still no xml-catalog.eclass, but it's coming. *docbook-xsl-stylesheets-1.57.0 (20 Dec 2002) diff --git a/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.60.1.ebuild b/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.60.1.ebuild new file mode 100644 index 000000000000..fe107c090188 --- /dev/null +++ b/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.60.1.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2002 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.60.1.ebuild,v 1.1 2003/02/09 07:35:04 satai 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/" + +DEPEND="dev-libs/libxml2" + +SLOT="0" +LICENSE="as-is | BSD" +KEYWORDS="~x86" + +src_install() { + DEST="/usr/share/sgml/docbook/xsl-stylesheets-${PV}" + dodir ${DEST} + dodir /usr/share/doc/${P} + cp -af doc ${D}/usr/share/doc/${P}/html + cp VERSION ${D}/${DEST} + + 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} + + for j in ChangeLog LostLog README + do + if [ -e ${j} ] + then + mv ${j} ${D}/usr/share/doc/${P}/${j}.${i} + fi + done + done + + prepalldocs + cd ${S} + dodoc BUGS TODO WhatsNew + + 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.60.1 b/app-text/docbook-xsl-stylesheets/files/digest-docbook-xsl-stylesheets-1.60.1 new file mode 100644 index 000000000000..3bb8212848d4 --- /dev/null +++ b/app-text/docbook-xsl-stylesheets/files/digest-docbook-xsl-stylesheets-1.60.1 @@ -0,0 +1 @@ +MD5 592da91297d8e282872609ca0f8f6e9f docbook-xsl-1.60.1.tar.gz 1235994 |