# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem 1.0
name                xar
version             1.5.2
categories          archivers sysutils
platforms           darwin
description         xar is the eXtensible ARchiver
maintainers         mww
long_description    ${description}
homepage            http://code.google.com/p/xar/
master_sites        http://xar.googlecode.com/files/
checksums           sha1 eb411a92167387aa5d06a81970f7e929ec3087c9

depends_lib         port:bzip2 \
                    port:libiconv \
                    port:libxml2 \
                    port:openssl \
                    port:zlib

configure.args      --mandir=${prefix}/share/man \
                    --with-libz=${prefix} \
                    --with-libbzip2=${prefix} \
                    --with-libcrypto=${prefix} \
                    --with-xml2-config=${prefix}/bin/xml2-config

livecheck.type	regex
livecheck.url	http://code.google.com/p/xar/downloads/list?can=2&q=&sort=-uploaded
livecheck.regex	files/xar-(\[0-9\.\]+).tar.gz

