# -*- 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 PortSystem 1.0 name paq8 version 8p revision 1 categories archivers license GPL-2+ maintainers {jmr @jmroot} 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 variant universal {} configure.optflags -O3 build.cmd ${configure.cxx} build.args {*}${configure.cxxflags} {*}[get_canonical_archflags cxx] -DUNIX -DNOASM -o paq8 build.target paq${version}.cpp 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} } livecheck.type regex livecheck.url ${homepage} livecheck.regex "paq(8\[\\w\]+)${extract.suffix}"