source: trunk/dports/archivers/pigz/Portfile

Last change on this file was 151722, checked in by raimue@…, 15 months ago

archivers/pigz:
Update to version 2.3.3, update build patch, use canonical archs for +universal

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 151722 2016-08-21 11:47:19Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                pigz
7version             2.3.3
8categories          archivers
9license             zlib Apache-2
10platforms           darwin
11maintainers         gmail.com:danchr openmaintainer
12
13description         parallel gzip
14long_description    pigz, which stands for parallel implementation of gzip, \
15                    is a fully functional replacement for gzip that exploits \
16                    multiple processors and multiple cores to the hilt when \
17                    compressing data. pigz was written by Mark Adler, and \
18                    uses the zlib and pthread libraries.
19
20homepage            http://www.zlib.net/pigz/
21master_sites        ${homepage}
22
23checksums           md5 01d7a16cce77929cc1a78aa1bdfb68cb \
24                    rmd160  053a9f2309982ba21a7041288ace4408ffbcbe5e \
25                    sha256  4e8b67b432ce7907575a549f3e1cac4709781ba0f6b48afea9f59369846b509c
26
27depends_lib         port:zlib
28
29patchfiles          patch-Makefile.diff
30
31use_configure       no
32
33variant universal {}
34
35build.target
36build.env-append    CC="${configure.cc}" \
37                    CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
38                    LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
39
40destroot {
41    xinstall -m 644 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1
42    xinstall ${worksrcpath}/${name} ${destroot}${prefix}/bin
43    ln -s ${name} ${destroot}${prefix}/bin/un${name}
44}
45
46livecheck.type      regex
47livecheck.url       ${homepage}
48livecheck.regex     {pigz-(\d+(?:\.\d+)*).tar.gz}
Note: See TracBrowser for help on using the repository browser.