source: trunk/dports/textproc/less/Portfile @ 107635

Last change on this file since 107635 was 107635, checked in by raimue@…, 7 years ago

textproc/less:
Update to version 458

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 107635 2013-07-03 13:26:30Z raimue@macports.org $
2
3PortSystem      1.0
4
5name            less
6version         458
7categories      textproc
8platforms       darwin
9license         {GPL-3+ BSD}
10maintainers     raimue openmaintainer
11description     Less is a program similar to more, which allows backward movement.
12long_description \
13                Less is a program similar to more, but which allows backward \
14                movement in the file as well as forward movement. Also, less does \
15                not have to read the entire input file before starting, so with \
16                large input files it starts up faster than text editors like vi. \
17                Less uses termcap (or terminfo on some systems), so it can run on \
18                a variety of terminals. There is even limited support for \
19                hardcopy terminals.
20homepage        http://www.greenwoodsoftware.com/less/
21master_sites    ${homepage}
22
23checksums       rmd160  960bea14f0a1b7eab48285494901a19c7160be83 \
24                sha256  e536c7819ede54b3d487f0ffc4c14b3620bed83734d92a81e89f62346db0fcac
25
26depends_build   bin:grep:grep
27depends_lib     port:ncurses \
28                port:gettext
29
30post-destroot {
31    set docdir ${prefix}/share/doc/${name}-${version}
32
33    xinstall -d ${destroot}${docdir}
34    xinstall -m 0644 -W ${worksrcpath} NEWS README ${destroot}${docdir}
35}
36
37livecheck.type  regex
38livecheck.url   ${homepage}
39livecheck.regex "The current released version is ${name}-(\\d+)\\."
Note: See TracBrowser for help on using the repository browser.