Portfile

# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $

PortSystem 1.0

name libzzip
version 0.13.38
categories archivers devel
platforms darwin
maintainers nomaintainer@macports.org
description library providing read access on ZIP-archives
long_description The ZZIPlib provides read access on ZIP-archives. The \
library uses only the patent-free \
compression-algorithms supported by Zlib. It provides \
functions that transparently access files being either \
real files or zipped files, both with the same filepath.

homepage http://zziplib.sourceforge.net/
master_sites sourceforge:zziplib
distname zziplib-${version}
checksums md5 3eccd9b39c057eb49652e90914abfdf5
use_bzip2 yes

depends_lib lib:libz:zlib
depends_build bin:pkg-config:pkgconfig

patchfiles patch-zzip__types.h

post-destroot {
file delete -force ${destroot}${prefix}/lib/pkgconfig \
${destroot}${prefix}/share/aclocal
xinstall -d -m 755 ${destroot}${prefix}/share/doc
file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
}

files