blob: 40b3bf1cc608ddc3c32d469df3c723b5a7a68c18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
PORTNAME= openconnect-gui
PORTVERSION= 1.5.3
DISTVERSIONPREFIX=v
PORTREVISION= 2
MASTER_SITES= https://gitlab.com/openconnect/openconnect-gui/-/archive/v${PORTVERSION}/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
CATEGORIES= security net-vpn
MAINTAINER= pkubaj@FreeBSD.org
COMMENT= Graphical OpenConnect client
WWW= https://github.com/openconnect/openconnect-gui
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= openconnect:security/openconnect
LIB_DEPENDS= libgnutls.so:security/gnutls \
libspdlog.so:devel/spdlog \
libfmt.so:devel/libfmt
RUN_DEPENDS= openconnect:security/openconnect \
vpnc-scripts>=0:sysutils/vpnc-scripts
USES= cmake:insource compiler:c++11-lang pkgconfig qt:5
USE_GITHUB= nodefault
GH_TUPLE= qtproject:qt-solutions:a8dda66d:qtsolutions/external/src/qt-solutions-master
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>
|