# $Id: Portfile 33441 2008-01-27 11:46:26Z ryandesign@macports.org $ PortSystem 1.0 name lzo2 set my_name lzo version 2.02 revision 2 categories archivers platforms darwin maintainers yunzheng.hu@gmail.com description Real-time data compression library long_description \ LZO is a portable lossless data compression library written in ANSI C. \ It offers pretty fast compression and very fast decompression. \ Decompression requires no memory. \ In addition there are slower compression levels achieving a quite \ competitive compression ratio while still decompressing at \ this very high speed. \ LZO is distributed under the GNU General Public License. homepage http://www.oberhumer.com/opensource/lzo/ master_sites ${homepage}download/ \ ftp://ftp.uni-koeln.de/util/arc/ distname ${my_name}-${version} checksums md5 6760e5819f4238328709bf93bf10071c \ sha1 82e1ae75663623516156542f4975a64d3a264b91 \ rmd160 382154ec7d076e66fdcb6114818193dca180e3ac configure.args --enable-shared --disable-static test.run yes test.target check platform darwin 9 { # workaround until the assembler versions work: configure.args-append --disable-asm } post-destroot { set docdir ${prefix}/share/doc/${my_name}-${version} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} AUTHORS BUGS COPYING ChangeLog NEWS README THANKS \ ${destroot}${docdir} eval xinstall -m 0644 [glob ${worksrcpath}/doc/*] ${destroot}${docdir} } livecheck.check regex livecheck.url ${homepage} livecheck.regex "Version (\\d+(?:\\.\\d+)*)"