Magellan Linux

Annotation of /branches/R11-unstable/core/less/less-458-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17099 - (hide annotations) (download)
Sat Jun 1 14:26:33 2013 UTC (10 years, 11 months ago) by niro
Original Path: trunk/core/less/less-458-r1.smage2
File size: 798 byte(s)
auto added: ver bump to 458-r1
1 niro 17099 # $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     }