# ex:ts=8
# New ports collection makefile for:	libxml++
# Date created:			Feb 26, 2001
# Whom:				Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD: ports/textproc/libxml++/Makefile,v 1.17 2003/05/22 03:53:06 foxfair Exp $
#

PORTNAME=	libxml++
PORTVERSION=	0.23.0
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME:S/+/plus/g}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	XML API for C++

USE_GNOME=	gnomehack libxml2
USE_REINPLACE=	yes
USE_LIBTOOL=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB=	yes

post-patch:
	@${REINPLACE_CMD} -e \
		's|<istream>|<iostream>|g' ${WRKSRC}/libxml++/document.cc

.include <bsd.port.mk>
