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

PORTNAME=   xmlwrapp
PORTVERSION=    0.4.1
PORTREVISION=   1
CATEGORIES= textproc
MASTER_SITES=   http://pmade.org/pjones/software/xmlwrapp/download/

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

BUILD_DEPENDS=  pkg-config:${PORTSDIR}/devel/pkgconfig    
RUN_DEPENDS=    pkg-config:${PORTSDIR}/devel/pkgconfig    

USE_PERL5_BUILD=    yes
USE_GNOME=  libxml2
WANT_GNOME= yes
HAS_CONFIGURE=  yes
CONFIGURE_SCRIPT=   configure.pl
CONFIGURE_ARGS= --prefix ${PREFIX}
INSTALLS_SHLIB= yes

.include <bsd.port.pre.mk>

.if ${HAVE_GNOME:Mlibxslt}!=""
USE_GNOME+= libxslt
PLIST_SUB+= XSLT=""
.else
CONFIGURE_ARGS+=    --disable-xslt
PLIST_SUB+= XSLT="@comment "
.endif

.include <bsd.port.post.mk>