maintainers {raimue @raimue} \
description Less is a program similar to more, which allows backward movement.
Less is a program similar to more, but which allows backward \
movement in the file as well as forward movement. Also, less does \
not have to read the entire input file before starting, so with \
large input files it starts up faster than text editors like vi. \
Less uses termcap (or terminfo on some systems), so it can run on \
a variety of terminals. There is even limited support for \
homepage http://www.greenwoodsoftware.com/less/
checksums rmd160 7011513218523819c0565ffdda305c432a034c11 \
sha256 ff165275859381a63f19135a8f1f6c5a194d53ec3187f94121ecd8ef0795fe3d \
depends_lib port:ncurses \
configure.args --with-regex=posix
set docdir ${prefix}/share/doc/${name}-${version}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} NEWS README ${destroot}${docdir}
variant pcre description {Use PCRE regular expressions} {
depends_lib-append port:pcre
configure.args-replace --with-regex=posix --with-regex=pcre
livecheck.url ${homepage}
livecheck.regex "The current released version is ${name}-(\\d+)\\."