Contents of /branches/branch-xorg18/core/nano/nano-2.0.9-r6.smage2
Parent Directory | Revision Log
Revision 5192 -
(show annotations)
(download)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 1084 byte(s)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 1084 byte(s)
created branch 'branch-xorg18'
1 | # $Id$ |
2 | |
3 | PNAME="nano" |
4 | PVER="2.0.9" |
5 | PBUILD="r6" |
6 | |
7 | PCATEGORIE="app-editors" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Nano, small editor, aimed to replaced pico." |
11 | HOMEPAGE="http://www.nano-editor.org/" |
12 | |
13 | DEPEND=">= sys-libs/ncurses-5.7" |
14 | PROVIDE="virtual/editor" |
15 | |
16 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
17 | SRCDIR="$BUILDDIR/${PNAME}-${PVER}" |
18 | |
19 | # nanorc version |
20 | NRCVER="1.7" |
21 | |
22 | sminclude mbuild mtools |
23 | |
24 | SRC_URI=( |
25 | http://www.nano-editor.org/dist/v2.0/${SRCFILE} |
26 | mirror://${PNAME}/${SRCFILE} |
27 | mirror://${PNAME}/nanorc-${NRCVER} |
28 | ) |
29 | |
30 | # check stable version |
31 | UP2TAG=stable |
32 | # check dev version |
33 | #UP2TAG=devel |
34 | UP2DATE="updatecmd ${HOMEPAGE} | grep 'Latest Version' | sed 's/.*\ \(.*\)\ (${UP2TAG}).*/\1/'" |
35 | |
36 | src_compile() |
37 | { |
38 | cd ${SRCDIR} |
39 | |
40 | mconfigure --enable-color --enable-multibuffer --enable-nano-rc || die |
41 | mmake || die |
42 | } |
43 | |
44 | src_install() |
45 | { |
46 | cd ${SRCDIR} |
47 | |
48 | # needed directories |
49 | minstalldir /usr/share/doc/${PNAME}-${PVER}/examples || die |
50 | |
51 | mmake DESTDIR=${BINDIR} install || die |
52 | |
53 | minstalletc nanorc-${NRCVER} nanorc || die |
54 | minstallfile -s nanorc-${NRCVER} /usr/share/doc/${PNAME}-${PVER}/examples/nanorc || die |
55 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |