# $Id: Portfile 71621 2010-09-18 07:40:29Z ryandesign@macports.org $

PortSystem          1.0

name                cabextract
version             1.3
categories          archivers compression sysutils
maintainers         boeyms openmaintainer
description         Extract files from Microsoft cabinet files
long_description    cabextract can extract Microsoft cabinet files, also \
                    called .CAB files, on *nix systems.  cabextract supports \
                    all special features and all compression formats of \
                    Microsoft cabinet files.

platforms           darwin

homepage            http://www.cabextract.org.uk/
master_sites        ${homepage}

checksums           md5     cb9a4a38470d2a71a0275968e7eb64d3 \
                    sha1    112469b9e58497a5cfa2ecb3d9eeb9d3a4151c9f \
                    rmd160  a02fc161719d57cbee934f0a12ed5441ec7ddc27

configure.args      --mandir=${prefix}/share/man

use_parallel_build  yes

post-destroot {
    xinstall -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS \
        README TODO ${destroot}${prefix}/share/doc/${name}
}
