# $Id: Portfile 101788 2013-01-19 11:36:13Z ryandesign@macports.org $ PortSystem 1.0 PortGroup muniversal 1.0 name lzo2 set my_name lzo version 2.06 categories archivers license GPL-2+ platforms darwin maintainers gmail.com:yunzheng.hu 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 744b6562501954ba5441c6874963a1a5c81e7232 \ sha256 ff79e6f836d62d3f86ef6ce893ed65d07e638ef4d3cb952963471b4234d43e73 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+)*)"