# $Id: Portfile 136564 2015-05-21 21:36:35Z mf2k@macports.org $ PortSystem 1.0 PortGroup muniversal 1.0 name lzo2 set my_name lzo version 2.09 categories archivers license GPL-2+ platforms darwin maintainers nomaintainer 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 rmd160 b615c5557a3c14181ee7c282f96917af9495095a \ sha256 f294a7ced313063c057c504257f437c8335c41bfeed23531ee4e6a2b87bcb34c set docdir ${prefix}/share/doc/${name} configure.args --enable-shared --enable-static --disable-asm \ --docdir=${docdir} test.run yes test.target check platform darwin 8 { # supposedly, the asm bits work on tiger configure.args-delete --disable-asm } post-destroot { xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} BUGS ChangeLog README doc/LZOTEST.TXT \ ${destroot}${docdir} } livecheck.type regex livecheck.url ${homepage} livecheck.regex "Version (\\d+(?:\\.\\d+)*)"