aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorromain <romain@FreeBSD.org>2018-10-04 21:43:48 +0800
committerromain <romain@FreeBSD.org>2018-10-04 21:43:48 +0800
commit4622ba06010e4275227c79dffd164532599ae146 (patch)
tree7845bc1a7e24572541ab98a5c245164ff68d5e98 /security
parent042dc71c3a01d55fb324b02f49ecdec7a8c59462 (diff)
downloadfreebsd-ports-gnome-4622ba06010e4275227c79dffd164532599ae146.tar.gz
freebsd-ports-gnome-4622ba06010e4275227c79dffd164532599ae146.tar.zst
freebsd-ports-gnome-4622ba06010e4275227c79dffd164532599ae146.zip
Build against QT5 by default
QT4 is still supported and options where introduced to allow users to choose which version of QT they want yubikey-personalization-gui to be built against. While here, pet portlint. Since the version of QT change, bump PORTREVISION. PR: 231808 Reported by: cmt
Diffstat (limited to 'security')
-rw-r--r--security/yubikey-personalization-gui/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/security/yubikey-personalization-gui/Makefile b/security/yubikey-personalization-gui/Makefile
index 667de8417a50..a28c92f542ba 100644
--- a/security/yubikey-personalization-gui/Makefile
+++ b/security/yubikey-personalization-gui/Makefile
@@ -3,6 +3,7 @@
PORTNAME= yubikey-personalization-gui
PORTVERSION= 3.1.25
DISTVERSIONPREFIX= ${PORTNAME}-
+PORTREVISION= 1
CATEGORIES= security
MAINTAINER= romain@FreeBSD.org
@@ -14,11 +15,19 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libykpers-1.so:security/ykpers \
libyubikey.so:security/libyubikey
+USES= pkgconfig qmake
USE_GITHUB= yes
+
GH_ACCOUNT= Yubico
-USES= pkgconfig qmake qt:4
-USE_QT= corelib gui moc_build rcc_build testlib_build uic_build
+OPTIONS_DEFAULT= QT5
+OPTIONS_SINGLE= QT
+OPTIONS_SINGLE_QT= QT4 QT5
+
+QT4_USES= qt:4
+QT5_USES= qt:5
+QT4_USE= qt=corelib,gui,moc_build,rcc_build,testlib_build,uic_build
+QT5_USE= qt=buildtools_build,core,gui,testlib_build,widgets
PLIST_FILES= bin/yubikey-personalization-gui \
man/man1/yubikey-personalization-gui.1.gz \