# $Id: Portfile 127290 2014-10-24 22:45:11Z ryandesign@macports.org $ PortSystem 1.0 name lzo version 1.08 categories devel compression license GPL-2+ 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 patchfiles patch-automake-1.13.diff use_autoreconf yes autoreconf.args -fvi configure.ccache no configure.args --enable-shared --disable-static if {[string match *clang* ${configure.compiler}]} { configure.args-append mfx_cv_prog_gcc_bug_schedule_insns=no } post-configure { if {[variant_isset universal]} { system -W ${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}"