# ex:ts=8 # Ports collection makefile for: xmlwrapp # Date created: Jan 14, 2003 # Whom: ijliao # # $FreeBSD$ # PORTNAME= xmlwrapp PORTVERSION= 0.5.0 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= A modern style C++ library for working with XML data USE_PERL5_BUILD= yes USE_GNOME= libxml2 pkgconfig WANT_GNOME= yes HAS_CONFIGURE= yes CONFIGURE_SCRIPT= configure.pl CONFIGURE_ARGS= --prefix ${PREFIX} USE_LDCONFIG= yes CFLAGS+= -fPIC .include .if ${HAVE_GNOME:Mlibxslt}!="" USE_GNOME+= libxslt .else CONFIGURE_ARGS+= --disable-xslt .endif post-patch: @${REINPLACE_CMD} "s:/usr/bin/perl:${PERL}:" ${WRKSRC}/configure.pl .include