# $Id: Portfile 107252 2013-06-24 10:44:30Z mfeiri@macports.org $

PortSystem 1.0
name             libarchive
homepage         http://libarchive.org/
master_sites     ${homepage}downloads/
version          3.1.2

categories       archivers
license          BSD
maintainers      toby
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, several cpio formats, 7zip and rar. It can \
	also write shar archives.
platforms        darwin

checksums        rmd160  77c42598b754996481c1fa45c71eca5a428a094c \
                 sha256  eb87eacd8fe49e8d90c8fdc189813023ccc319c5e752b01fb6ad0cc7b2c53d5e

depends_lib      port:bzip2 port:zlib port:openssl port:libxml2 port:xz \
                 port:lzo2

configure.args   --enable-bsdtar=shared --enable-bsdcpio=shared

livecheck.type  regex
livecheck.regex libarchive-(\[0-9.\]+)\\.tar.gz
