diff options
Diffstat (limited to 'app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.64.ebuild')
-rw-r--r-- | app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.64.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.64.ebuild b/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.64.ebuild index 4bb8e94f99bb..d083a59e2d10 100644 --- a/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.64.ebuild +++ b/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.64.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.64.ebuild,v 1.1 2001/03/20 05:53:12 achim Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.64.ebuild,v 1.2 2001/06/08 01:08:06 achim Exp $ A="db164.zip" S=${WORKDIR}/docbook @@ -9,8 +9,8 @@ DESCRIPTION="" SRC_URI="http://www.nwalsh.com/docbook/dsssl/${A}" HOMEPAGE="http://www.nwalsh.com/docbook/dsssl/" -DEPEND=">=app-arch/unzip-5.41 - app-text/sgml-common" +DEPEND=">=app-arch/unzip-5.41" +RDEPEND="app-text/sgml-common" src_unpack() { @@ -26,11 +26,15 @@ src_install () { } pkg_postinst() { + if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ] ; then install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat /usr/share/sgml/docbook/dsssl-stylesheets-${PV}/catalog install-catalog --add /etc/sgml/sgml-docbook.cat /etc/sgml/dsssl-docbook-stylesheets.cat + fi } pkg_prerm() { + if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ] ; then install-catalog --remove /etc/sgml/dsssl-docbook-stylesheets.cat /usr/share/sgml/docbook/dsssl-stylesheets-${PV}/catalog install-catalog --remove /etc/sgml/sgml-docbook.cat /etc/sgml/dsssl-docbook-stylesheets.cat + fi } |