# $Id: Portfile,v 1.13 2006/02/24 10:49:09 mww Exp $

PortSystem 1.0
name			xar
version			1.4
categories		archivers sysutils
description		xar is the eXtensible ARchiver
maintainers		mww@opendarwin.org
long_description	${description}
homepage		http://www.opendarwin.org/projects/xar/
master_sites	${homepage}
checksums		sha1 18188beb297b69b34b7b4b4c132c62a73607d3d2

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

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

platform darwin 8 {
	configure.env	CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0
}
