summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Turk <satai@gentoo.org>2003-07-01 03:14:42 +0000
committerMatthew Turk <satai@gentoo.org>2003-07-01 03:14:42 +0000
commit40f643baf15fc4862f27df33fd8efea9b40d969f (patch)
tree3ae08c941f347f2671a138bc6edab57a0567a1b6 /dev-tex
parentInitial import, bug #15943. (diff)
downloadhistorical-40f643baf15fc4862f27df33fd8efea9b40d969f.tar.gz
historical-40f643baf15fc4862f27df33fd8efea9b40d969f.tar.bz2
historical-40f643baf15fc4862f27df33fd8efea9b40d969f.zip
Initial import, bug #15943.
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/detex/Manifest3
-rw-r--r--dev-tex/detex/detex-2.7.ebuild35
-rw-r--r--dev-tex/detex/files/digest-detex-2.71
3 files changed, 38 insertions, 1 deletions
diff --git a/dev-tex/detex/Manifest b/dev-tex/detex/Manifest
index 72d84c7cf82b..884c2aace672 100644
--- a/dev-tex/detex/Manifest
+++ b/dev-tex/detex/Manifest
@@ -1,2 +1,3 @@
-MD5 9dda516c5bbbd861364df94526b6e279 detex-2.7.ebuild 960
+MD5 54f0e5fe8525dd32e56ed4f7adf99e5e detex-2.7.ebuild 977
+MD5 cb2e2afc2052df3358dc57dbf1f498a9 ChangeLog 360
MD5 dab2b399b59ec37d22e7c173360029d0 files/digest-detex-2.7 57
diff --git a/dev-tex/detex/detex-2.7.ebuild b/dev-tex/detex/detex-2.7.ebuild
new file mode 100644
index 000000000000..bd5a98bd7d2e
--- /dev/null
+++ b/dev-tex/detex/detex-2.7.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/detex/detex-2.7.ebuild,v 1.1 2003/07/01 03:14:38 satai Exp $
+
+DESCRIPTION="A filter program that removes the LaTeX (or TeX) control sequences"
+HOMEPAGE="http://www.cs.purdue.edu/homes/trinkle/detex/"
+SRC_URI="http://www.cs.purdue.edu/homes/trinkle/detex/detex-2.7.tar"
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND="virtual/glibc sys-devel/flex"
+
+S=${WORKDIR}/${P}
+
+src_unpack() {
+ unpack ${A}
+ cd ${P}
+ cp Makefile Makefile.new
+ sed -e "s:CFLAGS = -O \${DEFS}:CFLAGS = ${CFLAGS} \${DEFS}:" \
+ -e 's:LEX = lex:#LEX = lex:' \
+ -e 's:#LEX = flex:LEX = flex:' \
+ -e 's: ${CC} ${CFLAGS} -o $@ ${D_OBJ} -ll: ${CC} ${CFLAGS} -o $@ ${D_OBJ} -lfl:' \
+ Makefile.new > Makefile || die "sed failed"
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ dobin detex
+ dodoc README
+ doman detex.1l
+}
diff --git a/dev-tex/detex/files/digest-detex-2.7 b/dev-tex/detex/files/digest-detex-2.7
new file mode 100644
index 000000000000..3c13b431b128
--- /dev/null
+++ b/dev-tex/detex/files/digest-detex-2.7
@@ -0,0 +1 @@
+MD5 2f4f99e7d1c6829053ca2c78d7e6b774 detex-2.7.tar 94720