Date: Fri, 20 Jul 2012 22:12:58 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r301256 - head/security/pear-Auth_OpenID Message-ID: <201207202212.q6KMCwCe044293@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207202212.q6KMCwCe044293>