summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-01-05 21:32:19 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-01-05 21:32:19 +0000
commitab30ff8134b73bd51a2803a0259617472361d521 (patch)
tree8011d5a7540f11c29bbf25e0b5493cc08977cacf /dev-tex/detex
parentVersion bump. (diff)
downloadgentoo-2-ab30ff8134b73bd51a2803a0259617472361d521.tar.gz
gentoo-2-ab30ff8134b73bd51a2803a0259617472361d521.tar.bz2
gentoo-2-ab30ff8134b73bd51a2803a0259617472361d521.zip
Various epatch, sed, changelog and cosmetic changes
Diffstat (limited to 'dev-tex/detex')
-rw-r--r--dev-tex/detex/Manifest2
-rw-r--r--dev-tex/detex/detex-2.7.ebuild12
2 files changed, 6 insertions, 8 deletions
diff --git a/dev-tex/detex/Manifest b/dev-tex/detex/Manifest
index 9481721d8275..c483fcc85425 100644
--- a/dev-tex/detex/Manifest
+++ b/dev-tex/detex/Manifest
@@ -1,4 +1,4 @@
-MD5 9b09efdb8581ebc109ad8649bd572816 detex-2.7.ebuild 973
+MD5 99c41f05a70250215df6bab671ecd725 detex-2.7.ebuild 932
MD5 74baf623683e47432963c99c8b1f1d6e ChangeLog 448
MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164
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
index bdd0b457d187..5472c4a52ae7 100644
--- a/dev-tex/detex/detex-2.7.ebuild
+++ b/dev-tex/detex/detex-2.7.ebuild
@@ -1,10 +1,10 @@
# 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.3 2003/10/06 14:29:35 obz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/detex/detex-2.7.ebuild,v 1.4 2004/01/05 21:32:10 aliz 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"
+SRC_URI="http://www.cs.purdue.edu/homes/trinkle/detex/${P}.tar"
LICENSE="freedist"
SLOT="0"
KEYWORDS="x86"
@@ -14,14 +14,12 @@ 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}:" \
+ unpack ${A} ; cd ${S}
+ sed -i -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"
+ Makefile || die "sed failed"
}
src_compile() {