Ticket #12063: less-403.diff
File less-403.diff, 1.4 KB (added by nox@…, 17 years ago) |
---|
-
Portfile
2 2 3 3 PortSystem 1.0 4 4 name less 5 version 394 6 revision 1 5 version 403 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 46d8d2008f7b6f6c63fb497e5c3a204a \ 20 sha1 f9fa97a9e215b6c62c1bfd049e03725a26ae71e8 \ 21 rmd160 52e7a157bb5d591421e1ac08e9d8122431551de9 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}-(\\d+)\\."