source: trunk/dports/archivers/paq8/Portfile

Last change on this file was 75775, checked in by jmr@…, 6 years ago

change licenses to preferred format

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- 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
2# $Id: Portfile 75775 2011-02-08 09:34:34Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name                paq8
7version             8p
8revision            1
9categories          archivers
10platforms           darwin
11license             GPL-2+
12maintainers         jmr openmaintainer
13description         PAQ8, a tight but slow compressor
14long_description    PAQ is a series of open source data compression \
15                    archivers that have evolved through collaborative \
16                    development to top rankings on several benchmarks \
17                    measuring compression ratio (although at the expense \
18                    of speed and memory usage).
19
20homepage            http://mattmahoney.net/dc/
21master_sites        ${homepage}
22use_zip             yes
23distname            paq${version}
24dist_subdir         ${name}/${version}_${revision}
25checksums           md5 a5099ae1f62c292eb16fb7930eb1f68d \
26                    sha1 88628a11045105dd4d2158e8800e8c5ef71c0918 \
27                    rmd160 d5b19357208be514855a94ac4dbbf37d2d9aa9d0
28
29extract.mkdir       yes
30use_configure       no
31
32build.cmd           ${configure.cxx}
33build.args          -O3 -DUNIX -DNOASM -o paq8
34build.target        paq${version}.cpp
35
36if {![variant_isset universal]} {
37    build.args-append ${configure.cxx_archflags}
38}
39
40destroot.cmd        install
41destroot.target     paq8
42destroot.destdir    ${destroot}${prefix}/bin
43
44post-destroot {
45    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
46    xinstall -m 644 ${worksrcpath}/readme.txt ${destroot}${prefix}/share/doc/${name}
47}
48
49variant universal {
50    build.args-append   ${configure.universal_cxxflags}
51}
52
53livecheck.type      regex
54livecheck.url       ${homepage}
55livecheck.regex     "paq(8\[\\w\]+)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.