blob: 528d1c7048b0c39a377786ff30a564fbbe76c123 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Created by: ijliao
# $FreeBSD$
PORTNAME= xmlwrapp
PORTVERSION= 0.7.0
PORTREVISION= 6
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
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>
|