- Fix OPTIONS processing in previous commit

- Bump PORTREVISION for package change

Noticed by:	stas
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-04-12 15:15:35 +00:00
parent 5775dc3abe
commit ecb8350b91
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=272615

View file

@ -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