# $Id$ PortSystem 1.0 name less version 409 categories textproc maintainers mike.mclean@pobox.com description Less is a program similar to more, which allows backward movement. long_description 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 \ hardcopy terminals. homepage http://www.greenwoodsoftware.com/less/ platforms darwin master_sites ${homepage} checksums md5 32f4e9d9b86b2a16be85057f588bd965 \ sha1 6c554f520b635d783e16f19bfb3d7d00176a8a2d \ rmd160 67d13fef7435a298f48f03d10bbc249642ad17ad depends_lib port:ncursesw post-destroot { set docdir ${prefix}/share/doc/${name}-${version} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} NEWS README ${destroot}${docdir} } livecheck.check regex livecheck.url ${homepage}news.html livecheck.regex "The current released version is ${name}-(\[0-9\]+)\\."