aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-08-19 17:41:28 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-08-19 17:41:28 +0800
commit565eb73610452911e3271b51db09e9a670a735a6 (patch)
tree76aab614ed7c033207cae6ab874e05edaa4bdf23 /security
parent8d8ce8c0081b9a5a40764d88f2fb3f29f80bd896 (diff)
downloadfreebsd-ports-gnome-565eb73610452911e3271b51db09e9a670a735a6.tar.gz
freebsd-ports-gnome-565eb73610452911e3271b51db09e9a670a735a6.tar.zst
freebsd-ports-gnome-565eb73610452911e3271b51db09e9a670a735a6.zip
Actually switch to opt_CMAKE_BOOL
Diffstat (limited to 'security')
-rw-r--r--security/i2pd/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/security/i2pd/Makefile b/security/i2pd/Makefile
index 6e396e3e11f8..8304347a59b9 100644
--- a/security/i2pd/Makefile
+++ b/security/i2pd/Makefile
@@ -28,14 +28,11 @@ PORTDOCS= *
OPTIONS_DEFINE= AESNI UPNP DOCS
-AESNI_DESC= Use AES-NI instructions set
-AESNI_CMAKE_ON= -DWITH_AESNI=ON
-AESNI_CMAKE_OFF=-DWITH_AESNI=OFF
-
-UPNP_DESC= Include support for UPnP client
-UPNP_CMAKE_ON= -DWITH_UPNP=ON
-UPNP_CMAKE_OFF= -DWITH_UPNP=OFF
-UPNP_LIB_DEPENDS=libminiupnpc.so:net/miniupnpc
+AESNI_DESC= Use AES-NI instructions set
+AESNI_CMAKE_BOOL= WITH_AESNI
+UPNP_DESC= Include support for UPnP client
+UPNP_CMAKE_BOOL= WITH_UPNP
+UPNP_LIB_DEPENDS= libminiupnpc.so:net/miniupnpc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin