mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 11:56:28 -04:00
- Fix OPTIONS processing in previous commit
- Bump PORTREVISION for package change Noticed by: stas
This commit is contained in:
parent
5775dc3abe
commit
ecb8350b91
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=272615
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue