Ticket #24615: Portfile

File Portfile, 1.3 KB (added by danchr (Dan Villiom Podlaski Christiansen), 15 years ago)

Portfile

Line 
1# $Id: Portfile 65066 2010-03-20 22:16:55Z ram@macports.org $
2
3PortSystem        1.0
4
5name              pigz
6version           2.1.6
7categories        archivers
8platforms         darwin
9maintainers       danchr@gmail.com openmaintainer
10
11description       parallel gzip
12long_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
18homepage          http://www.zlib.net/pigz/
19master_sites      ${homepage}
20
21checksums           md5     cbe9030c4be3d0ef2438ee5f8b169ca4 \
22                    sha1    df05bdcc7b08246a3c1e6a2ab2edc7d0a45c0369 \
23                    rmd160  715a90eefbb9d2f6dbd94ec7ee196a0ea7b32e7f
24
25depends_lib       port:gzip
26
27use_configure     no
28build.target
29
30destroot {
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
38livecheck.type    regex
39livecheck.url     ${homepage}
40livecheck.regex   {pigz-(\d+(?:\.\d+)*).tar.gz}