# $Id$ PortSystem 1.0 name xar-devel version 1.6 revision 5 categories archivers sysutils platforms darwin freebsd linux license BSD description xar is the eXtensible ARchiver maintainers nomaintainer long_description ${description} homepage http://code.google.com/p/xar/ checksums sha1 bf6506dd200ea18ea1331391da7aaece1188208d distname xar-${version} fetch.type svn svn.url http://xar.googlecode.com/svn/trunk/xar svn.revision 224 worksrcdir xar depends_lib port:bzip2 \ port:xz \ port:libiconv \ port:libxml2 \ path:lib/libssl.dylib:openssl \ port:zlib patchfiles patch-lzmaxar.c use_autoconf yes configure.args --mandir=${prefix}/share/man \ --with-libz=${prefix} \ --with-libbzip2=${prefix} \ --with-liblzma=${prefix} \ --with-libcrypto=${prefix} \ --with-xml2-config=${prefix}/bin/xml2-config post-destroot { reinplace "s/installed=no/installed=yes/" ${destpath}${prefix}/lib/libxar.la } 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