From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-editors/nano: ChangeLog nano-2.0.8.ebuild |
Date: | Mon, 25 Aug 2008 18:56:17 |
Message-Id: | E1KXhEa-0004jt-FP@stork.gentoo.org |
1 | vapier 08/08/25 18:56:12 |
2 | |
3 | Modified: ChangeLog |
4 | Added: nano-2.0.8.ebuild |
5 | Log: |
6 | Version bump. |
7 | (Portage version: 2.2_rc8/cvs/Linux 2.6.26.2 x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.203 app-editors/nano/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/nano/ChangeLog?rev=1.203&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/nano/ChangeLog?rev=1.203&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/nano/ChangeLog?r1=1.202&r2=1.203 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v |
19 | retrieving revision 1.202 |
20 | retrieving revision 1.203 |
21 | diff -u -r1.202 -r1.203 |
22 | --- ChangeLog 18 Aug 2008 03:43:38 -0000 1.202 |
23 | +++ ChangeLog 25 Aug 2008 18:56:11 -0000 1.203 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for app-editors/nano |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.202 2008/08/18 03:43:38 vapier Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.203 2008/08/25 18:56:11 vapier Exp $ |
29 | + |
30 | +*nano-2.0.8 (25 Aug 2008) |
31 | + |
32 | + 25 Aug 2008; Mike Frysinger <vapier@g.o> +nano-2.0.8.ebuild: |
33 | + Version bump. |
34 | |
35 | 18 Aug 2008; Mike Frysinger <vapier@g.o> |
36 | +files/nano-2.1.4-debug.patch, nano-2.1.4.ebuild: |
37 | |
38 | |
39 | |
40 | 1.1 app-editors/nano/nano-2.0.8.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/nano/nano-2.0.8.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/nano/nano-2.0.8.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: nano-2.0.8.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2008 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-2.0.8.ebuild,v 1.1 2008/08/25 18:56:11 vapier Exp $ |
50 | |
51 | inherit eutils |
52 | if [[ ${PV} == "9999" ]] ; then |
53 | ECVS_SERVER="savannah.gnu.org:/cvsroot/nano" |
54 | ECVS_MODULE="nano" |
55 | ECVS_AUTH="pserver" |
56 | ECVS_USER="anonymous" |
57 | inherit cvs |
58 | else |
59 | MY_P=${PN}-${PV/_} |
60 | SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz" |
61 | fi |
62 | |
63 | DESCRIPTION="GNU GPL'd Pico clone with more functionality" |
64 | HOMEPAGE="http://www.nano-editor.org/" |
65 | |
66 | LICENSE="GPL-3" |
67 | SLOT="0" |
68 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
69 | IUSE="debug justify minimal ncurses nls slang spell unicode" |
70 | |
71 | DEPEND=">=sys-libs/ncurses-5.2 |
72 | nls? ( sys-devel/gettext ) |
73 | !ncurses? ( slang? ( sys-libs/slang ) )" |
74 | |
75 | src_unpack() { |
76 | unpack ${A} |
77 | cd "${S}" |
78 | if [[ ! -e configure ]] ; then |
79 | ./autogen.sh || die "autogen failed" |
80 | fi |
81 | } |
82 | |
83 | src_compile() { |
84 | local myconf="" |
85 | use ncurses \ |
86 | && myconf="--without-slang" \ |
87 | || myconf="${myconf} $(use_with slang)" |
88 | |
89 | econf \ |
90 | --bindir=/bin \ |
91 | --enable-color \ |
92 | --enable-multibuffer \ |
93 | --enable-nanorc \ |
94 | --disable-wrapping-as-root \ |
95 | $(use_enable spell speller) \ |
96 | $(use_enable justify) \ |
97 | $(use_enable debug) \ |
98 | $(use_enable nls) \ |
99 | $(use_enable unicode utf8) \ |
100 | $(use_enable minimal tiny) \ |
101 | ${myconf} \ |
102 | || die "configure failed" |
103 | emake || die |
104 | } |
105 | |
106 | src_install() { |
107 | emake DESTDIR="${D}" install || die |
108 | |
109 | dodoc ChangeLog README doc/nanorc.sample AUTHORS BUGS NEWS TODO |
110 | dohtml *.html |
111 | insinto /etc |
112 | newins doc/nanorc.sample nanorc |
113 | |
114 | insinto /usr/share/nano |
115 | doins "${FILESDIR}"/*.nanorc || die |
116 | echo $'\n''# include "/usr/share/nano/gentoo.nanorc"' >> "${D}"/etc/nanorc |
117 | |
118 | dodir /usr/bin |
119 | dosym /bin/nano /usr/bin/nano |
120 | } |
121 | |
122 | pkg_postinst() { |
123 | elog "More helpful info about nano, visit the GDP page:" |
124 | elog "http://www.gentoo.org/doc/en/nano-basics-guide.xml" |
125 | } |