Contents of /branches/R11-stable/core/less/less-458-r1.smage2
Parent Directory | Revision Log
Revision 17772 -
(show annotations)
(download)
Wed Jun 26 12:28:50 2013 UTC (11 years, 3 months ago) by niro
File size: 798 byte(s)
Wed Jun 26 12:28:50 2013 UTC (11 years, 3 months ago) by niro
File size: 798 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="less" |
4 | PVER="458" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="sys-apps" |
8 | |
9 | DESCRIPTION="Excellent text file viewer." |
10 | HOMEPAGE="http://www.greenwoodsoftware.com/less/" |
11 | |
12 | DEPEND=">= virtual/glibc |
13 | >= sys-libs/ncurses-5.9" |
14 | |
15 | PROVIDE="virtual/less" |
16 | |
17 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
18 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
19 | |
20 | sminclude mbuild mtools |
21 | |
22 | SRC_URI=( |
23 | http://www.greenwoodsoftware.com/${PNAME}/${SRCFILE} |
24 | mirror://${PNAME}/${SRCFILE} |
25 | ) |
26 | |
27 | UP2DATE="updatecmd ${HOMEPAGE}/download.html | grep -i 'recommended:.*(source)' | sed 's/.*version \(.*\) (source.*/\1/'" |
28 | |
29 | src_install() |
30 | { |
31 | cd ${SRCDIR} |
32 | mmake DESTDIR=${BINDIR} install || die |
33 | |
34 | # needed for groff-1.18 and later ... |
35 | minstalldir /etc/env.d || die |
36 | echo "LESS=\"-R\"" > ${BINDIR}/etc/env.d/70less || die |
37 | |
38 | minstalldocs COPYING LICENSE NEWS README || die |
39 | } |