# $Id: Portfile 59062 2009-10-09 05:15:41Z blb@macports.org $ PortSystem 1.0 name lzo version 1.08 categories devel compression 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. platforms darwin homepage http://www.oberhumer.com/opensource/lzo/ master_sites http://www.oberhumer.com/opensource/lzo/download/LZO-v1/ checksums md5 ab94d3da364c7cbd5b78d76f1875b0f6 use_autoreconf yes autoreconf.args -fvi configure.ccache no configure.args --enable-shared --disable-static post-configure { if {[variant_isset universal]} { system "cd ${worksrcpath} && ed - config.h < ${filespath}/config.h.ed && touch stamp-h1" } } post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath}/doc LTEST.TXT LZO.FAQ LZO.TXT \ LZOAPI.TXT ${destroot}${prefix}/share/doc/${name} } livecheck.type regex livecheck.url ${master_sites} livecheck.regex "${name}-(1.\[0-9\]+)${extract.suffix}"