mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
12af0f394a
I recalculated distinfo myself using `make makesum`, so it differs from the distinfo given in the patch. Note that version 1.5.3 is released for those who want to pick up this port. PR: 245244 Submitted by: papowell@astart.com Approved by: maintainer (pkbubaj) MFH: 2020Q2
36 lines
888 B
Makefile
36 lines
888 B
Makefile
# Created by: Piotr Kubaj <pkubaj@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= openconnect-gui
|
|
PORTVERSION= 1.4.1
|
|
DISTVERSIONPREFIX=v
|
|
PORTREVISION= 4
|
|
CATEGORIES= security net-vpn
|
|
|
|
MAINTAINER= pkubaj@FreeBSD.org
|
|
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>
|