freebsd-ports/textproc/xmlwrapp/Makefile
Jimmy Olgeni 22d7896c17 Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. A few Makefiles
where not included as they contain Latin-1 characters that break
the Phabricator workflow. Categories T-V.

CR:		D509
Approved by:	portmgr (antoine)
2014-08-03 14:15:08 +00:00

44 lines
997 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= xmlwrapp
PORTVERSION= 0.7.0
PORTREVISION= 3
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
LIB_DEPENDS= libboost_iostreams.so:${PORTSDIR}/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
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 <bsd.port.mk>