# $Id: Portfile,v 1.8 2006/06/14 06:16:41 mww Exp $

PortSystem 1.0

name			libnxml
version			0.11
categories		textproc devel
platforms		darwin
maintainers		mww@opendarwin.org
description		C library for parsing, writing, and creating XML files
long_description	nXML is a C library for parsing, writing, and creating XML \
			1.0 and 1.1 files or streams. It supports UTF-8, UTF-16be and \
			UTF-16le, UCS-4 (1234, 4321, 2143, 2312).

homepage		http://www2.autistici.org/bakunin/codes.php
master_sites	http://autistici.org/bakunin/libnxml/
checksums		sha1 fddea5c40947623670a8802931a904ae3f1a849a

depends_lib		port:curl port:openssl port:zlib

configure.env	CFLAGS=-I${prefix}/include CPPFLAGS=-I${prefix}/include \
				LDFLAGS=-L${prefix}/lib

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

