summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-06-28 15:00:42 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-06-28 15:00:42 +0000
commitbf6de9323cd9caaabd0d58a40c61cd00727e57b6 (patch)
treed253bf820c3bad233303745c479b94cf7f778792 /app-text/openjade
parentsmall fix0r (diff)
downloadgentoo-2-bf6de9323cd9caaabd0d58a40c61cd00727e57b6.tar.gz
gentoo-2-bf6de9323cd9caaabd0d58a40c61cd00727e57b6.tar.bz2
gentoo-2-bf6de9323cd9caaabd0d58a40c61cd00727e57b6.zip
small fix0rs
Diffstat (limited to 'app-text/openjade')
-rw-r--r--app-text/openjade/ChangeLog13
-rw-r--r--app-text/openjade/files/digest-openjade-1.3.1-r41
-rw-r--r--app-text/openjade/openjade-1.3.1-r4.ebuild113
3 files changed, 125 insertions, 2 deletions
diff --git a/app-text/openjade/ChangeLog b/app-text/openjade/ChangeLog
index 13c2f17dcd95..0ce44b18a74a 100644
--- a/app-text/openjade/ChangeLog
+++ b/app-text/openjade/ChangeLog
@@ -1,8 +1,17 @@
# ChangeLog for app-text/openjade
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-text/openjade/ChangeLog,v 1.7 2002/06/28 11:50:03 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/openjade/ChangeLog,v 1.8 2002/06/28 15:00:42 seemant Exp $
-*openjade-1.3.1-r2 (28 Jun 2002)
+*openjade-1.3.1-r4 (28 Jun 2002)
+
+ 28 Jun 2002; Seemant Kulleen <seemant@gentoo.org> openjade-1.3.1-r4.ebuild
+ files/digest-openjade-1.3.1-r4 :
+
+ header files go in a flat /usr/include/OpenSP instead of into a hierarchy
+ of subdirectories. This is consistent with Mandrake's src.rpm as well.
+ Thanks again to Peter Simons. Bug #3994 closed.
+
+*openjade-1.3.1-r3 (28 Jun 2002)
28 Jun 2002; Seemant Kulleen <seemant@gentoo.org> openjade-1.3.1-r3.ebuild
files/digest-openjade-1.3.1-r3 :
diff --git a/app-text/openjade/files/digest-openjade-1.3.1-r4 b/app-text/openjade/files/digest-openjade-1.3.1-r4
new file mode 100644
index 000000000000..06187d8bce59
--- /dev/null
+++ b/app-text/openjade/files/digest-openjade-1.3.1-r4
@@ -0,0 +1 @@
+MD5 c453a50001de6cdf132d85ecfb99a0f9 openjade-1.3.1.tar.gz 1397606
diff --git a/app-text/openjade/openjade-1.3.1-r4.ebuild b/app-text/openjade/openjade-1.3.1-r4.ebuild
new file mode 100644
index 000000000000..ff6b050c7db5
--- /dev/null
+++ b/app-text/openjade/openjade-1.3.1-r4.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/app-text/openjade/openjade-1.3.1-r4.ebuild,v 1.1 2002/06/28 15:00:42 seemant Exp $
+
+inherit libtool
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Jade is an implemetation of DSSSL - an ISO standard for formatting SGML and XML documents"
+SRC_URI="http://download.sourceforge.net/openjade/${P}.tar.gz"
+HOMEPAGE="http://openjade.sourceforge.net"
+SLOT=""
+LICENSE="as-is"
+
+DEPEND="virtual/glibc
+ sys-devel/perl"
+
+RDEPEND="virtual/glibc
+ app-text/sgml-common"
+
+
+src_compile() {
+
+ ln -s config/configure.in configure.in
+ elibtoolize
+
+ SGML_PREFIX=/usr/share/sgml
+
+ econf \
+ --enable-http \
+ --enable-default-catalog=/etc/sgml/catalog \
+ --enable-default-search-path=/usr/share/sgml \
+ --datadir=/usr/share/sgml/${P} || die
+
+ make || die
+}
+
+src_install() {
+
+ dodir /usr
+ dodir /usr/lib
+ make prefix=${D}/usr \
+ datadir=${D}/usr/share/sgml/${P} \
+ install || die
+
+ dosym openjade /usr/bin/jade
+ dosym onsgmls /usr/bin/nsgmls
+ dosym osgmlnorm /usr/bin/sgmlnorm
+ dosym ospam /usr/bin/spam
+ dosym ospent /usr/bin/spent
+ dosym osx /usr/bin/sgml2xml
+
+ SPINCDIR="/usr/include/OpenSP"
+ insinto ${SPINCDIR}
+ doins generic/*.h
+
+ insinto ${SPINCDIR}
+ doins include/*.h
+
+ insinto ${SPINCDIR}
+ doins lib/*.h
+
+ insinto /usr/share/sgml/${P}/
+ doins dsssl/builtins.dsl
+
+ echo 'SYSTEM "builtins.dsl" "builtins.dsl"' > ${D}/usr/share/sgml/${P}/catalog
+ insinto /usr/share/sgml/${P}/dsssl
+ doins dsssl/{dsssl.dtd,style-sheet.dtd,fot.dtd}
+ newins ${FILESDIR}/${P}.dsssl-catalog catalog
+# Breaks sgml2xml among other things
+# insinto /usr/share/sgml/${P}/unicode
+# doins unicode/{catalog,unicode.sd,unicode.syn,gensyntax.pl}
+ insinto /usr/share/sgml/${P}/pubtext
+ doins pubtext/*
+
+ dodoc COPYING NEWS README VERSION
+ docinto html/doc
+ dodoc doc/*.htm
+ docinto html/jadedoc
+ dodoc jadedoc/*.htm
+ docinto html/jadedoc/images
+ dodoc jadedoc/images/*
+
+}
+
+pkg_postinst() {
+ if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ] ; then
+ install-catalog --add /etc/sgml/${P}.cat /usr/share/sgml/openjade-${PV}/catalog
+ install-catalog --add /etc/sgml/${P}.cat /usr/share/sgml/openjade-${PV}/dsssl/catalog
+# install-catalog --add /etc/sgml/${P}.cat /usr/share/sgml/openjade-${PV}/unicode/catalog
+ install-catalog --add /etc/sgml/sgml-docbook.cat /etc/sgml/${P}.cat
+ fi
+}
+
+pkg_postrm() {
+ if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ] ; then
+ if [ ! -e /usr/share/sgml/openjade-${PV}/catalog ] && \
+ [ -e /etc/sgml/${P}.cat ] ; then
+ install-catalog --remove /etc/sgml/${P}.cat /usr/share/sgml/openjade-${PV}/catalog
+ fi
+ if [ ! -e /usr/share/sgml/openjade-${PV}/dsssl/catalog ] && \
+ [ -e /etc/sgml/${P}.cat ] ; then
+ install-catalog --remove /etc/sgml/${P}.cat /usr/share/sgml/openjade-${PV}/dsssl/catalog
+ fi
+ if [ ! -e /usr/share/sgml/openjade-${PV}/unicode/catalog ] && \
+ [ -e /etc/sgml/${P}.cat ] ; then
+ install-catalog --remove /etc/sgml/${P}.cat /usr/share/sgml/openjade-${PV}/unicode/catalog
+ fi
+ if [ ! -e /etc/sgml/${P}.cat ] ; then
+ install-catalog --remove /etc/sgml/sgml-docbook.cat /etc/sgml/${P}.cat
+ fi
+ fi
+}
+