aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/xmlwrapp/Makefile
blob: 37af9656e65d008e5b1bcd7c8560654e3f576ce3 (plain) (blame)
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
# ex:ts=8
# Ports collection makefile for:    xmlwrapp
# Date created:         Jan 14, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   xmlwrapp
PORTVERSION=    0.6.2
CATEGORIES= textproc
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    A modern style C++ library for working with XML data

LIB_DEPENDS=    boost_thread:${PORTSDIR}/devel/boost-libs

OPTIONS=    XSLT "build libxsltwrap library (requires libxslt)" off

CONFIGURE_ARGS= --prefix ${PREFIX}
CPPFLAGS+=  -I${LOCALBASE}/include
USE_AUTOTOOLS=  libtool
USE_GNOME=  libxml2 pkgconfig gnomehack
USE_PERL5_BUILD=    yes
USE_LDCONFIG=   yes
WANT_GNOME= yes
HAS_CONFIGURE=  yes

.include <bsd.port.options.mk>

.if defined(WITH_XSLT)
USE_GNOME+= libxslt
.else
CONFIGURE_ARGS+=--disable-xslt
.endif

post-patch:
.if defined(NOPORTDOCS)
    ${REINPLACE_CMD} 's/docs//' ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.mk>