From: | "Matsuu Takuto (matsuu)" <matsuu@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-editors/ng: ChangeLog ng-1.5_beta1-r1.ebuild |
Date: | Thu, 30 Oct 2008 15:40:34 |
Message-Id: | E1KvZdQ-0001jm-Ba@stork.gentoo.org |
1 | matsuu 08/10/30 15:40:32 |
2 | |
3 | Modified: ChangeLog |
4 | Added: ng-1.5_beta1-r1.ebuild |
5 | Log: |
6 | Fixed CC variable, bug #243570. |
7 | (Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.10 app-editors/ng/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/ng/ChangeLog?rev=1.10&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/ng/ChangeLog?rev=1.10&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/ng/ChangeLog?r1=1.9&r2=1.10 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-editors/ng/ChangeLog,v |
19 | retrieving revision 1.9 |
20 | retrieving revision 1.10 |
21 | diff -u -r1.9 -r1.10 |
22 | --- ChangeLog 10 Oct 2007 07:12:42 -0000 1.9 |
23 | +++ ChangeLog 30 Oct 2008 15:40:32 -0000 1.10 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for app-editors/ng |
26 | -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/app-editors/ng/ChangeLog,v 1.9 2007/10/10 07:12:42 opfer Exp $ |
28 | +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/app-editors/ng/ChangeLog,v 1.10 2008/10/30 15:40:32 matsuu Exp $ |
30 | + |
31 | +*ng-1.5_beta1-r1 (30 Oct 2008) |
32 | + |
33 | + 30 Oct 2008; MATSUU Takuto <matsuu@g.o> +ng-1.5_beta1-r1.ebuild: |
34 | + Fixed CC variable, bug #243570. |
35 | |
36 | 10 Oct 2007; Christian Faulhammer <opfer@g.o> ng-1.5_beta1.ebuild: |
37 | remove PROVIDE=virtual/editor as we have now a new-style virtual |
38 | |
39 | |
40 | |
41 | 1.1 app-editors/ng/ng-1.5_beta1-r1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/ng/ng-1.5_beta1-r1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/ng/ng-1.5_beta1-r1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: ng-1.5_beta1-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/app-editors/ng/ng-1.5_beta1-r1.ebuild,v 1.1 2008/10/30 15:40:32 matsuu Exp $ |
51 | |
52 | inherit eutils |
53 | |
54 | MY_P="${P/_beta/beta}" |
55 | |
56 | DESCRIPTION="Emacs like micro editor Ng -- based on mg2a" |
57 | HOMEPAGE="http://tt.sakura.ne.jp/~amura/ng/" |
58 | SRC_URI="http://tt.sakura.ne.jp/~amura/archives/ng/${MY_P}.tar.gz" |
59 | |
60 | LICENSE="Emacs" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~ppc ~x86" |
63 | IUSE="canna" |
64 | |
65 | RDEPEND=">=sys-libs/ncurses-5.0 |
66 | canna? ( app-i18n/canna )" |
67 | DEPEND="${RDEPEND} |
68 | >=sys-apps/sed-4.0" |
69 | |
70 | S="${WORKDIR}/${MY_P}" |
71 | |
72 | src_unpack() { |
73 | unpack ${A} |
74 | cd "${S}" |
75 | epatch "${FILESDIR}/${MY_P}-ncurses.patch" |
76 | sed -i -e "/NO_BACKUP/s/undef/define/" config.h || die "sed failed" |
77 | } |
78 | |
79 | src_compile() { |
80 | econf $(use_enable canna) || die |
81 | emake CC="$(tc-getCC)" || die |
82 | } |
83 | |
84 | src_install() { |
85 | dobin ng || die |
86 | dodoc docs/* MANIFEST dot.ng |
87 | |
88 | insinto /usr/share/ng |
89 | doins bin/* |
90 | |
91 | insinto /etc/skel |
92 | newins dot.ng .ng |
93 | } |
94 | |
95 | pkg_postinst() { |
96 | elog |
97 | elog "If you want to use user Config" |
98 | elog "cp /etc/skel/.ng ~/.ng" |
99 | elog "and edit your .ng configuration file." |
100 | elog |
101 | } |