summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-05-10 17:44:04 +0000
committerMike Frysinger <vapier@gentoo.org>2004-05-10 17:44:04 +0000
commit15c09a0e4979bc7241a1ab3f109146c9ff7a92a2 (patch)
tree617914f939c2e54e2cc6d0b8afdae7578176650a /dev-tex
parentif anyone reads these diffs, these were good examples of things you should ne... (diff)
downloadhistorical-15c09a0e4979bc7241a1ab3f109146c9ff7a92a2.tar.gz
historical-15c09a0e4979bc7241a1ab3f109146c9ff7a92a2.tar.bz2
historical-15c09a0e4979bc7241a1ab3f109146c9ff7a92a2.zip
cleanup
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/detex/detex-2.7.ebuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/dev-tex/detex/detex-2.7.ebuild b/dev-tex/detex/detex-2.7.ebuild
index 1aa2a0e8426e..e35a40b48785 100644
--- a/dev-tex/detex/detex-2.7.ebuild
+++ b/dev-tex/detex/detex-2.7.ebuild
@@ -1,19 +1,23 @@
# Copyright 1999-2004 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.8 2004/05/06 15:49:14 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/detex/detex-2.7.ebuild,v 1.9 2004/05/10 17:44:04 vapier 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/${P}.tar"
+
LICENSE="freedist"
SLOT="0"
-KEYWORDS="x86 ~ppc s390 ~sparc"
+KEYWORDS="x86 ~ppc ~sparc s390"
IUSE=""
+
DEPEND="virtual/glibc sys-devel/flex"
src_unpack() {
- unpack ${A} ; cd ${S}
- sed -i -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:' \
@@ -25,7 +29,7 @@ src_compile() {
}
src_install() {
- dobin detex
+ dobin detex || die
dodoc README
doman detex.1l
}