Ticket #12063: less.patch
File less.patch, 1.4 KB (added by simon@…, 17 years ago) |
---|
-
Portfile
2 2 3 3 PortSystem 1.0 4 4 name less 5 version 394 6 revision 1 5 version 406 7 6 categories textproc 8 7 maintainers mike.mclean@pobox.com 9 8 description Less is a program similar to more, which allows backward movement. … … 14 13 Less uses termcap (or terminfo on some systems), so it can run on \ 15 14 a variety of terminals. There is even limited support for \ 16 15 hardcopy terminals. 17 homepage http://www.greenwoodsoftware.com/less/ index.html16 homepage http://www.greenwoodsoftware.com/less/ 18 17 platforms darwin 19 master_sites http://www.greenwoodsoftware.com/less/ 20 checksums md5 a9f072ccefa0d315b325f3e9cdbd4b97 18 master_sites ${homepage} 19 checksums md5 c6062663b5be92dfcdfd6300ba0811e4 \ 20 sha1 7aeab848682c3ac7cd9ba54e4c96199f9fdf25e5 \ 21 rmd160 db62576ba6976cc1efe17680b6a6da5237dba425 21 22 destroot.destdir prefix=${destroot}${prefix} 22 23 depends_lib port:ncursesw 23 configure.env CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib" 24 25 post-destroot { 26 set docdir ${prefix}/share/doc/${name}-${version} 27 28 xinstall -m 0755 -d ${destroot}${docdir} 29 xinstall -m 0644 -W ${worksrcpath} NEWS README ${destroot}${docdir} 30 } 31 32 livecheck.check regex 33 livecheck.url ${homepage}news.html 34 livecheck.regex "The current released version is ${name}-(\[0-9\]+)\\."