summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gardiner <obz@gentoo.org>2003-11-23 04:59:47 +0000
committerMike Gardiner <obz@gentoo.org>2003-11-23 04:59:47 +0000
commitecc296ab9cf0fd1a451aff298ec0837d4bc6562c (patch)
tree446d875bd3a51defcd203bb2f4ec4fcbc8be53d1 /app-text/sgmltools-lite
parentNew revision, respects USE=tetex (diff)
downloadgentoo-2-ecc296ab9cf0fd1a451aff298ec0837d4bc6562c.tar.gz
gentoo-2-ecc296ab9cf0fd1a451aff298ec0837d4bc6562c.tar.bz2
gentoo-2-ecc296ab9cf0fd1a451aff298ec0837d4bc6562c.zip
New revision, respects USE=tetex
Diffstat (limited to 'app-text/sgmltools-lite')
-rw-r--r--app-text/sgmltools-lite/ChangeLog8
-rw-r--r--app-text/sgmltools-lite/Manifest4
-rw-r--r--app-text/sgmltools-lite/files/digest-sgmltools-lite-3.0.3-r72
-rw-r--r--app-text/sgmltools-lite/sgmltools-lite-3.0.3-r7.ebuild79
4 files changed, 90 insertions, 3 deletions
diff --git a/app-text/sgmltools-lite/ChangeLog b/app-text/sgmltools-lite/ChangeLog
index c0a65469d430..86158f52d37d 100644
--- a/app-text/sgmltools-lite/ChangeLog
+++ b/app-text/sgmltools-lite/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/sgmltools-lite
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/ChangeLog,v 1.20 2003/11/16 18:06:46 brad_mssw Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/ChangeLog,v 1.21 2003/11/23 04:59:32 obz Exp $
+
+*sgmltools-lite-3.0.3-r7 (23 Nov 2003)
+
+ 23 Nov 2003; Mike Gardiner <obz@gentoo.org> sgmltools-lite-3.0.3-r7.ebuild:
+ New revision which allows tex support to be enabled by the USE='tetex'
+ setting. Cleaned up to use econf/emake/einstall.
16 Nov 2003; Brad House <brad_mssw@gentoo.org>
sgmltools-lite-3.0.3-r6.ebuild:
diff --git a/app-text/sgmltools-lite/Manifest b/app-text/sgmltools-lite/Manifest
index f1378c6b03c6..8572f9fac11a 100644
--- a/app-text/sgmltools-lite/Manifest
+++ b/app-text/sgmltools-lite/Manifest
@@ -1,7 +1,7 @@
MD5 8ada68fd6605b90f67ff0ce89e7f948b sgmltools-lite-3.0.3-r6.ebuild 2192
-MD5 446c245e2b04925f5620c67f4969b55d ChangeLog 4392
+MD5 2898bee5e4ad0a13b363765c69362c07 ChangeLog 4629
MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164
-MD5 e00a89574b1ca25bbdc0599e173156b4 sgmltools-lite-3.0.3-r7.ebuild 1984
+MD5 4fc84b12fd605027910ca56774c07f18 sgmltools-lite-3.0.3-r7.ebuild 2097
MD5 4068e19bd2400f18c7b90fc071c31619 files/digest-sgmltools-lite-3.0.3-r6 139
MD5 4068e19bd2400f18c7b90fc071c31619 files/digest-sgmltools-lite-3.0.3-r7 139
MD5 5a72138dcb78d9d707c734eaf04d248b files/sgmltools-lite-3.0.3-gentoo.diff 679
diff --git a/app-text/sgmltools-lite/files/digest-sgmltools-lite-3.0.3-r7 b/app-text/sgmltools-lite/files/digest-sgmltools-lite-3.0.3-r7
new file mode 100644
index 000000000000..caf2a88ba3cb
--- /dev/null
+++ b/app-text/sgmltools-lite/files/digest-sgmltools-lite-3.0.3-r7
@@ -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-r7.ebuild b/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r7.ebuild
new file mode 100644
index 000000000000..5a383d438d02
--- /dev/null
+++ b/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r7.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r7.ebuild,v 1.1 2003/11/23 04:59:32 obz Exp $
+
+inherit sgml-catalog
+
+DESCRIPTION="Python interface to SGML software specificially in a
+DocBook/OpenJade environment. Provides sgml2{html,txt,rtf,dvi,ps}"
+HOMEPAGE="http://sgmltools-lite.sourceforge.net/"
+SRC_URI="mirror://sourceforge/sgmltools-lite/${P}.tar.gz
+ mirror://sourceforge/sgmltools-lite/nw-eps-icons-0.0.1.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+IUSE="tetex"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64"
+
+DEPEND="virtual/python
+ app-text/sgml-common
+ =app-text/docbook-sgml-dtd-3.1-r1
+ app-text/docbook-dsssl-stylesheets
+ app-text/openjade
+ net-www/lynx
+ tetex? ( app-text/jadetex )"
+
+src_compile() {
+
+ econf || die
+ emake || die
+
+ #remove CVS directories from the tree
+ find . -name CVS | xargs rm -rf
+
+}
+
+src_install() {
+
+ einstall etcdir=${D}/etc/sgml || 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}
+
+ # Remove the backends that require tetex
+ use tetex || \
+ rm ${D}/usr/share/sgml/misc/sgmltools/python/backends/{Dvi,Ps,Pdf,JadeTeX}.py
+
+ # The list of backends to alias with sgml2*
+ BACKENDS="html rtf txt"
+ use tetex && BACKENDS="${BACKENDS} ps dvi pdf"
+
+ # 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="#!/bin/sh\n/usr/bin/sgmltools --backend="
+ for back in ${BACKENDS}
+ do
+ echo -e ${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
+
+}
+
+sgml-catalog_cat_include "/etc/sgml/sgml-lite.cat" \
+ "/usr/share/sgml/stylesheets/sgmltools/sgmltools.cat"