diff options
author | Mikael Hallendal <hallski@gentoo.org> | 2002-01-04 01:31:44 +0000 |
---|---|---|
committer | Mikael Hallendal <hallski@gentoo.org> | 2002-01-04 01:31:44 +0000 |
commit | 0cb1d9f75ab1f96ba551060d54daaa3cde4d9d3e (patch) | |
tree | f512b18f82fd0e1243cbd9bb261df7ab5881da95 /app-text/docbook-xsl-stylesheets | |
parent | minor fix (diff) | |
download | historical-0cb1d9f75ab1f96ba551060d54daaa3cde4d9d3e.tar.gz historical-0cb1d9f75ab1f96ba551060d54daaa3cde4d9d3e.tar.bz2 historical-0cb1d9f75ab1f96ba551060d54daaa3cde4d9d3e.zip |
fixed catalogmaking
Diffstat (limited to 'app-text/docbook-xsl-stylesheets')
-rw-r--r-- | app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.45-r2.ebuild | 62 | ||||
-rw-r--r-- | app-text/docbook-xsl-stylesheets/files/digest-docbook-xsl-stylesheets-1.45-r2 | 1 |
2 files changed, 63 insertions, 0 deletions
diff --git a/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.45-r2.ebuild b/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.45-r2.ebuild new file mode 100644 index 000000000000..3162f2f93f47 --- /dev/null +++ b/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.45-r2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author: Mikael Hallendal <hallski@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.45-r2.ebuild,v 1.1 2002/01/04 01:31:44 hallski Exp $ + +S=${WORKDIR}/docbook-xsl-${PV} +DESCRIPTION="XSL Stylesheets for Docbook" +SRC_URI="http://prdownloads.sourceforge.net/docbook/docbook-xsl-${PV}.tar.gz" +HOMEPAGE="http://www.oasis-open.org/docbook/" + +DEPEND="dev-libs/libxml2" + +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 ] && rm $CATALOG + + /usr/bin/xmlcatalog --noout --create $CATALOG + + /usr/bin/xmlcatalog --noout --add "rewriteSystem" \ + "http://docbook.sourceforge.net/release/xsl/1.45" \ + "/usr/share/sgml/docbook/xsl-stylesheets-${PV}" $CATALOG + /usr/bin/xmlcatalog --noout --add "rewriteURI" \ + "http://docbook.sourceforge.net/release/xsl/1.45" \ + "/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 + +} diff --git a/app-text/docbook-xsl-stylesheets/files/digest-docbook-xsl-stylesheets-1.45-r2 b/app-text/docbook-xsl-stylesheets/files/digest-docbook-xsl-stylesheets-1.45-r2 new file mode 100644 index 000000000000..b2b24bd9c1dc --- /dev/null +++ b/app-text/docbook-xsl-stylesheets/files/digest-docbook-xsl-stylesheets-1.45-r2 @@ -0,0 +1 @@ +MD5 dbb0218f23da8ed3cd1637237016a94e docbook-xsl-1.45.tar.gz 581632 |