aboutsummaryrefslogtreecommitdiff
path: root/textproc/xmlwrapp/Makefile
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2003-05-19 00:59:26 +0000
committerPete Fritchman <petef@FreeBSD.org>2003-05-19 00:59:26 +0000
commit1954490a5a5f7333b9d6aa13bd6a40cf08b18241 (patch)
tree9de292020ffdb6cf7ee2d9367f1e838a5314a5dc /textproc/xmlwrapp/Makefile
parent06b4254dc323818047044c5286a1b61c56258e54 (diff)
Notes
Diffstat (limited to 'textproc/xmlwrapp/Makefile')
-rw-r--r--textproc/xmlwrapp/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/textproc/xmlwrapp/Makefile b/textproc/xmlwrapp/Makefile
index e2da7f0ab102..ec210268a19a 100644
--- a/textproc/xmlwrapp/Makefile
+++ b/textproc/xmlwrapp/Makefile
@@ -8,26 +8,32 @@
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
-LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
+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
-.if defined(WITH_XSLT)
-LIB_DEPENDS+= xslt.1:${PORTSDIR}/textproc/libxslt
+.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.mk>
+.include <bsd.port.post.mk>