diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-04-23 18:41:02 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-04-23 18:41:02 +0000 |
commit | 435720a2c346bf1beb5580f9dfc2d4ecc4627571 (patch) | |
tree | df802f33f0fd57e8dc4dd9609024ee31334c4b61 /app-text/openjade | |
parent | Fixes some makefile issues (#1988) (diff) | |
download | gentoo-2-435720a2c346bf1beb5580f9dfc2d4ecc4627571.tar.gz gentoo-2-435720a2c346bf1beb5580f9dfc2d4ecc4627571.tar.bz2 gentoo-2-435720a2c346bf1beb5580f9dfc2d4ecc4627571.zip |
remove unicode catalog
Diffstat (limited to 'app-text/openjade')
-rw-r--r-- | app-text/openjade/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/openjade/files/digest-openjade-1.3.1-r2 | 1 | ||||
-rw-r--r-- | app-text/openjade/openjade-1.3.1-r2.ebuild | 113 |
3 files changed, 121 insertions, 1 deletions
diff --git a/app-text/openjade/ChangeLog b/app-text/openjade/ChangeLog index f3b058a759e2..0905ea63b7e1 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.5 2002/04/07 22:11:40 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/openjade/ChangeLog,v 1.6 2002/04/23 18:41:02 azarah Exp $ + +*openjade-1.3.1-r2 (23 Apr 2002) + + 23 Apr 2002; M.Schlemmer <azarah@gentoo.org> openjade-1.3.1-r2.ebuild : + + Removed the unicode catalog again, as it breaks sgml2xml among things. *openjade-1.3.1-r1 (06 Apr 2002) diff --git a/app-text/openjade/files/digest-openjade-1.3.1-r2 b/app-text/openjade/files/digest-openjade-1.3.1-r2 new file mode 100644 index 000000000000..06187d8bce59 --- /dev/null +++ b/app-text/openjade/files/digest-openjade-1.3.1-r2 @@ -0,0 +1 @@ +MD5 c453a50001de6cdf132d85ecfb99a0f9 openjade-1.3.1.tar.gz 1397606 diff --git a/app-text/openjade/openjade-1.3.1-r2.ebuild b/app-text/openjade/openjade-1.3.1-r2.ebuild new file mode 100644 index 000000000000..ce43847193ab --- /dev/null +++ b/app-text/openjade/openjade-1.3.1-r2.ebuild @@ -0,0 +1,113 @@ +# 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/openjade/openjade-1.3.1-r2.ebuild,v 1.1 2002/04/23 18:41:02 azarah 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() { + + #real weird setup here. we need to libtoolize to fix .la files. + # + #Azarah -- (7 April 2002) + ln -s config/configure.in configure.in + libtoolize --copy --force + + 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} || 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 + + 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 +# 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 +} + |