sysutils/UEFITool: flavorize for both qt5 and qt6

This commit is contained in:
Piotr Kubaj 2022-10-04 09:25:42 +02:00
parent 8f0e8efc92
commit cec9fc8ffc

View file

@ -1,6 +1,7 @@
PORTNAME= UEFITool
DISTVERSIONPREFIX= A
DISTVERSION= 62
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= pkubaj@FreeBSD.org
@ -10,10 +11,16 @@ WWW= https://github.com/LongSoft/UEFITool
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/../LICENSE.md
USES= compiler:c++11-lang gl qmake:outsource qt:5
USES= compiler:c++11-lang gl qmake:outsource qt:${FLAVOR:S/qt//}
FLAVORS= qt5 qt6
FLAVOR?= qt5
qt5_PKGNAMESUFFIX= -qt5
qt6_PKGNAMESUFFIX= -qt6
USE_GITHUB= yes
USE_GL= gl
USE_QT= core gui widgets buildtools:build qmake:build
_USE_QT5= core gui widgets buildtools:build qmake:build
_USE_QT6= base
USE_QT= ${_USE_QT${FLAVOR:S/qt//}}
WRKSRC_SUBDIR= ${PORTNAME}
GH_ACCOUNT= LongSoft