summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-03-20 05:53:12 +0000
committerAchim Gottinger <achim@gentoo.org>2001-03-20 05:53:12 +0000
commit0f39a968bfd2367896c53660ead42cb7eb4550d0 (patch)
treee885d5542eab110eb873a8f4d32f9f3e6a629eaf /app-text/docbook-dsssl-stylesheets
parent*** empty log message *** (diff)
downloadhistorical-0f39a968bfd2367896c53660ead42cb7eb4550d0.tar.gz
historical-0f39a968bfd2367896c53660ead42cb7eb4550d0.tar.bz2
historical-0f39a968bfd2367896c53660ead42cb7eb4550d0.zip
*** empty log message ***
Diffstat (limited to 'app-text/docbook-dsssl-stylesheets')
-rw-r--r--app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.64.ebuild36
-rw-r--r--app-text/docbook-dsssl-stylesheets/files/digest-docbook-dsssl-stylesheets-1.641
-rw-r--r--app-text/docbook-dsssl-stylesheets/files/docbook-dsssl-stylesheets-1.64.Makefile28
3 files changed, 65 insertions, 0 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
new file mode 100644
index 000000000000..4bb8e94f99bb
--- /dev/null
+++ b/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.64.ebuild
@@ -0,0 +1,36 @@
+# 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 $
+
+A="db164.zip"
+S=${WORKDIR}/docbook
+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"
+
+src_unpack() {
+
+ unpack ${A}
+ cp ${FILESDIR}/${P}.Makefile ${S}/Makefile
+
+}
+
+src_install () {
+
+ try make DESTDIR=${D}/usr/share/sgml/docbook/dsssl-stylesheets-${PV} install
+
+}
+
+pkg_postinst() {
+ 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
+}
+
+pkg_prerm() {
+ 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
+}
diff --git a/app-text/docbook-dsssl-stylesheets/files/digest-docbook-dsssl-stylesheets-1.64 b/app-text/docbook-dsssl-stylesheets/files/digest-docbook-dsssl-stylesheets-1.64
new file mode 100644
index 000000000000..d4096685143c
--- /dev/null
+++ b/app-text/docbook-dsssl-stylesheets/files/digest-docbook-dsssl-stylesheets-1.64
@@ -0,0 +1 @@
+MD5 07a93d468ddf2efca1d2aa92132b38bf db164.zip
diff --git a/app-text/docbook-dsssl-stylesheets/files/docbook-dsssl-stylesheets-1.64.Makefile b/app-text/docbook-dsssl-stylesheets/files/docbook-dsssl-stylesheets-1.64.Makefile
new file mode 100644
index 000000000000..128c26bb914c
--- /dev/null
+++ b/app-text/docbook-dsssl-stylesheets/files/docbook-dsssl-stylesheets-1.64.Makefile
@@ -0,0 +1,28 @@
+BINDIR = /usr/bin
+DESTDIR = /usr/share/sgml/docbook/dsssl-stylesheets-1.64
+
+all: install
+
+install:
+ mkdir -p $(BINDIR)
+ mkdir -p $(DESTDIR)/dtds/decls
+ mkdir -p $(DESTDIR)/lib
+ mkdir -p $(DESTDIR)/common
+ mkdir -p $(DESTDIR)/html
+ mkdir -p $(DESTDIR)/print
+ mkdir -p $(DESTDIR)/test
+ mkdir -p $(DESTDIR)/images
+ install bin/collateindex.pl $(BINDIR)
+ cp catalog $(DESTDIR)
+ cp VERSION $(DESTDIR)
+ cp dtds/decls/docbook.dcl $(DESTDIR)/dtds/decls
+ cp lib/dblib.dsl $(DESTDIR)/lib
+ cp common/*.dsl $(DESTDIR)/common
+ cp common/*.ent $(DESTDIR)/common
+ cp html/*.dsl $(DESTDIR)/html
+ cp lib/*.dsl $(DESTDIR)/lib
+ cp print/*.dsl $(DESTDIR)/print
+ cp test/*.dsl $(DESTDIR)/test
+ cp test/*.sgm $(DESTDIR)/test
+ cp test/*.css $(DESTDIR)/test
+ cp images/*.gif $(DESTDIR)/images