Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-tex/detex: ChangeLog detex-2.8-r1.ebuild
Date: Thu, 28 Feb 2008 18:37:46
Message-Id: E1JUndU-0005F0-Ii@stork.gentoo.org
1 aballier 08/02/28 18:37:40
2
3 Modified: ChangeLog
4 Added: detex-2.8-r1.ebuild
5 Log:
6 respect ldflags, bug #209731, thanks Diego
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.21 dev-tex/detex/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/detex/ChangeLog?rev=1.21&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/detex/ChangeLog?rev=1.21&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/detex/ChangeLog?r1=1.20&r2=1.21
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-tex/detex/ChangeLog,v
19 retrieving revision 1.20
20 retrieving revision 1.21
21 diff -u -r1.20 -r1.21
22 --- ChangeLog 10 Feb 2008 16:51:32 -0000 1.20
23 +++ ChangeLog 28 Feb 2008 18:37:40 -0000 1.21
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-tex/detex
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/detex/ChangeLog,v 1.20 2008/02/10 16:51:32 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/detex/ChangeLog,v 1.21 2008/02/28 18:37:40 aballier Exp $
29 +
30 +*detex-2.8-r1 (28 Feb 2008)
31 +
32 + 28 Feb 2008; Alexis Ballier <aballier@g.o>
33 + +files/detex-2.8-ldflags.patch, +detex-2.8-r1.ebuild:
34 + respect ldflags, bug #209731, thanks Diego
35
36 10 Feb 2008; Alexis Ballier <aballier@g.o> detex-2.8.ebuild:
37 keyword ~x86-fbsd
38
39
40
41 1.1 dev-tex/detex/detex-2.8-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/detex/detex-2.8-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/detex/detex-2.8-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: detex-2.8-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-tex/detex/detex-2.8-r1.ebuild,v 1.1 2008/02/28 18:37:40 aballier Exp $
51
52 inherit eutils toolchain-funcs
53
54 DESCRIPTION="A filter program that removes the LaTeX (or TeX) control sequences"
55 HOMEPAGE="http://www.cs.purdue.edu/homes/trinkle/detex/"
56 SRC_URI="http://www.cs.purdue.edu/homes/trinkle/detex/${P}.tar"
57
58 LICENSE="BSD"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd"
61 IUSE=""
62
63 DEPEND="virtual/libc
64 sys-devel/flex"
65
66 src_unpack() {
67 unpack ${A}
68 cd "${S}"
69 epatch "${FILESDIR}/${P}-ldflags.patch"
70 sed -i \
71 -e "s:CFLAGS = -O \${DEFS}:CFLAGS = ${CFLAGS} \${DEFS}:" \
72 -e 's:LEX = lex:#LEX = lex:' \
73 -e 's:#LEX = flex:LEX = flex:' \
74 -e 's:#DEFS += ${DEFS} -DNO_MALLOC_DECL:DEFS += -DNO_MALLOC_DECL:' \
75 -e 's:LEXLIB = -ll:LEXLIB = -lfl:' \
76 Makefile || die "sed failed"
77 }
78
79 src_compile() {
80 tc-export CC
81 emake || die "emake failed"
82 }
83
84 src_install() {
85 dobin detex || die
86 dodoc README
87 doman detex.1l
88 }
89
90
91
92 --
93 gentoo-commits@l.g.o mailing list