diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-02-09 22:11:56 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-02-09 22:11:56 +0000 |
commit | 177e99018d53277c6a736d990349c1b4599c7b73 (patch) | |
tree | 9f19aa9a9505fd0ae1cb5efbde00a724815b7598 /dev-tex/detex | |
parent | Marked stable on amd64 as per bug 208607. (diff) | |
download | gentoo-2-177e99018d53277c6a736d990349c1b4599c7b73.tar.gz gentoo-2-177e99018d53277c6a736d990349c1b4599c7b73.tar.bz2 gentoo-2-177e99018d53277c6a736d990349c1b4599c7b73.zip |
version bump
(Portage version: 2.1.4.1)
Diffstat (limited to 'dev-tex/detex')
-rw-r--r-- | dev-tex/detex/ChangeLog | 9 | ||||
-rw-r--r-- | dev-tex/detex/detex-2.8.ebuild | 40 |
2 files changed, 47 insertions, 2 deletions
diff --git a/dev-tex/detex/ChangeLog b/dev-tex/detex/ChangeLog index 09bd7ee2e8a5..a2709a6fd79c 100644 --- a/dev-tex/detex/ChangeLog +++ b/dev-tex/detex/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-tex/detex -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/detex/ChangeLog,v 1.18 2007/12/18 19:10:48 jer Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/detex/ChangeLog,v 1.19 2008/02/09 22:11:56 aballier Exp $ + +*detex-2.8 (09 Feb 2008) + + 09 Feb 2008; Alexis Ballier <aballier@gentoo.org> +detex-2.8.ebuild: + version bump 18 Dec 2007; Jeroen Roovers <jer@gentoo.org> detex-2.7.ebuild: Marked ~hppa (bug #195815). diff --git a/dev-tex/detex/detex-2.8.ebuild b/dev-tex/detex/detex-2.8.ebuild new file mode 100644 index 000000000000..2d871c72daf8 --- /dev/null +++ b/dev-tex/detex/detex-2.8.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/detex/detex-2.8.ebuild,v 1.1 2008/02/09 22:11:56 aballier Exp $ + +inherit eutils toolchain-funcs + +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="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +DEPEND="virtual/libc + sys-devel/flex" + +src_unpack() { + 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:#DEFS += ${DEFS} -DNO_MALLOC_DECL:DEFS += -DNO_MALLOC_DECL:' \ + -e 's:LEXLIB = -ll:LEXLIB = -lfl:' \ + Makefile || die "sed failed" +} + +src_compile() { + tc-export CC + emake || die "emake failed" +} + +src_install() { + dobin detex || die + dodoc README + doman detex.1l +} |