forked from Lainports/freebsd-ports
based on discussion at ports@ [1]. As VPN softwares are put in different physical category net and security. This is a little bit confusing. Let's give them new virtual category net-vpn. [1] https://lists.freebsd.org/pipermail/freebsd-ports/2019-April/115915.html PR: 239395 Submitted by: myself Approved by: portmgr (mat) Differential Revision: https://reviews.freebsd.org/D21174
35 lines
888 B
Makefile
35 lines
888 B
Makefile
# Created by: Piotr Kubaj <pkubaj@anongoth.pl>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= openconnect-gui
|
|
PORTVERSION= 1.4.1
|
|
DISTVERSIONPREFIX=v
|
|
PORTREVISION= 3
|
|
CATEGORIES= security net-vpn
|
|
|
|
MAINTAINER= pkubaj@anongoth.pl
|
|
COMMENT= Graphical OpenConnect client
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
BUILD_DEPENDS= openconnect:security/openconnect
|
|
LIB_DEPENDS= libgnutls.so:security/gnutls
|
|
RUN_DEPENDS= openconnect:security/openconnect \
|
|
vpnc-scripts>=0:sysutils/vpnc-scripts
|
|
|
|
USES= cmake:insource compiler:c++11-lang pkgconfig qt:5
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= ${PORTNAME:C/-gui//}
|
|
|
|
USE_QT= buildtools_build concurrent core gui network qmake_build widgets
|
|
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
|
|
PLIST_FILES= bin/openconnect-gui
|
|
|
|
do-install:
|
|
${MV} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|