Ticket #12679: lzo2-doc.diff
File lzo2-doc.diff, 1.8 KB (added by nox@…, 17 years ago) |
---|
-
Portfile
1 1 # $Id$ 2 2 3 PortSystem 1.03 PortSystem 1.0 4 4 5 5 name lzo2 6 set my_name lzo 6 7 version 2.02 7 revision 18 revision 2 8 9 categories archivers 9 10 platforms darwin 10 11 maintainers yunzheng.hu@gmail.com 11 12 description Real-time data compression library 12 long_description \ 13 14 long_description \ 13 15 LZO is a portable lossless data compression library written in ANSI C. \ 14 16 It offers pretty fast compression and very fast decompression. \ 15 17 Decompression requires no memory. \ … … 19 21 LZO is distributed under the GNU General Public License. 20 22 21 23 homepage http://www.oberhumer.com/opensource/lzo/ 22 master_sites http://www.oberhumer.com/opensource/lzo/download/ 23 distname lzo-${version} 24 master_sites ${homepage}download/ 25 distname ${my_name}-${version} 26 24 27 checksums md5 6760e5819f4238328709bf93bf10071c \ 25 28 sha1 82e1ae75663623516156542f4975a64d3a264b91 \ 26 29 rmd160 382154ec7d076e66fdcb6114818193dca180e3ac … … 35 38 } 36 39 37 40 post-destroot { 38 file mkdir "${destroot}/${prefix}/share/doc/${name}" 39 xinstall -m 644 ${worksrcpath}/doc/LZOTEST.TXT \ 40 ${worksrcpath}/doc/LZO.FAQ \ 41 ${worksrcpath}/doc/LZO.TXT\42 ${worksrcpath}/doc/LZOAPI.TXT \ 43 ${destroot}/${prefix}/share/doc/${name}41 set docdir ${prefix}/share/doc/${my_name}-${version} 42 43 xinstall -d ${destroot}${docdir} 44 xinstall -m 0644 -W ${worksrcpath} AUTHORS BUGS COPYING ChangeLog NEWS README THANKS \ 45 ${destroot}${docdir} 46 eval xinstall -m 0644 [glob ${worksrcpath}/doc/*] ${destroot}${docdir} 44 47 } 48 49 livecheck.check regex 50 livecheck.url ${homepage} 51 livecheck.regex "Version (\\d+(?:\\.\\d+)*)" 52