Annotation of /trunk/core/less/less-429-r1.smage2
Parent Directory | Revision Log
Revision 1099 -
(hide annotations)
(download)
Wed Apr 22 13:23:48 2009 UTC (15 years, 5 months ago) by niro
File size: 1191 byte(s)
Wed Apr 22 13:23:48 2009 UTC (15 years, 5 months ago) by niro
File size: 1191 byte(s)
auto added: ver bump to 429-r1
1 | niro | 1099 | # $Id$ |
2 | |||
3 | PNAME="less" | ||
4 | PVER="429" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="sys-apps" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="Excellent text file viewer." | ||
11 | HOMEPAGE="http://www.greenwoodsoftware.com/less/" | ||
12 | |||
13 | DEPEND=">= virtual/glibc | ||
14 | >= sys-libs/ncurses-5.7" | ||
15 | |||
16 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
18 | |||
19 | sminclude mtools | ||
20 | |||
21 | SRC_URI=( | ||
22 | http://www.greenwoodsoftware.com/${PNAME}/${SRCFILE} | ||
23 | mirror://${PNAME}/${SRCFILE} | ||
24 | ) | ||
25 | |||
26 | UP2DATE="updatecmd ${HOMEPAGE}/download.html | grep -i 'recommended:.*(source)' | sed 's/.*version \(.*\) (source.*/\1/'" | ||
27 | |||
28 | src_prepare() | ||
29 | { | ||
30 | munpack ${SRCFILE} || die | ||
31 | } | ||
32 | |||
33 | src_compile() | ||
34 | { | ||
35 | cd ${SRCDIR} | ||
36 | mconfigure --bindir=/bin || die | ||
37 | mmake || die | ||
38 | } | ||
39 | |||
40 | src_install() | ||
41 | { | ||
42 | cd ${SRCDIR} | ||
43 | |||
44 | # some needed directories | ||
45 | minstalldir /bin || die | ||
46 | minstalldir /usr/share/man/man1 || die | ||
47 | minstalldir /etc/env.d || die | ||
48 | |||
49 | minstallexec less /bin || die | ||
50 | minstallexec lessecho /bin || die | ||
51 | minstallexec lesskey /bin || die | ||
52 | |||
53 | # needed for groff-1.18 and later ... | ||
54 | echo "LESS=\"-R\"" > ${BINDIR}/etc/env.d/70less || die | ||
55 | |||
56 | minstallfile less.nro /usr/share/man/man1/less.1 || die | ||
57 | minstallfile lesskey.nro /usr/share/man/man1/lesskey.1 || die | ||
58 | |||
59 | minstalldocs COPYING LICENSE NEWS README || die | ||
60 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |