aboutsummaryrefslogtreecommitdiff
path: root/security/pear-Crypt_RSA
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-09-26 09:05:59 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-09-26 09:05:59 +0000
commitb34b62504270f2292763071ad4b569292d128eab (patch)
treebd48bdb15c434819e5cee08284fec6bc335e2120 /security/pear-Crypt_RSA
parent3e566dc59013cd5a8f50ca845c296fc562148fbb (diff)
downloadports-b34b62504270f2292763071ad4b569292d128eab.tar.gz
ports-b34b62504270f2292763071ad4b569292d128eab.zip
Notes
Diffstat (limited to 'security/pear-Crypt_RSA')
-rw-r--r--security/pear-Crypt_RSA/Makefile17
1 files changed, 3 insertions, 14 deletions
diff --git a/security/pear-Crypt_RSA/Makefile b/security/pear-Crypt_RSA/Makefile
index 255587711304..a3d67a9931ac 100644
--- a/security/pear-Crypt_RSA/Makefile
+++ b/security/pear-Crypt_RSA/Makefile
@@ -9,24 +9,13 @@ CATEGORIES= security www pear
MAINTAINER= miwi@FreeBSD.org
COMMENT= PEAR class allows you to use two-key strong cryptography
-BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
+USES= pear
OPTIONS_DEFINE= BCMATH GMP
BCMATH_DESC= PHP BCMath extension support
GMP_DESC= PHP GMP extension support
-LATEST_LINK= pear-${PORTNAME}
+BCMATH_USE= PHP=bcmath
+GMP_USE= PHP=gmp
-PEAR_AUTOINSTALL= yes
-
-.include <bsd.port.options.mk>
-
-.for opt in BCMATH GMP
-. if ${PORT_OPTIONS:M${opt}}
-USE_PHP+= ${opt:tl}
-. endif
-.endfor
-
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.mk>