1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/security/openconnect-gui/Makefile
2020-01-06 16:34:40 +00:00

38 lines
910 B
Makefile

# Created by: Piotr Kubaj <pkubaj@FreeBSD.org>
# $FreeBSD$
PORTNAME= openconnect-gui
PORTVERSION= 1.4.1
DISTVERSIONPREFIX=v
PORTREVISION= 3
CATEGORIES= security net-vpn
MAINTAINER= pkubaj@FreeBSD.org
COMMENT= Graphical OpenConnect client
BROKEN= unfetchable
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>