blob: d2f9d52c45892eb11e83602c81c913a22e672ab0 (
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
37
38
|
PORTNAME= globalprotect-openconnect
DISTVERSIONPREFIX= v
DISTVERSION= 1.4.9
PORTREVISION= 1
CATEGORIES= security net-vpn
MAINTAINER= jwb@FreeBSD.org
COMMENT= OpenConnect GUI for GlobalProtect protocol
WWW= https://github.com/yuezk/GlobalProtect-openconnect
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libopenconnect.so:security/openconnect \
libqt5keychain.so:security/qtkeychain@qt5
USES= cmake:noninja desktop-file-utils qt:5
USE_GITHUB= yes
USE_QT= buildtools core dbus declarative gui location network printsupport qmake:build webchannel webengine websockets widgets
GH_ACCOUNT= yuezk
GH_PROJECT= GlobalProtect-openconnect
GH_TUPLE+= itay-grudev:SingleApplication:v3.3.0:sa/3rdparty/SingleApplication
GH_TUPLE+= SergiusTheBest:plog:1.1.6:plog/3rdparty/plog
ETCDIR= ${PREFIX}/etc/gpservice
pre-configure:
${REINPLACE_CMD} -e 's|/etc/gpservice|${PREFIX}&|g' \
${WRKSRC}/GPClient/settingsdialog.ui \
${WRKSRC}/GPService/CMakeLists.txt \
${WRKSRC}/GPService/gpservice.cpp
post-stage:
${MV} ${STAGEDIR}${ETCDIR}/gp.conf ${STAGEDIR}${ETCDIR}/gp.conf.sample
${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd
.include <bsd.port.mk>
|