# Created by: ijliao # $FreeBSD: head/textproc/xmlwrapp/Makefile 413746 2016-04-21 16:43:14Z swills $ PORTNAME= xmlwrapp PORTVERSION= 0.7.0 PORTREVISION= 4 CATEGORIES= textproc MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Modern style C++ library for working with XML data LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_powerpc64= Does not build LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs OPTIONS_DEFINE= XSLT DOCS XSLT_DESC= Build libxsltwrap library (requires libxslt) OPTIONS_SUB= yes XSLT_USE= gnome=libxslt XSLT_CONFIGURE_ENABLE= xslt USES= pathfix pkgconfig libtool USE_GNOME= libxml2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-silent-rules USE_LDCONFIG= yes INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lboost_system PORTDOCS= * post-patch: @${REINPLACE_CMD} '/if test/s|==|=|' ${WRKSRC}/configure @${REINPLACE_CMD} '/^SUBDIRS/s|docs||' ${WRKSRC}/Makefile.in post-install: @(cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) .include