diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-10-04 07:25:42 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-10-04 07:26:27 +0000 |
commit | cec9fc8ffc8570db29f2525e147c89484d9b7fa2 (patch) | |
tree | 697d8a6b0c60cd404c8ed21e4b39c3670dda7f61 | |
parent | 8f0e8efc92752afd3be1ae359831ab4829c575b2 (diff) | |
download | ports-cec9fc8ffc8570db29f2525e147c89484d9b7fa2.tar.gz ports-cec9fc8ffc8570db29f2525e147c89484d9b7fa2.zip |
sysutils/UEFITool: flavorize for both qt5 and qt6
-rw-r--r-- | sysutils/UEFITool/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sysutils/UEFITool/Makefile b/sysutils/UEFITool/Makefile index 517fa9b1502d..bc4dfd8e5744 100644 --- a/sysutils/UEFITool/Makefile +++ b/sysutils/UEFITool/Makefile @@ -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 |