git: 562fae296ada - main - math/qalculate-qt: Update to 5.0.0

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Thu, 28 Mar 2024 21:19:44 UTC
The branch main has been updated by jhale:

URL: https://cgit.FreeBSD.org/ports/commit/?id=562fae296ada3ce9effb2c40c3d82d5351ab8010

commit 562fae296ada3ce9effb2c40c3d82d5351ab8010
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2024-03-13 05:23:06 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2024-03-28 21:14:18 +0000

    math/qalculate-qt: Update to 5.0.0
    
    Drop local Qt 5.x support for ease of maintainership and its eventual
    removal from the FreeBSD ports tree. Qt 5.x has been long deprecated
    upstream [1] and the FreeBSD kde@ team recommends using Qt 6.x for
    end-user applications whenever possible.
    
    https://github.com/Qalculate/qalculate-qt/releases/tag/v5.0.0
    
    [1] https://www.qt.io/blog/qt-5.15-support-ends
---
 MOVED                      |  2 ++
 math/qalculate-qt/Makefile | 18 +++++-------------
 math/qalculate-qt/distinfo |  6 +++---
 3 files changed, 10 insertions(+), 16 deletions(-)

diff --git a/MOVED b/MOVED
index cf3cf52cf955..ecb33c5f5f2a 100644
--- a/MOVED
+++ b/MOVED
@@ -3060,3 +3060,5 @@ security/rubygem-metasploit-aggregator||2024-03-24|Has expired: No longer used,
 net-p2p/tooth||2024-03-24|Has expired: Project has been renamed to Tuba. Consider porting to the new project. See https://github.com/GeopJr/Tuba
 www/tidy-devel|www/tidy-html5|2024-03-25|Has expired: no more dev at SF, replaced by www/tidy-html5
 www/tidy-lib|www/tidy-html5|2024-03-25|Has expired: no more dev at SF, replaced by www/tidy-html5
+math/qalculate-qt@qt5|math/qalculate-qt|2024-03-13|Flavorization has been removed. Qt 5.x has been long deprecated upstream. Please use the unflavored math/qalculate-qt port based on Qt 6.x instead
+math/qalculate-qt@qt6|math/qalculate-qt|2024-03-13|Flavorization has been removed. Continue to enjoy math/qalculate-qt based on Qt 6.x as usual
diff --git a/math/qalculate-qt/Makefile b/math/qalculate-qt/Makefile
index bcc9c53c8258..3ddfaa24a1c2 100644
--- a/math/qalculate-qt/Makefile
+++ b/math/qalculate-qt/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	qalculate-qt
-PORTVERSION=	4.9.0
+PORTVERSION=	5.0.0
 CATEGORIES=	math
 MASTER_SITES=	https://github.com/Qalculate/${PORTNAME}/releases/download/v${PORTVERSION}/
-PKGNAMESUFFIX=	${FLAVOR:S/qt//}
 
 MAINTAINER=	jhale@FreeBSD.org
 COMMENT=	Multi-purpose desktop calculator (Qt frontend)
@@ -14,18 +13,11 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libqalculate.so:math/libqalculate
 RUN_DEPENDS=	gnuplot:math/gnuplot
 
-FLAVORS=		qt6 qt5
-FLAVOR?=		${FLAVORS:[1]}
-qt5_CONFLICTS_INSTALL=	qalculate-qt qalculate-qt6
-qt6_CONFLICTS_INSTALL=	qalculate-qt qalculate-qt5
+USES=		compiler:c++17-lang gl pkgconfig qmake qt:6
+USE_GL=		opengl
+USE_QT=		base tools:build
 
-USES=		compiler:c++11-lib gl pkgconfig qmake qt:${FLAVOR:S/qt//}
-_USE_GL_qt5=	gl
-_USE_GL_qt6=	opengl
-USE_GL=		${_USE_GL_${FLAVOR}}
-_USE_QT_qt5=	buildtools:build linguisttools:build core gui network widgets
-_USE_QT_qt6=	base tools:build
-USE_QT=		${_USE_QT_${FLAVOR}}
+CONFLICTS_INSTALL=	qalculate-qt5 qalculate-qt6
 
 OPTIONS_DEFINE=	NLS
 OPTIONS_SUB=	yes
diff --git a/math/qalculate-qt/distinfo b/math/qalculate-qt/distinfo
index d7a578a9cba8..b65f93b28573 100644
--- a/math/qalculate-qt/distinfo
+++ b/math/qalculate-qt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1701456286
-SHA256 (qalculate-qt-4.9.0.tar.gz) = d3d2a054ed73c005fe2e64dc1882a0fe2f9aef817d59f30898efe4a80edf1330
-SIZE (qalculate-qt-4.9.0.tar.gz) = 1738477
+TIMESTAMP = 1710296884
+SHA256 (qalculate-qt-5.0.0.tar.gz) = 4143033faba2851de992dc7da96a81362b11a447256b0df7cbc0fbfabbd34408
+SIZE (qalculate-qt-5.0.0.tar.gz) = 1747001