Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-editors/jed: ChangeLog jed-0.99.19.ebuild
Date: Sun, 31 Jan 2010 17:38:01
Message-Id: E1NbdkB-0001fc-2F@stork.gentoo.org
1 ulm 10/01/31 17:37:55
2
3 Modified: ChangeLog
4 Added: jed-0.99.19.ebuild
5 Log:
6 Version bump. Ebuild cleaned up, EAPI changed to 3. Add prefix keywords.
7 (Portage version: 2.2_rc62/cvs/Linux i686)
8
9 Revision Changes Path
10 1.54 app-editors/jed/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/jed/ChangeLog?rev=1.54&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/jed/ChangeLog?rev=1.54&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/jed/ChangeLog?r1=1.53&r2=1.54
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-editors/jed/ChangeLog,v
19 retrieving revision 1.53
20 retrieving revision 1.54
21 diff -u -r1.53 -r1.54
22 --- ChangeLog 4 Jan 2009 20:15:00 -0000 1.53
23 +++ ChangeLog 31 Jan 2010 17:37:54 -0000 1.54
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-editors/jed
26 -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-editors/jed/ChangeLog,v 1.53 2009/01/04 20:15:00 ulm Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-editors/jed/ChangeLog,v 1.54 2010/01/31 17:37:54 ulm Exp $
30 +
31 +*jed-0.99.19 (31 Jan 2010)
32 +
33 + 31 Jan 2010; Ulrich Mueller <ulm@g.o> +jed-0.99.19.ebuild:
34 + Version bump. Ebuild cleaned up, EAPI changed to 3. Add prefix keywords.
35
36 04 Jan 2009; Ulrich Mueller <ulm@g.o> jed-0.99.18.ebuild:
37 Change virtual/xft dependency to x11-libs/libXft, bug 253771.
38
39
40
41 1.1 app-editors/jed/jed-0.99.19.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/jed/jed-0.99.19.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/jed/jed-0.99.19.ebuild?rev=1.1&content-type=text/plain
45
46 Index: jed-0.99.19.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-editors/jed/jed-0.99.19.ebuild,v 1.1 2010/01/31 17:37:54 ulm Exp $
51
52 EAPI=3
53
54 inherit versionator
55
56 MY_P=${PN}-$(replace_version_separator 2 '-')
57 DESCRIPTION="Console S-Lang-based editor"
58 HOMEPAGE="http://www.jedsoft.org/jed/"
59 SRC_URI="ftp://space.mit.edu/pub/davis/jed/v0.99/${MY_P}.tar.bz2"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
64 IUSE="X gpm xft"
65
66 RDEPEND=">=sys-libs/slang-2
67 X? ( x11-libs/libX11
68 xft? ( x11-libs/libXext
69 x11-libs/libXft
70 x11-libs/libXrender
71 >=media-libs/freetype-2.0 ) )
72 gpm? ( sys-libs/gpm )"
73 DEPEND="${RDEPEND}"
74
75 S="${WORKDIR}/${MY_P}"
76
77 src_configure() {
78 export JED_ROOT="${EPREFIX}/usr/share/jed"
79 econf \
80 $(use_enable gpm) \
81 $(use_enable xft)
82 }
83
84 src_compile() {
85 emake || die
86 if use X; then
87 emake xjed || die
88 fi
89 }
90
91 src_install() {
92 emake -j1 DESTDIR="${D}" install || die
93
94 dodoc INSTALL INSTALL.unx README changes.txt || die
95 doinfo info/jed* || die
96
97 insinto /etc
98 doins lib/jed.conf || die
99
100 # replace IDE mode with EMACS mode
101 sed -i -e 's/\(_Jed_Default_Emulation = \).*/\1"emacs";/' \
102 "${ED}"/etc/jed.conf || die "patching jed.conf failed"
103 }