# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name paq8 version 8p revision 1 categories archivers platforms darwin license GPL-2+ maintainers jmr openmaintainer description PAQ8, a tight but slow compressor long_description PAQ is a series of open source data compression \ archivers that have evolved through collaborative \ development to top rankings on several benchmarks \ measuring compression ratio (although at the expense \ of speed and memory usage). homepage http://mattmahoney.net/dc/ master_sites ${homepage} use_zip yes distname paq${version} dist_subdir ${name}/${version}_${revision} checksums md5 a5099ae1f62c292eb16fb7930eb1f68d \ sha1 88628a11045105dd4d2158e8800e8c5ef71c0918 \ rmd160 d5b19357208be514855a94ac4dbbf37d2d9aa9d0 extract.mkdir yes use_configure no build.cmd ${configure.cxx} build.args -O3 -DUNIX -DNOASM -o paq8 build.target paq${version}.cpp if {![variant_isset universal]} { build.args-append ${configure.cxx_archflags} } destroot.cmd install destroot.target paq8 destroot.destdir ${destroot}${prefix}/bin post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 ${worksrcpath}/readme.txt ${destroot}${prefix}/share/doc/${name} } variant universal { build.args-append ${configure.universal_cxxflags} } livecheck.type regex livecheck.url ${homepage} livecheck.regex "paq(8\[\\w\]+)${extract.suffix}"