summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Boshell <leonardop@gentoo.org>2007-03-12 23:29:48 +0000
committerLeonardo Boshell <leonardop@gentoo.org>2007-03-12 23:29:48 +0000
commit9c46824346e0959d1667e03411e4dc76266f8882 (patch)
treecf2519b0837cae41b4459cb0403ae945d7f23a45 /app-text/sgmltools-lite/sgmltools-lite-3.0.3-r7.ebuild
parentReplaced text-markup by tex (text-markup split). (diff)
downloadhistorical-9c46824346e0959d1667e03411e4dc76266f8882.tar.gz
historical-9c46824346e0959d1667e03411e4dc76266f8882.tar.bz2
historical-9c46824346e0959d1667e03411e4dc76266f8882.zip
Replacing text-markup herd with the new sgml herd.
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'app-text/sgmltools-lite/sgmltools-lite-3.0.3-r7.ebuild')
-rw-r--r--app-text/sgmltools-lite/sgmltools-lite-3.0.3-r7.ebuild78
1 files changed, 0 insertions, 78 deletions
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
deleted file mode 100644
index ed83df246fd2..000000000000
--- a/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r7.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# 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.16 2006/03/16 14:21:59 ehmsen Exp $
-
-inherit sgml-catalog
-
-DESCRIPTION="Python interface to SGML software in a DocBook/OpenJade env"
-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"
-KEYWORDS="alpha arm amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
-IUSE="tetex"
-
-DEPEND="virtual/python
- app-text/sgml-common
- ~app-text/docbook-sgml-dtd-3.1
- app-text/docbook-dsssl-stylesheets
- app-text/openjade
- www-client/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 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"