Contents of /trunk/core/less/less-487-r1.smage2
Parent Directory | Revision Log
Revision 28743 -
(show annotations)
(download)
Fri Apr 28 07:32:48 2017 UTC (7 years, 5 months ago) by niro
File size: 798 byte(s)
Fri Apr 28 07:32:48 2017 UTC (7 years, 5 months ago) by niro
File size: 798 byte(s)
auto added: ver bump to 487-r1
1 | # $Id$ |
2 | |
3 | PNAME="less" |
4 | PVER="487" |
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-6.0" |
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 | } |