summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-28 04:03:38 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-28 04:03:38 +0000
commit59e70743cc92b4299493d80da7ccd11bbfdb3c3b (patch)
tree1fcbf05e7425ca18392ac8d3997d57fa1ceb2678 /app-text/docbook-sgml-dtd
parentNew version (diff)
downloadgentoo-2-59e70743cc92b4299493d80da7ccd11bbfdb3c3b.tar.gz
gentoo-2-59e70743cc92b4299493d80da7ccd11bbfdb3c3b.tar.bz2
gentoo-2-59e70743cc92b4299493d80da7ccd11bbfdb3c3b.zip
cleanup
Diffstat (limited to 'app-text/docbook-sgml-dtd')
-rw-r--r--app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.0.ebuild49
-rw-r--r--app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.1.ebuild40
-rw-r--r--app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.0.ebuild49
-rw-r--r--app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.1.ebuild50
4 files changed, 110 insertions, 78 deletions
diff --git a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.0.ebuild b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.0.ebuild
index 552486032957..17a134d47cba 100644
--- a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.0.ebuild
+++ b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.0.ebuild
@@ -1,13 +1,12 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Copyright 1999-2002 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-sgml-dtd/docbook-sgml-dtd-3.0.ebuild,v 1.3 2002/04/07 13:43:27 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.0.ebuild,v 1.4 2002/04/28 03:59:29 seemant Exp $
-A="docbk30.zip"
+MY_P="docbk30"
S=${WORKDIR}/${P}
DESCRIPTION="Docbook SGML DTD 3.0"
-SRC_URI="http://www.oasis-open.org/docbook/sgml/${PV}/${A}"
-
+SRC_URI="http://www.oasis-open.org/docbook/sgml/${PV}/${MY_P}.zip"
HOMEPAGE="http://www.oasis-open.org/docbook/sgml/${PV}/index.html"
DEPEND=">=app-arch/unzip-5.41"
@@ -16,28 +15,38 @@ RDEPEND="app-text/sgml-common"
SLOT="3.0"
src_unpack() {
- mkdir ${S}
- cd ${S}
- unpack ${A}
- cp ${FILESDIR}/${P}.Makefile Makefile
- patch -b docbook.cat ${FILESDIR}/${P}-catalog.diff
+ mkdir ${S}
+ cd ${S}
+ unpack ${A}
+ cp ${FILESDIR}/${P}.Makefile Makefile
+ patch -b docbook.cat ${FILESDIR}/${P}-catalog.diff
}
src_install () {
- try make DESTDIR=${D}/usr/share/sgml/docbook/sgml-dtd-${PV} install
- dodoc *.txt
+ make DESTDIR=${D}/usr/share/sgml/docbook/sgml-dtd-${PV} install || die
+ dodoc *.txt
}
pkg_postinst() {
- if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ] ; then
- install-catalog --add /etc/sgml/sgml-docbook-${PV}.cat /usr/share/sgml/docbook/sgml-dtd-${PV}/catalog
- install-catalog --add /etc/sgml/sgml-docbook-${PV}.cat /etc/sgml/sgml-docbook.cat
- fi
+ if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ]
+ then
+ install-catalog --add \
+ /etc/sgml/sgml-docbook-${PV}.cat \
+ /usr/share/sgml/docbook/sgml-dtd-${PV}/catalog
+
+ install-catalog --add \
+ /etc/sgml/sgml-docbook-${PV}.cat \
+ /etc/sgml/sgml-docbook.cat
+ fi
}
pkg_prerm() {
- if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ] ; then
- install-catalog --remove /etc/sgml/sgml-docbook-${PV}.cat /usr/share/sgml/docbook/sgml-dtd-${PV}/catalog
- install-catalog --remove /etc/sgml/sgml-docbook-${PV}.cat /etc/sgml/sgml-docbook.cat
- fi
+ if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ] ; then
+ install-catalog --remove \
+ /etc/sgml/sgml-docbook-${PV}.cat \
+ /usr/share/sgml/docbook/sgml-dtd-${PV}/catalog
+ install-catalog --remove \
+ /etc/sgml/sgml-docbook-${PV}.cat \
+ /etc/sgml/sgml-docbook.cat
+ fi
}
diff --git a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.1.ebuild b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.1.ebuild
index 580b9d3eec07..2dc0c4938b4e 100644
--- a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.1.ebuild
+++ b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.1.ebuild
@@ -1,12 +1,12 @@
# 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-sgml-dtd/docbook-sgml-dtd-3.1.ebuild,v 1.3 2002/04/07 13:43:27 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.1.ebuild,v 1.4 2002/04/28 03:59:29 seemant Exp $
-A="docbk31.zip"
+MY_P="docbk31"
S=${WORKDIR}/${P}
DESCRIPTION="Docbook SGML DTD 3.1"
-SRC_URI="http://www.oasis-open.org/docbook/sgml/${PV}/${A}"
+SRC_URI="http://www.oasis-open.org/docbook/sgml/${PV}/${MY_P}.zip"
HOMEPAGE="http://www.oasis-open.org/docbook/sgml/${PV}/index.html"
@@ -16,28 +16,28 @@ RDEPEND="app-text/sgml-common"
SLOT="3.1"
src_unpack() {
- mkdir ${S}
- cd ${S}
- unpack ${A}
- cp ${FILESDIR}/${P}.Makefile Makefile
- patch -b docbook.cat ${FILESDIR}/${P}-catalog.diff
+ mkdir ${S}
+ cd ${S}
+ unpack ${A}
+ cp ${FILESDIR}/${P}.Makefile Makefile
+ patch -b docbook.cat ${FILESDIR}/${P}-catalog.diff
}
src_install () {
- try make DESTDIR=${D}/usr/share/sgml/docbook/sgml-dtd-${PV} install
- dodoc *.txt
+ make DESTDIR=${D}/usr/share/sgml/docbook/sgml-dtd-${PV} install || die
+ dodoc *.txt
}
pkg_postinst() {
- if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ] ; then
- install-catalog --add /etc/sgml/sgml-docbook-${PV}.cat /usr/share/sgml/docbook/sgml-dtd-${PV}/catalog
- install-catalog --add /etc/sgml/sgml-docbook-${PV}.cat /etc/sgml/sgml-docbook.cat
- fi
-}
-pkg_prerm() {
- if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ] ; then
- install-catalog --remove /etc/sgml/sgml-docbook-${PV}.cat /usr/share/sgml/docbooke/sgml-dtd-${PV}/catalog
- install-catalog --remove /etc/sgml/sgml-docbook-${PV}.cat /etc/sgml/sgml-docbook.cat
- fi
+ if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ]
+ then
+ install-catalog --add \
+ /etc/sgml/sgml-docbook-${PV}.cat \
+ /usr/share/sgml/docbook/sgml-dtd-${PV}/catalog
+
+ install-catalog --add \
+ /etc/sgml/sgml-docbook-${PV}.cat \
+ /etc/sgml/sgml-docbook.cat
+ fi
}
diff --git a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.0.ebuild b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.0.ebuild
index 647447cd8ec0..c43170d8922a 100644
--- a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.0.ebuild
+++ b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.0.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Copyright 1999-2002 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-sgml-dtd/docbook-sgml-dtd-4.0.ebuild,v 1.3 2002/04/07 13:43:27 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.0.ebuild,v 1.4 2002/04/28 03:59:29 seemant Exp $
-A="docbk40.zip"
+MY_P="docbk40"
S=${WORKDIR}/${P}
DESCRIPTION="Docbook SGML DTD 4.0"
-SRC_URI="http://www.oasis-open.org/docbook/sgml/${PV}/${A}"
+SRC_URI="http://www.oasis-open.org/docbook/sgml/${PV}/${MY_P}.zip"
HOMEPAGE="http://www.oasis-open.org/docbook/sgml/${PV}/index.html"
@@ -16,28 +16,39 @@ RDEPEND="app-text/sgml-common"
SLOT="4.0"
src_unpack() {
- mkdir ${S}
- cd ${S}
- unpack ${A}
- cp ${FILESDIR}/${P}.Makefile Makefile
- patch -b docbook.cat ${FILESDIR}/${P}-catalog.diff
+ mkdir ${S}
+ cd ${S}
+ unpack ${A}
+ cp ${FILESDIR}/${P}.Makefile Makefile
+ patch -b docbook.cat ${FILESDIR}/${P}-catalog.diff
}
src_install () {
- try make DESTDIR=${D}/usr/share/sgml/docbook/sgml-dtd-${PV} install
- dodoc *.txt
+ make DESTDIR=${D}/usr/share/sgml/docbook/sgml-dtd-${PV} install || die
+ dodoc *.txt
}
pkg_postinst() {
- if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ] ; then
- install-catalog --add /etc/sgml/sgml-docbook-${PV}.cat /usr/share/sgml/docbook/sgml-dtd-${PV}/catalog
- install-catalog --add /etc/sgml/sgml-docbook-${PV}.cat /etc/sgml/sgml-docbook.cat
- fi
+ if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ]
+ then
+ install-catalog --add \
+ /etc/sgml/sgml-docbook-${PV}.cat \
+ /usr/share/sgml/docbook/sgml-dtd-${PV}/catalog
+
+ install-catalog --add \
+ /etc/sgml/sgml-docbook-${PV}.cat \
+ /etc/sgml/sgml-docbook.cat
+ fi
}
pkg_prerm() {
- if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ] ; then
- install-catalog --remove /etc/sgml/sgml-docbook-${PV}.cat /usr/share/sgml/docbook/sgml-dtd-${PV}/catalog
- install-catalog --remove /etc/sgml/sgml-docbook-${PV}.cat /etc/sgml/sgml-docbook.cat
- fi
+ if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ]
+ then
+ install-catalog --remove \
+ /etc/sgml/sgml-docbook-${PV}.cat \
+ /usr/share/sgml/docbook/sgml-dtd-${PV}/catalog
+ install-catalog --remove \
+ /etc/sgml/sgml-docbook-${PV}.cat \
+ /etc/sgml/sgml-docbook.cat
+ fi
}
diff --git a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.1.ebuild b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.1.ebuild
index b9bce748cfbf..755fe4beb4d5 100644
--- a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.1.ebuild
+++ b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.1.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Copyright 1999-2002 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-sgml-dtd/docbook-sgml-dtd-4.1.ebuild,v 1.3 2002/04/07 13:43:27 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.1.ebuild,v 1.4 2002/04/28 03:59:29 seemant Exp $
-A="docbk41.zip"
+MY_P="docbk41"
S=${WORKDIR}/${P}
DESCRIPTION="Docbook SGML DTD 4.1"
-SRC_URI="http://www.oasis-open.org/docbook/sgml/${PV}/${A}"
+SRC_URI="http://www.oasis-open.org/docbook/sgml/${PV}/${MY_P}.zip"
HOMEPAGE="http://www.oasis-open.org/docbook/sgml/${PV}/index.html"
@@ -16,28 +16,40 @@ RDEPEND="app-text/sgml-common"
SLOT="4.1"
src_unpack() {
- mkdir ${S}
- cd ${S}
- unpack ${A}
- cp ${FILESDIR}/${P}.Makefile Makefile
- patch -b docbook.cat ${FILESDIR}/${P}-catalog.diff
+ mkdir ${S}
+ cd ${S}
+ unpack ${A}
+ cp ${FILESDIR}/${P}.Makefile Makefile
+ patch -b docbook.cat ${FILESDIR}/${P}-catalog.diff
}
src_install () {
- try make DESTDIR=${D}/usr/share/sgml/docbook/sgml-dtd-${PV} install
- dodoc *.txt
+ make DESTDIR=${D}/usr/share/sgml/docbook/sgml-dtd-${PV} install || die
+ dodoc *.txt
}
pkg_postinst() {
- if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ] ; then
- install-catalog --add /etc/sgml/sgml-docbook-${PV}.cat /usr/share/sgml/docbook/sgml-dtd-${PV}/catalog
- install-catalog --add /etc/sgml/sgml-docbook-${PV}.cat /etc/sgml/sgml-docbook.cat
- fi
+ if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ]
+ then
+ install-catalog --add \
+ /etc/sgml/sgml-docbook-${PV}.cat \
+ /usr/share/sgml/docbook/sgml-dtd-${PV}/catalog
+
+ install-catalog --add \
+ /etc/sgml/sgml-docbook-${PV}.cat \
+ /etc/sgml/sgml-docbook.cat
+ fi
}
pkg_prerm() {
- if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ] ; then
- install-catalog --remove /etc/sgml/sgml-docbook-${PV}.cat /usr/share/sgml/docbook/sgml-dtd-${PV}/catalog
- install-catalog --remove /etc/sgml/sgml-docbook-${PV}.cat /etc/sgml/sgml-docbook.cat
- fi
+ if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ]
+ then
+ install-catalog --remove \
+ /etc/sgml/sgml-docbook-${PV}.cat \
+ /usr/share/sgml/docbook/sgml-dtd-${PV}/catalog
+
+ install-catalog --remove \
+ /etc/sgml/sgml-docbook-${PV}.cat \
+ /etc/sgml/sgml-docbook.cat
+ fi
}