aboutsummaryrefslogtreecommitdiff
path: root/databases/pear-DB_Table
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-DB_Table
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-DB_Table')
-rw-r--r--databases/pear-DB_Table/Makefile22
1 files changed, 4 insertions, 18 deletions
diff --git a/databases/pear-DB_Table/Makefile b/databases/pear-DB_Table/Makefile
index 800a7f050f82..23a286156464 100644
--- a/databases/pear-DB_Table/Makefile
+++ b/databases/pear-DB_Table/Makefile
@@ -10,29 +10,15 @@ CATEGORIES= databases www pear
MAINTAINER= miwi@FreeBSD.org
COMMENT= PEAR object-oriented interface to a database table
-BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
+USES= pear
-LATEST_LINK= pear-DB_Table
OPTIONS_DEFINE= PEAR_HTML_QUICKFORM PEAR_DB PEAR_MDB2
PEAR_HTML_QUICKFORM_DESC= PEAR::HTML_QuickForm support
PEAR_DB_DESC= PEAR::DB support
PEAR_MDB2_DESC= PEAR::MDB2 support
-PEAR_AUTOINSTALL= yes
-.include <bsd.port.options.mk>
+PEAR_HTML_QUICKFORM_RUN_DEPENDS= ${PEARDIR}/HTML/QuickForm.php:${PORTSDIR}/devel/pear-HTML_QuickForm
+PEAR_DB_RUN_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
+PEAR_MDB2_RUN_DEPENDS= ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
-.if ${PORT_OPTIONS:MPEAR_HTML_QUICKFORM}
-RUN_DEPENDS+= ${PEARDIR}/HTML/QuickForm.php:${PORTSDIR}/devel/pear-HTML_QuickForm
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_DB}
-RUN_DEPENDS+= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_MDB2}
-RUN_DEPENDS+= ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
-.endif
-
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.mk>