# $Id: Portfile 39748 2008-09-03 06:44:06Z mww@macports.org $

PortSystem 1.0

name            gzip
version         1.3.12
categories      archivers
platforms       darwin freebsd
maintainers     mww
description     gnu replacement utility for unix compress
long_description \
    gzip (GNU zip) is a compression utility designed to be a            \
    replacement for compress. Its main advantages over compress are     \
    much better compression and freedom from patented algorithms.

homepage        http://www.gzip.org/
master_sites    gnu
checksums       sha1 264e82876f201d9576626fbb1e0e9fe458efe9b9 \
                rmd160 857172d207d87abe5fb52f6e7dd0474a421b0d79

configure.args  --mandir=\\\${prefix}/share/man \
                --infodir=\\\${prefix}/share/info \
                DEFS=NO_ASM

test.run        yes
test.target     check

destroot.destdir    prefix=${destroot}${prefix}

variant rsyncable description {support the --rsyncable flag} {
    patchfiles-append patch-gzip-rsyncable.diff
}
