diff options
author | Geert Bevin <gbevin@gentoo.org> | 2002-04-06 13:06:18 +0000 |
---|---|---|
committer | Geert Bevin <gbevin@gentoo.org> | 2002-04-06 13:06:18 +0000 |
commit | bb482e492a0e191a38942c0165e002096102a7af (patch) | |
tree | 0672630f1447f9a1a373face6634c1179556affe | |
parent | minor fix to lilo.conf (diff) | |
download | gentoo-2-bb482e492a0e191a38942c0165e002096102a7af.tar.gz gentoo-2-bb482e492a0e191a38942c0165e002096102a7af.tar.bz2 gentoo-2-bb482e492a0e191a38942c0165e002096102a7af.zip |
upgrade to openjade 1.3.1
-rw-r--r-- | app-text/openjade/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/openjade/files/digest-openjade-1.3.1 | 1 | ||||
-rw-r--r-- | app-text/openjade/files/openjade-1.3.1.dsssl-catalog | 4 | ||||
-rw-r--r-- | app-text/openjade/openjade-1.3.1.ebuild | 96 |
4 files changed, 108 insertions, 1 deletions
diff --git a/app-text/openjade/ChangeLog b/app-text/openjade/ChangeLog index a2235a479550..74b262458af0 100644 --- a/app-text/openjade/ChangeLog +++ b/app-text/openjade/ChangeLog @@ -1,6 +1,12 @@ # 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.2 2002/03/21 13:50:42 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/openjade/ChangeLog,v 1.3 2002/04/06 13:06:18 gbevin Exp $ + +*openjade-1.3.1 (06 Apr 2002) + + 06 Apr 2002; Geert Bevin <gbevin@gentoo.org> openjade-1.3.1.ebuild + + Version upgrade, this version is compatible with gcc 3. *openjade-1.3-r2 (21 Mar 2002) diff --git a/app-text/openjade/files/digest-openjade-1.3.1 b/app-text/openjade/files/digest-openjade-1.3.1 new file mode 100644 index 000000000000..06187d8bce59 --- /dev/null +++ b/app-text/openjade/files/digest-openjade-1.3.1 @@ -0,0 +1 @@ +MD5 c453a50001de6cdf132d85ecfb99a0f9 openjade-1.3.1.tar.gz 1397606 diff --git a/app-text/openjade/files/openjade-1.3.1.dsssl-catalog b/app-text/openjade/files/openjade-1.3.1.dsssl-catalog new file mode 100644 index 000000000000..11bc0425afe0 --- /dev/null +++ b/app-text/openjade/files/openjade-1.3.1.dsssl-catalog @@ -0,0 +1,4 @@ +PUBLIC "-//James Clark//DTD DSSSL Flow Object Tree//EN" "fot.dtd" +PUBLIC "ISO/IEC 10179:1996//DTD DSSSL Architecture//EN" "dsssl.dtd" +PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" "style-sheet.dtd" +PUBLIC "-//OpenJade//DTD DSSSL Style Sheet//EN" "style-sheet.dtd" diff --git a/app-text/openjade/openjade-1.3.1.ebuild b/app-text/openjade/openjade-1.3.1.ebuild new file mode 100644 index 000000000000..9f2a1c9a3af5 --- /dev/null +++ b/app-text/openjade/openjade-1.3.1.ebuild @@ -0,0 +1,96 @@ +# 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/openjade/openjade-1.3.1.ebuild,v 1.1 2002/04/06 13:06:18 gbevin Exp $ + +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" + +DEPEND="virtual/glibc + sys-devel/perl" + +RDEPEND="virtual/glibc + app-text/sgml-common" + + +src_compile() { + + SGML_PREFIX=/usr/share/sgml + + ./configure --host=${CHOST} \ + --prefix=/usr \ + --enable-http \ + --enable-default-catalog=/etc/sgml/catalog \ + --enable-default-search-path=/usr/share/sgml \ + --datadir=/usr/share/sgml/${P} + assert + + 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 + + insinto /usr/include/sp/generic + doins generic/*.h + + insinto /usr/include/sp/include + doins include/*.h + + insinto /usr/include/sp/lib + 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 +# insinto /usr/share/sgml/${P}/unicode +# doins unicode/{catalog,unicode.sd,unicode.syn} + 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-1.3/catalog + install-catalog --add /etc/sgml/${P}.cat /usr/share/sgml/openjade-1.3/dsssl/catalog + install-catalog --add /etc/sgml/${P}.cat /usr/share/sgml/openjade-1.3/unicode/catalog + install-catalog --add /etc/sgml/sgml-docbook.cat /etc/sgml/${P}.cat + fi +} + +#pkg_prerm() { +# if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ] ; then + +# install-catalog --remove /etc/sgml/${P}.cat /usr/share/sgml/openjade-1.3/catalog +# install-catalog --remove /etc/sgml/${P}.cat /usr/share/sgml/openjade-1.3/dsssl/catalog +# install-catalog --remove /etc/sgml/${P}.cat /usr/share/sgml/openjade-1.3/unicode/catalog +# install-catalog --add /etc/sgml/sgml-docbook.cat /etc/sgml/${P}.cat + +# fi +#} + + |