Magellan Linux

Annotation of /trunk/core/less/less-530-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30655 - (hide annotations) (download)
Mon Mar 5 12:36:54 2018 UTC (6 years, 2 months ago) by niro
File size: 798 byte(s)
auto added: ver bump to 530-r1
1 niro 30655 # $Id$
2    
3     PNAME="less"
4     PVER="530"
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     }