Portfile

# $Id: Portfile 22590 2007-03-05 20:46:47Z toby@macports.org $

PortSystem 1.0
name libarchive
version 2.0.20
categories archivers
maintainers toby@macports.org
description functions for reading and writing streaming archives
long_description \
Libarchive is a programming library that can create and \
read several different streaming archive formats, including \
most popular tar variants and several cpio formats. It can \
also write shar archives.
homepage http://people.freebsd.org/~kientzle/libarchive/
platforms darwin

master_sites ${homepage}src/
checksums sha1 d33e399547cebf075057091c16d51834eed01571

depends_lib port:bzip2 port:zlib

configure.env CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
configure.args --mandir=${prefix}/share/man \
--disable-static --enable-shared