# -*- 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 PortSystem 1.0 name pigz version 2.8 categories archivers license zlib Apache-2 platforms darwin maintainers {danchr @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 rmd160 307e92d8ec0f5438c64ab5d6a5d28808e897ad9d \ sha256 eb872b4f0e1f0ebe59c9f7bd8c506c4204893ba6a8492de31df416f0d5170fd0 \ size 121304 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}