Contents of /trunk/core/less/less-444-r2.smage2
Parent Directory
|
Revision Log
Revision 12753 -
(show annotations)
(download)
Mon Jul 2 14:37:15 2012 UTC (11 years, 11 months ago) by niro
File size: 791 byte(s)
Mon Jul 2 14:37:15 2012 UTC (11 years, 11 months ago) by niro
File size: 791 byte(s)
-marked unstable
1 | # $Id$ |
2 | |
3 | PNAME="less" |
4 | PVER="444" |
5 | PBUILD="r2" |
6 | |
7 | PCAT="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.9" |
15 | |
16 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
18 | |
19 | sminclude mbuild 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_install() |
29 | { |
30 | cd ${SRCDIR} |
31 | mmake DESTDIR=${BINDIR} install || die |
32 | |
33 | # needed for groff-1.18 and later ... |
34 | minstalldir /etc/env.d || die |
35 | echo "LESS=\"-R\"" > ${BINDIR}/etc/env.d/70less || die |
36 | |
37 | minstalldocs COPYING LICENSE NEWS README || die |
38 | } |