summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-03-19 21:00:02 +0000
committerAchim Gottinger <achim@gentoo.org>2001-03-19 21:00:02 +0000
commit3b601a86ffa6c82625ec748fc2ca314f12c1e881 (patch)
tree663f3fc3a79961bc0e47c1066fd05f9a1cee81f5 /app-text/sgml-common
parentnew digest (diff)
downloadhistorical-3b601a86ffa6c82625ec748fc2ca314f12c1e881.tar.gz
historical-3b601a86ffa6c82625ec748fc2ca314f12c1e881.tar.bz2
historical-3b601a86ffa6c82625ec748fc2ca314f12c1e881.zip
*** empty log message ***
Diffstat (limited to 'app-text/sgml-common')
-rw-r--r--app-text/sgml-common/sgml-common-0.6.1.ebuild21
1 files changed, 16 insertions, 5 deletions
diff --git a/app-text/sgml-common/sgml-common-0.6.1.ebuild b/app-text/sgml-common/sgml-common-0.6.1.ebuild
index cc9e482c6d63..961436473e5b 100644
--- a/app-text/sgml-common/sgml-common-0.6.1.ebuild
+++ b/app-text/sgml-common/sgml-common-0.6.1.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/sgml-common/sgml-common-0.6.1.ebuild,v 1.1 2001/03/06 06:20:41 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/sgml-common/sgml-common-0.6.1.ebuild,v 1.2 2001/03/19 21:00:02 achim Exp $
A=${P}.tgz
S=${WORKDIR}/${P}
@@ -10,18 +10,29 @@ SRC_URI="ftp://ftp.kde.org/pub/kde/devel/docbook/SOURCES/${A}
http://download.sourceforge.net/pub/mirrors/kde/devel/docbook/SOURCES/${A}"
HOMEPAGE="http://www.iso.ch/cate/3524030.html"
-DEPEND=">=sys-apps/bash-2.04"
+src_unpack() {
-src_compile() {
+ unpack ${A}
+ # We use a hacked version of install-catalog that supports the ROOT variable
+ cp ${FILESDIR}/${P}-install-catalog.in ${S}/bin
+}
+src_compile() {
try ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man
try make
}
src_install () {
-
- cd ${S}
try make prefix=${D}/usr sysconfdir=${D}/etc mandir=${D}/usr/share/man \
docdir=${D}/usr/share/doc install
}
+pkg_postinst() {
+ install-catalog --add /etc/sgml/sgml-ent.cat /usr/share/sgml/sgml-iso-entities-8879.1986/catalog
+ install-catalog --add /etc/sgml/sgml-docbook.cat /etc/sgml/sgml-ent.cat
+}
+
+pkg_prerm() {
+ install-catalog --remove /etc/sgml/sgml-ent.cat /usr/share/sgml/sgml-iso-entities-8879.1986/catalog
+ install-catalog --add /etc/sgml/sgml-docbook.cat /etc/sgml/sgml-ent.cat
+} \ No newline at end of file