aboutsummaryrefslogtreecommitdiff
path: root/databases/pear-XML_Query2XML
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-09-23 14:14:19 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-09-23 14:14:19 +0000
commit427938c0ffd5ba0c6b1e45cff4490585459f12a6 (patch)
tree0e4dc81cc360a9a3db5cc22bbec6952018cef4d2 /databases/pear-XML_Query2XML
parent71344a20489f06a4196155c87a5512705c1e5325 (diff)
downloadports-427938c0ffd5ba0c6b1e45cff4490585459f12a6.tar.gz
ports-427938c0ffd5ba0c6b1e45cff4490585459f12a6.zip
Convert to USES=pear
Use options helpers
Notes
Notes: svn path=/head/; revision=369062
Diffstat (limited to 'databases/pear-XML_Query2XML')
-rw-r--r--databases/pear-XML_Query2XML/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/databases/pear-XML_Query2XML/Makefile b/databases/pear-XML_Query2XML/Makefile
index 7f5ab5915f67..63cc8abf1ab6 100644
--- a/databases/pear-XML_Query2XML/Makefile
+++ b/databases/pear-XML_Query2XML/Makefile
@@ -11,22 +11,13 @@ COMMENT= PEAR class transform SQL queries into XML data
BUILD_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
RUN_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
-LATEST_LINK= pear-XML_Query2xml
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
-PEAR_AUTOINSTALL= yes
+USES= pear
-.include <bsd.port.options.mk>
+PEAR_MDB2_BUILD_DEPENDS= ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
+PEAR_NET_LDAP2_BUILD_DEPENDS= ${PEARDIR}/Net/LDAP2.php:${PORTSDIR}/net/pear-Net_LDAP2
-.if ${PORT_OPTIONS:MPEAR_MDB2}
-BUILD_DEPENDS+= ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
-.endif
-
-.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.mk>