forked from Lainports/freebsd-ports
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
35 lines
880 B
Makefile
35 lines
880 B
Makefile
# Created by: Piotr Kubaj <pkubaj@anongoth.pl>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= openconnect-gui
|
|
PORTVERSION= 1.4.1
|
|
DISTVERSIONPREFIX=v
|
|
PORTREVISION= 3
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= pkubaj@anongoth.pl
|
|
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>
|