summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/docbook-dsssl-stylesheets')
-rw-r--r--app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.77-r2.ebuild56
-rw-r--r--app-text/docbook-dsssl-stylesheets/files/digest-docbook-dsssl-stylesheets-1.77-r21
2 files changed, 57 insertions, 0 deletions
diff --git a/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.77-r2.ebuild b/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.77-r2.ebuild
new file mode 100644
index 000000000000..b54da29e3eac
--- /dev/null
+++ b/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.77-r2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.77-r2.ebuild,v 1.1 2003/02/08 03:05:41 satai Exp $
+
+inherit sgml-catalog
+
+MY_P=${P/-stylesheets/}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="DSSSL Stylesheets for DocBook."
+SRC_URI="mirror://sourceforge/docbook/${MY_P}.tar.gz"
+HOMEPAGE="http://www.sourceforge.net/docbook/"
+
+RDEPEND="app-text/sgml-common"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+
+sgml-catalog_cat_include "/etc/sgml/dsssl-docbook-stylesheets.cat" \
+ "/usr/share/sgml/docbook/dsssl-stylesheets-${PV}/catalog"
+sgml-catalog_cat_include "/etc/sgml/sgml-docbook.cat" \
+ "/etc/sgml/dsssl-docbook-stylesheets.cat"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ cp ${FILESDIR}/${P}.Makefile Makefile
+}
+
+src_compile() {
+ dummy="dummy"
+}
+
+src_install () {
+
+ make \
+ BINDIR="${D}/usr/bin" \
+ DESTDIR="${D}/usr/share/sgml/docbook/dsssl-stylesheets-${PV}" \
+ install || die
+
+ dodir /usr/share/sgml/stylesheets/dsssl/
+
+ if [ -d /usr/share/sgml/stylesheets/dsssl/docbook ] &&
+ [ ! -L /usr/share/sgml/stylesheets/dsssl/docbook ]
+ then
+ ewarn "Not linking /usr/share/sgml/stylesheets/dsssl/docbook to"
+ ewarn "/usr/share/sgml/docbook/dsssl-stylesheets-${PV}"
+ ewarn "as directory already exists there. Will assume you know"
+ ewarn "what you're doing."
+ return 0
+ fi
+
+ dosym /usr/share/sgml/docbook/dsssl-stylesheets-${PV} \
+ /usr/share/sgml/stylesheets/dsssl/docbook
+
+}
diff --git a/app-text/docbook-dsssl-stylesheets/files/digest-docbook-dsssl-stylesheets-1.77-r2 b/app-text/docbook-dsssl-stylesheets/files/digest-docbook-dsssl-stylesheets-1.77-r2
new file mode 100644
index 000000000000..b763b050b291
--- /dev/null
+++ b/app-text/docbook-dsssl-stylesheets/files/digest-docbook-dsssl-stylesheets-1.77-r2
@@ -0,0 +1 @@
+MD5 91da3583b364cd5606b2b02e6fdd97fc docbook-dsssl-1.77.tar.gz 394813