Gentoo Archives: gentoo-commits

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