git: eed771696111 - main - devel/qt6: new port -- metaport for Qt 6

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Mon, 22 Aug 2022 17:43:01 UTC
The branch main has been updated by tcberner:

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

commit eed771696111d2fb5bb1dd42d8d418b287298470
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-08-22 17:38:51 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-08-22 17:38:54 +0000

    devel/qt6: new port -- metaport for Qt 6
    
    - while here, fix components for lottie and languageserver.
---
 Mk/Uses/qt.mk       |  4 ++--
 devel/Makefile      |  1 +
 devel/qt6/Makefile  | 11 +++++++++++
 devel/qt6/pkg-descr |  9 +++++++++
 4 files changed, 23 insertions(+), 2 deletions(-)

diff --git a/Mk/Uses/qt.mk b/Mk/Uses/qt.mk
index cb4b16d45c14..cedf0b206bee 100644
--- a/Mk/Uses/qt.mk
+++ b/Mk/Uses/qt.mk
@@ -215,10 +215,10 @@ qt-help_LIB=		libQt${_QT_LIBVER}Help.so
 qt-imageformats_PORT=	graphics/${_QT_RELNAME}-imageformats
 qt-imageformats_PATH=	${LOCALBASE}/${QT_PLUGINDIR_REL}/imageformats/libqtiff.so
 
-qt-languageserver_PORT=	devel/qt${_QT_RELNAME}-languageserver
+qt-languageserver_PORT=	devel/${_QT_RELNAME}-languageserver
 qt-languageserver_LIB=	libQt${_QT_LIBVER}LanguageServer.so
 
-qt-lottie_PORT=		graphics/qt${_QT_RELNAME}-lottie
+qt-lottie_PORT=		graphics/${_QT_RELNAME}-lottie
 qt-lottie_LIB=		libQt${_QT_LIBVER}Bodymovin.so
 
 qt-linguist_PORT=	devel/${_QT_RELNAME}-linguist
diff --git a/devel/Makefile b/devel/Makefile
index 24d35c751fd6..68623f3b8f28 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5614,6 +5614,7 @@
     SUBDIR += qt5-scxml
     SUBDIR += qt5-testlib
     SUBDIR += qt5-uitools
+    SUBDIR += qt6
     SUBDIR += qt6-5compat
     SUBDIR += qt6-base
     SUBDIR += qt6-languageserver
diff --git a/devel/qt6/Makefile b/devel/qt6/Makefile
new file mode 100644
index 000000000000..43f634f6f513
--- /dev/null
+++ b/devel/qt6/Makefile
@@ -0,0 +1,11 @@
+PORTNAME=	qt6
+DISTVERSION=	${QT6_VERSION}
+CATEGORIES=	devel
+
+MAINTAINER=	kde@FreeBSD.org
+COMMENT=	Cross-platform application and UI framework (metaport)
+
+USES=		metaport qt:6
+USE_QT=		${_USE_QT_ALL:S/$/_run/}
+
+.include <bsd.port.mk>
diff --git a/devel/qt6/pkg-descr b/devel/qt6/pkg-descr
new file mode 100644
index 000000000000..8df43c629bc5
--- /dev/null
+++ b/devel/qt6/pkg-descr
@@ -0,0 +1,9 @@
+Qt is a cross-platform application and UI framework for developers
+using C++ or QML, a CSS/JavaScript-like language.
+
+With Qt, code can be reused efficiently to target multiple platforms
+with one code base. The modular C++ class library and developer tools
+easily enables developers to create applications for one platform and
+easily build and run to deploy on another platform.
+
+WWW: https://www.qt.io/