From 4622ba06010e4275227c79dffd164532599ae146 Mon Sep 17 00:00:00 2001 From: romain Date: Thu, 4 Oct 2018 13:43:48 +0000 Subject: 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 --- security/yubikey-personalization-gui/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'security') 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 \ -- cgit