aboutsummaryrefslogtreecommitdiff
path: root/databases/pear-XML_Query2XML
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-12-17 02:15:13 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-12-17 02:15:13 +0000
commit3bdf701a5c55426eb679205359bb384d7019a1a2 (patch)
tree2462f02d26b3d6c876b0b158f0a6aa557f06a219 /databases/pear-XML_Query2XML
parent87b9f8cbd167accbbbbcf020b1dfed71e5f93278 (diff)
Notes
Diffstat (limited to 'databases/pear-XML_Query2XML')
-rw-r--r--databases/pear-XML_Query2XML/Makefile19
1 files changed, 8 insertions, 11 deletions
diff --git a/databases/pear-XML_Query2XML/Makefile b/databases/pear-XML_Query2XML/Makefile
index 34d82ea98cdf..91b52fa1e213 100644
--- a/databases/pear-XML_Query2XML/Makefile
+++ b/databases/pear-XML_Query2XML/Makefile
@@ -1,9 +1,5 @@
-# Ports collection makefile for: pear-XML_Query2xml
-# Date created: 23 March 2008
-# Whom: wenheping<wenheping@gmail.com>
-#
+# Created by: wenheping<wenheping@gmail.com>
# $FreeBSD$
-#
PORTNAME= XML_Query2XML
PORTVERSION= 1.7.2
@@ -16,8 +12,9 @@ BUILD_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
RUN_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
LATEST_LINK= pear-XML_Query2xml
-OPTIONS= PEAR_MDB2 "Add support for pear-MDB2" Off \
- PEAR_Net_LDAP2 "Add support for pear-Net_LDAP2" Off
+OPTIONS_DEFINE= PEAR_MDB2 PEAR_NET_LDAP2
+PEAR_MDB2_DESC= Add support for pear-MDB2
+PEAR_NET_LDAP2_DESC= Add support for pear-Net_LDAP2
FILES= XML/Query2XML.php XML/Query2XML/ISO9075Mapper.php \
XML/Query2XML/Callback.php \
@@ -316,15 +313,15 @@ TESTS= Query2XML_Tests.psql \
XML_Query2XML_ISO9075Mapper/skipif.php
_TESTSDIR= tests
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_PEAR_MDB2)
+.if ${PORT_OPTIONS:MPEAR_MDB2}
BUILD_DEPENDS+= ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
.endif
-.if defined(WITH_PEAR_Net_LDAP2)
+.if ${PORT_OPTIONS:MPEAR_NET_LDAP2}
BUILD_DEPENDS+= ${PEARDIR}/Net/LDAP2.php:${PORTSDIR}/net/pear-Net_LDAP2
.endif
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>