svn commit: r301256 - head/security/pear-Auth_OpenID
Baptiste Daroussin
bapt at FreeBSD.org
Fri Jul 20 22:12:58 UTC 2012
Author: bapt
Date: Fri Jul 20 22:12:58 2012
New Revision: 301256
URL: http://svn.freebsd.org/changeset/ports/301256
Log:
Convert to new options framework
Modified:
head/security/pear-Auth_OpenID/Makefile
Modified: head/security/pear-Auth_OpenID/Makefile
==============================================================================
--- head/security/pear-Auth_OpenID/Makefile Fri Jul 20 22:10:31 2012 (r301255)
+++ head/security/pear-Auth_OpenID/Makefile Fri Jul 20 22:12:58 2012 (r301256)
@@ -27,8 +27,9 @@ LATEST_LINK= pear-Auth_OpenID
WRKSRC= ${WRKDIR}/php-openid-${PORTVERSION}
-OPTIONS= BCMATH "Use bcmath instead of libgmp" off \
- PEAR_DB "Support SQL stores" off
+OPTIONS_DEFINE= BCMATH PEAR_DB
+BCMATH_DESC= Use bcmath instead of libgmp
+PEAR_DB_DESC= Support SQL stores
USE_PHP= curl dom
USE_PYTHON_BUILD= yes
@@ -178,13 +179,13 @@ _DOCSDIR= doc
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
EXTRACT_SUFX= .tar.bz2
-.ifdef(WITH_BCMATH)
+.if ${PORT_OPTIONS:MBCMATH}
USE_PHP+= bcmath
.else
USE_PHP+= gmp
.endif
-.ifdef(WITH_PEAR_DB)
+.if ${PORT_OPTIONS:MPEAR_DB}
BUILD_DEPENDS+= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
RUN_DEPENDS+= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
.endif
More information about the svn-ports-head
mailing list