summaryrefslogtreecommitdiff
path: root/devel/qcoro/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/qcoro/Makefile')
-rw-r--r--devel/qcoro/Makefile23
1 files changed, 7 insertions, 16 deletions
diff --git a/devel/qcoro/Makefile b/devel/qcoro/Makefile
index edf66ef5ec55..01e80f9cc7e1 100644
--- a/devel/qcoro/Makefile
+++ b/devel/qcoro/Makefile
@@ -1,8 +1,8 @@
PORTNAME= qcoro
DISTVERSIONPREFIX= v
-DISTVERSION= 0.11.0
+DISTVERSION= 0.12.0
CATEGORIES= devel kde
-PKGNAMESUFFIX= -${FLAVOR}
+PKGNAMESUFFIX= -qt6
MAINTAINER= kde@FreeBSD.org
COMMENT= Coroutines for Qt
@@ -11,28 +11,19 @@ WWW= https://github.com/danvratil/qcoro
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSES/MIT.txt
-FLAVORS= qt5 qt6
-FLAVOR?= qt5
-
-USES= cmake:testing compiler:c++20-lang gl pkgconfig qt:${FLAVOR:S/qt//}
+USES= cmake:testing compiler:c++20-lang gl pkgconfig qt:6
USE_GITHUB= yes
GH_ACCOUNT= danvratil
-_USE_GL_qt5= # empty
-_USE_GL_qt6= opengl
-USE_GL= ${_USE_GL_${FLAVOR}}
-_USE_QT_qt5= core dbus declarative gui network websockets \
- buildtools:build concurrent:build qmake:build testlib:build
-_USE_QT_qt6= base declarative websockets
-USE_QT= ${_USE_QT_${FLAVOR}}
+USE_GL= opengl
+USE_QT= base declarative websockets
-CMAKE_ARGS= -DUSE_QT_VERSION=${FLAVOR:S/qt//}
+CMAKE_ARGS= -DUSE_QT_VERSION="6"
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_OFF= QCORO_BUILD_EXAMPLES \
QCORO_BUILD_TESTING
CMAKE_TESTING_ON= QCORO_BUILD_TESTING
-PLIST_SUB= QT_VER=${FLAVOR:S/qt//} \
- SHORTVER=${DISTVERSION:R:R} \
+PLIST_SUB= SHORTVER=${DISTVERSION:R:R} \
FULLVER=${DISTVERSION}
.include <bsd.port.mk>