# ex:ts=8
# New ports collection makefile for:	xmlpp
# Date created:			May 22, 2001
# Whom:				ijliao
#
# $FreeBSD: ports/textproc/xmlpp/Makefile,v 1.8 2003/05/18 09:35:13 kris Exp $
#

PORTNAME=	xmlpp
PORTVERSION=	0.7a
CATEGORIES=	textproc
MASTER_SITES=	http://www.root.at/download/gpl/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	XML Parser and Validator

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500113
BROKEN=         "Does not compile (bad C++ code)"
.endif

USE_REINPLACE=	yes
FETCH_CMD=	/usr/bin/fetch
USE_GMAKE=	yes
USE_LIBTOOL=	yes

pre-patch:
	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
		's|/usr/local/share|$$(datadir)|g'

.include <bsd.port.post.mk>
