Gentoo Archives: gentoo-commits

From: "Carsten Lohrke (carlo)" <carlo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-editors/mp: ChangeLog mp-3.3.18b.ebuild
Date: Sun, 23 Dec 2007 22:45:03
Message-Id: E1J6ZYz-0000NU-VC@stork.gentoo.org
1 carlo 07/12/23 22:44:53
2
3 Modified: ChangeLog
4 Added: mp-3.3.18b.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.60 app-editors/mp/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/mp/ChangeLog?rev=1.60&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/mp/ChangeLog?rev=1.60&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/mp/ChangeLog?r1=1.59&r2=1.60
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-editors/mp/ChangeLog,v
19 retrieving revision 1.59
20 retrieving revision 1.60
21 diff -u -r1.59 -r1.60
22 --- ChangeLog 9 Feb 2007 22:01:18 -0000 1.59
23 +++ ChangeLog 23 Dec 2007 22:44:53 -0000 1.60
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-editors/mp
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-editors/mp/ChangeLog,v 1.59 2007/02/09 22:01:18 grobian Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-editors/mp/ChangeLog,v 1.60 2007/12/23 22:44:53 carlo Exp $
29 +
30 +*mp-3.3.18b (23 Dec 2007)
31 +
32 + 23 Dec 2007; Carsten Lohrke <carlo@g.o> +mp-3.3.18b.ebuild:
33 + Version bump.
34
35 09 Feb 2007; Fabian Groffen <grobian@g.o> mp-3.3.17.ebuild:
36 Dropped ppc-macos keyword, see you in prefix
37
38
39
40 1.1 app-editors/mp/mp-3.3.18b.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/mp/mp-3.3.18b.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/mp/mp-3.3.18b.ebuild?rev=1.1&content-type=text/plain
44
45 Index: mp-3.3.18b.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-editors/mp/mp-3.3.18b.ebuild,v 1.1 2007/12/23 22:44:53 carlo Exp $
50
51 inherit eutils
52
53 DESCRIPTION="Minimum Profit: A text editor for programmers"
54 HOMEPAGE="http://www.triptico.com/software/mp.html"
55 SRC_URI="http://www.triptico.com/download/${P}.tar.gz"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
60 IUSE="gtk ncurses nls pcre"
61
62 RDEPEND="virtual/libc
63 ncurses? ( sys-libs/ncurses )
64 gtk? ( >=x11-libs/gtk+-2 >=x11-libs/pango-1.8.0 )
65 !gtk? ( sys-libs/ncurses )
66 nls? ( sys-devel/gettext )
67 pcre? ( dev-libs/libpcre )
68 dev-lang/perl"
69 DEPEND="${RDEPEND}
70 dev-util/pkgconfig"
71
72 src_compile() {
73 local myconf="--prefix=/usr --without-win32 --without-gtk1"
74
75 if use gtk ; then
76 ! use ncurses && myconf="${myconf} --without-curses"
77 else
78 myconf="${myconf} --without-gtk2"
79 fi
80
81 use nls || myconfig="${myconf} --without-i18n --without-gettext"
82 use pcre || myconf="${myconf} --without-pcre --with-included-regex"
83
84 sh config.sh ${myconf} || die "Configure failed"
85
86 echo ${CFLAGS} >> config.cflags
87 echo ${LDFLAGS} >> config.ldflags
88
89 emake || die "Compile Failed"
90 }
91
92 src_install() {
93 dobin mp || die "Install Failed"
94
95 use gtk && dosym mp ${DESTTREE}/bin/gmp
96
97 dodoc AUTHORS README Changelog mprc.sample
98 doman mp.1
99 }
100
101 pkg_postinst() {
102 if use gtk ; then
103 einfo
104 einfo "mp is symlinked to gmp! Use mp -tx to use text mode!"
105 einfo
106 epause 5
107 fi
108 }
109
110
111
112 --
113 gentoo-commits@g.o mailing list