aboutsummaryrefslogtreecommitdiff
path: root/security/openconnect
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-04-12 15:15:35 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-04-12 15:15:35 +0000
commitecb8350b912c441abc6019226b917d2a624be3bd (patch)
tree3909423056b051ce382d2361b0ca5c299a071f8c /security/openconnect
parent5775dc3abe168dc636c84bb34c0ed503505b5856 (diff)
downloadports-ecb8350b912c441abc6019226b917d2a624be3bd.tar.gz
ports-ecb8350b912c441abc6019226b917d2a624be3bd.zip
Notes
Diffstat (limited to 'security/openconnect')
-rw-r--r--security/openconnect/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/openconnect/Makefile b/security/openconnect/Makefile
index 2ad6922d3810..0d99a580a425 100644
--- a/security/openconnect/Makefile
+++ b/security/openconnect/Makefile
@@ -7,6 +7,7 @@
PORTNAME= openconnect
PORTVERSION= 2.26
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ftp://ftp.infradead.org/pub/openconnect/ \
CRITICAL
@@ -28,7 +29,7 @@ PORTDOCS= README.*
OPTIONS= GUI "Enable the OpenConnect configuration GUI" off
-.if !defined(WITHOUT_GUI)
+.if defined(WITH_GUI)
LIB_DEPENDS+= gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20
LIB_DEPENDS+= gconf-2.4:${PORTSDIR}/devel/gconf2
PLIST_SUB+= WITH_GUI=""
@@ -39,7 +40,7 @@ PLIST_SUB+= WITH_GUI="@comment "
do-install:
${INSTALL_PROGRAM} -m 751 ${WRKSRC}/openconnect \
${PREFIX}/bin/openconnect
-.if !defined(WITHOUT_GUI)
+.if defined(WITH_GUI)
${INSTALL_PROGRAM} ${WRKSRC}/nm-openconnect-auth-dialog \
${PREFIX}/libexec
.endif