# -*- 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: Portfile 85155 2011-10-10 15:23:19Z snc@macports.org $

PortSystem          1.0

name                mgzip
version             1.2c
revision            1
categories          archivers
license             GPL-2
maintainers         snc openmaintainer
description         a multi-processor capable .gz file creator.
long_description    mgzip is a program that makes use of SMP machines and zlib \
                    to use as many processors as you have to quickly compress \
                    files into gzip compatible format.
homepage
depends_lib         port:zlib

platforms           darwin

master_sites        macports_distfiles
distname            smp_mgzip_${version}
checksums           rmd160 e3a91c4705b2769ce377ce698593d395ac6dec3b \
                    sha256  9b6f7592f5a7f6278a70fa67952aed652f8eba3e36d753ce50d76fde7ec28513

patchfiles          patch-mgzip.c.diff

configure.args      --with-zlib=${prefix}

test.run            yes

destroot {
    xinstall -m 755 ${worksrcpath}/mgzip ${destroot}${prefix}/bin
}

livecheck.type      none
