summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2001-07-31 20:28:50 +0000
committerDan Armak <danarmak@gentoo.org>2001-07-31 20:28:50 +0000
commitb448a007dbe40d7f1470b0ad4ee07135929d662c (patch)
treeb1dedda68c3080a3ff8b408b107f4aca07cdd737 /app-text
parentnmh 1.0.4 checked in (diff)
downloadgentoo-2-b448a007dbe40d7f1470b0ad4ee07135929d662c.tar.gz
gentoo-2-b448a007dbe40d7f1470b0ad4ee07135929d662c.tar.bz2
gentoo-2-b448a007dbe40d7f1470b0ad4ee07135929d662c.zip
sgmltools-lite, sgml converters used by lyx
Diffstat (limited to 'app-text')
-rw-r--r--app-text/sgmltools-lite/files/digest-sgmltools-lite-3.0.32
-rw-r--r--app-text/sgmltools-lite/files/sgmltools-lite-3.0.3-gentoo.diff23
-rw-r--r--app-text/sgmltools-lite/sgmltools-lite-3.0.3.ebuild58
3 files changed, 83 insertions, 0 deletions
diff --git a/app-text/sgmltools-lite/files/digest-sgmltools-lite-3.0.3 b/app-text/sgmltools-lite/files/digest-sgmltools-lite-3.0.3
new file mode 100644
index 000000000000..c873aa1dceaf
--- /dev/null
+++ b/app-text/sgmltools-lite/files/digest-sgmltools-lite-3.0.3
@@ -0,0 +1,2 @@
+MD5 d1faad065777a538ac09691761577b26 nw-eps-icons-0.0.1.tar.gz
+MD5 dab77d3d751ca381a95ccebd88480a85 sgmltools-lite-3.0.3.tar.gz
diff --git a/app-text/sgmltools-lite/files/sgmltools-lite-3.0.3-gentoo.diff b/app-text/sgmltools-lite/files/sgmltools-lite-3.0.3-gentoo.diff
new file mode 100644
index 000000000000..87439c17de9d
--- /dev/null
+++ b/app-text/sgmltools-lite/files/sgmltools-lite-3.0.3-gentoo.diff
@@ -0,0 +1,23 @@
+--- Makefile.in.orig Tue Apr 24 21:37:22 2001
++++ Makefile.in Tue Jul 31 22:57:37 2001
+@@ -20,17 +20,17 @@
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+-prefix=@prefix@
++prefix=${DESTDIR}/@prefix@
+ exec_prefix=@exec_prefix@
+ bindir=@bindir@
+ datadir=@datadir@
+ SHAREDIR=$(datadir)/sgml
+ stylesheets=$(SHAREDIR)/stylesheets/sgmltools
+ dtds=$(SHAREDIR)/dtd/sgmltools
+-DOCDIR=@prefix@/doc
++DOCDIR=${DESTDIR}/@prefix@/doc
+ mandir=@mandir@
+ sysconfdir=@sysconfdir@
+-etcdir=@etcsgml@
++etcdir=${DESTDIR}/@etcsgml@
+ PERL=@PERL@
+ INSTALL=@INSTALL@
+ INSTALL_PROGRAM=@INSTALL_PROGRAM@
diff --git a/app-text/sgmltools-lite/sgmltools-lite-3.0.3.ebuild b/app-text/sgmltools-lite/sgmltools-lite-3.0.3.ebuild
new file mode 100644
index 000000000000..2c4fb52b9090
--- /dev/null
+++ b/app-text/sgmltools-lite/sgmltools-lite-3.0.3.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2001 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.ebuild,v 1.1 2001/07/31 20:28:50 danarmak Exp $
+
+S=${WORKDIR}/${P}
+SRC_URI="prdownloads.sourceforge.net/sgmltools-lite/${P}.tar.gz
+ prdownloads.sourceforge.net/sgmltools-lite/nw-eps-icons-0.0.1.tar.gz"
+
+HOMEPAGE="sgmltools-lite.sourceforge.net"
+DESCRIPTION=""
+
+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"
+
+src_unpack() {
+
+ cd ${WORKDIR}
+ unpack ${P}.tar.gz
+ cd ${S}
+ unpack nw-eps-icons-0.0.1.tar.gz
+ patch -p0 <${FILESDIR}/${P}-gentoo.diff
+
+}
+
+src_compile() {
+
+ try ./configure --prefix=/usr
+
+ try make
+
+}
+
+src_install () {
+
+ try make DESTDIR=${D} install
+
+ cd ${S}/bin
+ chmod a+x ./gensgmlenv
+ ./gensgmlenv
+ cd /etc/sgml
+ dodir /etc/env.d
+ cat sgml.env | grep = > ${D}/etc/env.d/93sgmltools-lite
+ rm sgml.env sgml.cenv
+
+ cd ${S}/nw-eps-icons-0.0.1/images
+ insinto /usr/share/sgml/docbook/dsssl-stylesheets/images
+ doins *.eps
+ insinto /usr/share/sgml/docbook/dsssl-stylesheets/images/callouts
+ cd callouts
+ doins *.eps
+
+}
+