ddae4e92d8
Most USES use a colon for build/run(/test) suffixes. Change kde.mk, qt.mk and pyqt.mk to do the same, and update all ports using that. Document in CHANGES. PR: 266034 Exp-run by: antoine Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D36349
36 lines
1 KiB
Makefile
36 lines
1 KiB
Makefile
PORTNAME= globalprotect-openconnect
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.4.7
|
|
CATEGORIES= security
|
|
|
|
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
|
|
|
|
USES= cmake:noninja 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>
|