mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
befa71e0f3
Changes: http://www.boost.org/users/history/version_1_71_0.html PR: 238827 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D20774
47 lines
1.0 KiB
Makefile
47 lines
1.0 KiB
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xmlwrapp
|
|
PORTVERSION= 0.7.0
|
|
PORTREVISION= 18
|
|
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= fails to configure: invalid value: boost_major_version=
|
|
|
|
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= compiler:c++11-lang libtool pathfix pkgconfig
|
|
USE_GNOME= libxml2
|
|
GNU_CONFIGURE= yes
|
|
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 <bsd.port.mk>
|