aboutsummaryrefslogtreecommitdiff
path: root/security/lasso
diff options
context:
space:
mode:
authorTom Judge <tj@FreeBSD.org>2012-06-02 03:26:33 +0000
committerTom Judge <tj@FreeBSD.org>2012-06-02 03:26:33 +0000
commitbd8d25a2d69ed036c7a731829007c97146c0cdd1 (patch)
treeeeb1a0e0a6eda1248ca674f9e3c87de2520cb1e0 /security/lasso
parentd799790648a9fa06d69e30437474a56291eb44c8 (diff)
downloadports-bd8d25a2d69ed036c7a731829007c97146c0cdd1.tar.gz
ports-bd8d25a2d69ed036c7a731829007c97146c0cdd1.zip
Convert to OptionsNG framework.
Approved by: eadler (mentor)
Notes
Notes: svn path=/head/; revision=297986
Diffstat (limited to 'security/lasso')
-rw-r--r--security/lasso/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/security/lasso/Makefile b/security/lasso/Makefile
index 061fa268b14c..851b4067506a 100644
--- a/security/lasso/Makefile
+++ b/security/lasso/Makefile
@@ -24,13 +24,11 @@ USE_LDCONFIG= yes
USE_OPENSSL= yes
USE_PYTHON_BUILD= yes
-OPTIONS= PERL "Enable Perl Bindings" Off \
- PHP5 "Enable PHP5 Bindings" Off \
- PYTHON "Enable Python Bindings" Off
+OPTIONS_DEFINE= PERL PHP PYTHON
.include <bsd.port.options.mk>
-.ifdef(WITH_PERL)
+.if !empty(PORT_OPTIONS:MPERL)
CONFIGURE_ARGS+= --enable-perl
PLIST_SUB+= WITH_PERL=""
USE_PERL5= yes
@@ -39,7 +37,7 @@ CONFIGURE_ARGS+= --disable-perl
PLIST_SUB+= WITH_PERL="@comment "
.endif
-.ifdef(WITH_PHP5)
+.if !empty(PORT_OPTIONS:MPHP)
CONFIGURE_ARGS+= --enable-php5 \
--with-php5-config="${LOCALBASE}/bin/php-config"
IGNORE_WITH_PHP= 4
@@ -53,7 +51,7 @@ CONFIGURE_ARGS+= --disable-php5
PLIST_SUB+= WITH_PHP5="@comment "
.endif
-.ifdef(WITH_PYTHON)
+.if !empty(PORT_OPTIONS:MPYTHON)
CONFIGURE_ARGS+= --enable-python
PLIST_SUB+= WITH_PYTHON=""
USE_PYTHON= yes