1 | # $Id: Portfile 65066 2010-03-20 22:16:55Z ram@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name pigz |
---|
6 | version 2.1.6 |
---|
7 | categories archivers |
---|
8 | platforms darwin |
---|
9 | maintainers danchr@gmail.com openmaintainer |
---|
10 | |
---|
11 | description parallel gzip |
---|
12 | long_description \ |
---|
13 | pig, which stands for parallel implementation of gzip, is a \ |
---|
14 | fully functional replacement for gzip that exploits multiple \ |
---|
15 | processors and multiple cores to the hilt when compressing data. \ |
---|
16 | pig was written by Mark Adler, and uses the zlib and pthread libraries. |
---|
17 | |
---|
18 | homepage http://www.zlib.net/pigz/ |
---|
19 | master_sites ${homepage} |
---|
20 | |
---|
21 | checksums md5 cbe9030c4be3d0ef2438ee5f8b169ca4 \ |
---|
22 | sha1 df05bdcc7b08246a3c1e6a2ab2edc7d0a45c0369 \ |
---|
23 | rmd160 715a90eefbb9d2f6dbd94ec7ee196a0ea7b32e7f |
---|
24 | |
---|
25 | depends_lib port:gzip |
---|
26 | |
---|
27 | use_configure no |
---|
28 | build.target |
---|
29 | |
---|
30 | destroot { |
---|
31 | file mkdir ${destroot}${prefix}/bin ${destroot}${prefix}/share/man/man1 |
---|
32 | |
---|
33 | file copy ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1 |
---|
34 | file copy ${worksrcpath}/${name} ${destroot}${prefix}/bin |
---|
35 | file link ${destroot}${prefix}/bin/un${name} ${name} |
---|
36 | } |
---|
37 | |
---|
38 | livecheck.type regex |
---|
39 | livecheck.url ${homepage} |
---|
40 | livecheck.regex {pigz-(\d+(?:\.\d+)*).tar.gz} |
---|