# -*- 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 # $Id$ PortSystem 1.0 name pigz version 2.3.3 categories archivers license zlib Apache-2 platforms darwin maintainers gmail.com:danchr openmaintainer description parallel gzip long_description pigz, which stands for parallel implementation of gzip, \ is a fully functional replacement for gzip that exploits \ multiple processors and multiple cores to the hilt when \ compressing data. pigz was written by Mark Adler, and \ uses the zlib and pthread libraries. homepage http://www.zlib.net/pigz/ master_sites ${homepage} checksums md5 01d7a16cce77929cc1a78aa1bdfb68cb \ rmd160 053a9f2309982ba21a7041288ace4408ffbcbe5e \ sha256 4e8b67b432ce7907575a549f3e1cac4709781ba0f6b48afea9f59369846b509c depends_lib port:zlib patchfiles patch-Makefile.diff use_configure no variant universal {} build.target build.env-append CC="${configure.cc}" \ CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \ LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" destroot { xinstall -m 644 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1 xinstall ${worksrcpath}/${name} ${destroot}${prefix}/bin ln -s ${name} ${destroot}${prefix}/bin/un${name} } livecheck.type regex livecheck.url ${homepage} livecheck.regex {pigz-(\d+(?:\.\d+)*).tar.gz}