# New ports collection makefile for:	libnxml
# Date created:		2006-04-09
# Whom:			Nicola Vitale	<nivit@email.it>
#
# $FreeBSD: ports/textproc/libnxml/Makefile,v 1.16 2007/09/22 09:22:23 nivit Exp $
#

PORTNAME=	libnxml
PORTVERSION=	0.18.1
CATEGORIES=	textproc devel
MASTER_SITES=	http://www5.autistici.org/bakunin/libnxml/ GENTOO/distfiles \
		http://nivi.interfree.it/distfiles/${PORTNAME}/${PORTVERSION}/

MAINTAINER=	nivit@FreeBSD.org
COMMENT=	A C library for writing XML 1.0/1.1 files or streams

LIB_DEPENDS=	curl.4:${PORTSDIR}/ftp/curl

GNU_CONFIGURE=	yes
CONFIGURE_ENV+=	CPPFLAGS="-I/${LOCALBASE}/include" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

USE_LDCONFIG=	yes

WANT_GNOME=	yes

pre-patch:
	${gnomehack_PRE_PATCH}

.include <bsd.port.mk>
