diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-03-31 13:43:05 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-03-31 13:43:05 +0000 |
commit | 98449b527a7fbe33bfd9e197acc74fb9c8a6743a (patch) | |
tree | 9b241ef956ba7aa63df815e0a5bc8550e68a3b7a /app-text/sgmltools-lite | |
parent | New ebuild for sgmltools-lite masked until testing (diff) | |
download | gentoo-2-98449b527a7fbe33bfd9e197acc74fb9c8a6743a.tar.gz gentoo-2-98449b527a7fbe33bfd9e197acc74fb9c8a6743a.tar.bz2 gentoo-2-98449b527a7fbe33bfd9e197acc74fb9c8a6743a.zip |
symlinks and shell scripts added for backwards compatibility to the original SGMLtools
Diffstat (limited to 'app-text/sgmltools-lite')
-rw-r--r-- | app-text/sgmltools-lite/ChangeLog | 11 | ||||
-rw-r--r-- | app-text/sgmltools-lite/files/digest-sgmltools-lite-3.0.3-r4 | 2 | ||||
-rw-r--r-- | app-text/sgmltools-lite/sgmltools-lite-3.0.3-r4.ebuild | 78 |
3 files changed, 90 insertions, 1 deletions
diff --git a/app-text/sgmltools-lite/ChangeLog b/app-text/sgmltools-lite/ChangeLog index 6eb4cad1b3b6..70f7cfce8241 100644 --- a/app-text/sgmltools-lite/ChangeLog +++ b/app-text/sgmltools-lite/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for app-text/sgmltools-lite # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/ChangeLog,v 1.4 2002/03/31 12:26:38 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/ChangeLog,v 1.5 2002/03/31 13:43:04 seemant Exp $ + +*sgmltools-lite-3.0.3-r4 (31 Mar 2002) + + 31 Mar 2002; Seemant Kulleen <seemant@gentoo.org> sgmltools-lite-3.0.3-r4.ebuild : + + This addresses bug # 1163. However, there are no symlinks being created for + the binary. Instead, a mini shell script is created to call the + sgmltools binary with the appropriate flag. Symlinks, however, are created + for the man pages for the 5 extra binaries. *sgmltools-lite-3.0.3-r3 (31 Mar 2002) diff --git a/app-text/sgmltools-lite/files/digest-sgmltools-lite-3.0.3-r4 b/app-text/sgmltools-lite/files/digest-sgmltools-lite-3.0.3-r4 new file mode 100644 index 000000000000..caf2a88ba3cb --- /dev/null +++ b/app-text/sgmltools-lite/files/digest-sgmltools-lite-3.0.3-r4 @@ -0,0 +1,2 @@ +MD5 dab77d3d751ca381a95ccebd88480a85 sgmltools-lite-3.0.3.tar.gz 61342 +MD5 d1faad065777a538ac09691761577b26 nw-eps-icons-0.0.1.tar.gz 8733 diff --git a/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r4.ebuild b/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r4.ebuild new file mode 100644 index 000000000000..1f80d0ebf3eb --- /dev/null +++ b/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r4.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Dan Armak <danarmak@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r4.ebuild,v 1.1 2002/03/31 13:43:05 seemant Exp $ + +S=${WORKDIR}/${P} +SRC_URI="http://prdownloads.sourceforge.net/sgmltools-lite/${P}.tar.gz + http://prdownloads.sourceforge.net/sgmltools-lite/nw-eps-icons-0.0.1.tar.gz" +HOMEPAGE="sgmltools-lite.sourceforge.net" +DESCRIPTION="Python interface to SGML software specificially in a DocBook/OpenJade environment. Provides sgml2{html,txt,rtf,dvi,ps}" + +DEPEND="virtual/python + app-text/sgml-common + =app-text/docbook-sgml-dtd-3.1 + app-text/docbook-dsssl-stylesheets + app-text/jadetex + app-text/openjade + net-www/lynx" + +src_compile() { + ./configure \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --datadir=/usr/share \ + --mandir=/usr/share/man || die + + make || die +} + +src_install() { + make \ + prefix=${D}/usr \ + exec-prefix=${D}/usr \ + datadir=${D}/usr/share \ + bindir=${D}/usr/bin \ + sysconfdir=${D}/etc \ + mandir=${D}/usr/share/man \ + etcdir=${D}/etc/sgml \ + install || die + + dodoc COPYING ChangeLog POSTINSTALL README* + dohtml -r . + + cd ${WORKDIR}/nw-eps-icons-0.0.1/images + insinto /usr/share/sgml/docbook/dsssl-stylesheets/images + doins *.eps + + cd callouts + insinto /usr/share/sgml/docbook/dsssl-stylesheets/images/callouts + doins *.eps + + rm ${D}/etc/sgml/catalog.{suse,rh62} + + # Create simple alias scripts that people are used to + # And make the manpages for those link to the sgmltools-lite manpage + mandir=${D}/usr/share/man/man1 + ScripTEXT="/usr/bin/sgmltools --backend=" + for back in html ps dvi rtf txt + do + echo "${ScripTEXT}${back}" > sgml2${back} + exeinto /usr/bin + doexe sgml2${back} + + cd ${mandir} + ln -sf sgmltools-lite.1.gz sgml2${back}.1.gz + cd ${S} + done + + +} + +pkg_postinst() { + + gensgmlenv + grep -v export /etc/sgml/sgml.env > /etc/env.d/93sgmltools-lite +} |