git: 633534bf7683 - main - KDE: Add KDE Frameworks 6 ports

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Sat, 02 Dec 2023 13:19:49 UTC
The branch main has been updated by tcberner:

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

commit 633534bf76831ac5b3e0d6afa47923d621a4f8f5
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2023-12-02 10:12:12 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2023-12-02 13:19:39 +0000

    KDE: Add KDE Frameworks 6 ports
    
    KDE's 6th Megarelease - Alpha
    
    Wednesday, 8 November 2023
    
    En route to the new Plasma, Frameworks and Gear
    
    Every few years we port the key components of our software to a new
    version of Qt, taking the opportunity to remove cruft and leverage the
    updated features the most recent version of Qt has to offer us.
    
    It has been nearly 10 years since the last big release of our flagship
    Plasma desktop environment, and the time has come again. KDE is making
    available today the Alpha version of all the software we will include in
    a megarelease scheduled for the end of February 2024.
    
    Announcement: https://kde.org/announcements/megarelease/6/alpha/
    Obtained from:  https://github.com/tcberner/kde6-overlay/
    
    Further ports specific changes:
     * multimedia/phonon: is now flavored for Qt5 and Qt6
---
 Mk/Uses/kde.mk                              |   497 +-
 Mk/Uses/qt.mk                               |     6 +-
 archivers/Makefile                          |     1 +
 archivers/kf6-karchive/Makefile             |    14 +
 archivers/kf6-karchive/distinfo             |     3 +
 archivers/kf6-karchive/pkg-plist            |    69 +
 deskutils/Makefile                          |     1 +
 deskutils/kf6-kstatusnotifieritem/Makefile  |    15 +
 deskutils/kf6-kstatusnotifieritem/distinfo  |     3 +
 deskutils/kf6-kstatusnotifieritem/pkg-plist |    39 +
 devel/Makefile                              |    29 +
 devel/kf6-extra-cmake-modules/Makefile      |    35 +
 devel/kf6-extra-cmake-modules/distinfo      |     3 +
 devel/kf6-extra-cmake-modules/pkg-plist     |   332 +
 devel/kf6-kapidox/Makefile                  |    16 +
 devel/kf6-kapidox/distinfo                  |     3 +
 devel/kf6-kapidox/pkg-plist                 |    61 +
 devel/kf6-kauth/Makefile                    |    13 +
 devel/kf6-kauth/distinfo                    |     3 +
 devel/kf6-kauth/pkg-plist                   |   126 +
 devel/kf6-kbookmarks/Makefile               |    14 +
 devel/kf6-kbookmarks/distinfo               |     3 +
 devel/kf6-kbookmarks/pkg-plist              |   121 +
 devel/kf6-kcmutils/Makefile                 |    15 +
 devel/kf6-kcmutils/distinfo                 |     3 +
 devel/kf6-kcmutils/pkg-plist                |   195 +
 devel/kf6-kconfig/Makefile                  |    13 +
 devel/kf6-kconfig/distinfo                  |     3 +
 devel/kf6-kconfig/pkg-plist                 |   162 +
 devel/kf6-kcoreaddons/Makefile              |    12 +
 devel/kf6-kcoreaddons/distinfo              |     3 +
 devel/kf6-kcoreaddons/pkg-plist             |   204 +
 devel/kf6-kcrash/Makefile                   |    15 +
 devel/kf6-kcrash/distinfo                   |     3 +
 devel/kf6-kcrash/pkg-plist                  |    13 +
 devel/kf6-kdbusaddons/Makefile              |    15 +
 devel/kf6-kdbusaddons/distinfo              |     3 +
 devel/kf6-kdbusaddons/pkg-plist             |    75 +
 devel/kf6-kdeclarative/Makefile             |    14 +
 devel/kf6-kdeclarative/distinfo             |     3 +
 devel/kf6-kdeclarative/pkg-plist            |   132 +
 devel/kf6-kdoctools/Makefile                |    20 +
 devel/kf6-kdoctools/distinfo                |     3 +
 devel/kf6-kdoctools/pkg-plist               |  1150 ++
 devel/kf6-kfilemetadata/Makefile            |    14 +
 devel/kf6-kfilemetadata/distinfo            |     3 +
 devel/kf6-kfilemetadata/pkg-plist           |   106 +
 devel/kf6-ki18n/Makefile                    |    12 +
 devel/kf6-ki18n/distinfo                    |     3 +
 devel/kf6-ki18n/pkg-plist                   |   170 +
 devel/kf6-kidletime/Makefile                |    20 +
 devel/kf6-kidletime/distinfo                |     3 +
 devel/kf6-kidletime/pkg-plist               |    16 +
 devel/kf6-kio/Makefile                      |    22 +
 devel/kf6-kio/distinfo                      |     3 +
 devel/kf6-kio/pkg-plist                     |   764 +
 devel/kf6-kitemmodels/Makefile              |    12 +
 devel/kf6-kitemmodels/distinfo              |     3 +
 devel/kf6-kitemmodels/pkg-plist             |    35 +
 devel/kf6-knewstuff/Makefile                |    14 +
 devel/kf6-knewstuff/distinfo                |     3 +
 devel/kf6-knewstuff/pkg-plist               |   182 +
 devel/kf6-knotifications/Makefile           |    17 +
 devel/kf6-knotifications/distinfo           |     3 +
 devel/kf6-knotifications/pkg-plist          |   124 +
 devel/kf6-knotifyconfig/Makefile            |    17 +
 devel/kf6-knotifyconfig/distinfo            |     3 +
 devel/kf6-knotifyconfig/pkg-plist           |   114 +
 devel/kf6-kpackage/Makefile                 |    13 +
 devel/kf6-kpackage/distinfo                 |     3 +
 devel/kf6-kpackage/pkg-plist                |    77 +
 devel/kf6-kparts/Makefile                   |    15 +
 devel/kf6-kparts/distinfo                   |     3 +
 devel/kf6-kparts/pkg-plist                  |   147 +
 devel/kf6-kpeople/Makefile                  |    14 +
 devel/kf6-kpeople/distinfo                  |     3 +
 devel/kf6-kpeople/pkg-plist                 |   108 +
 devel/kf6-kpty/Makefile                     |    13 +
 devel/kf6-kpty/distinfo                     |     3 +
 devel/kf6-kpty/pkg-plist                    |   118 +
 devel/kf6-kservice/Makefile                 |    13 +
 devel/kf6-kservice/distinfo                 |     3 +
 devel/kf6-kservice/pkg-plist                |   129 +
 devel/kf6-ktexteditor/Makefile              |    20 +
 devel/kf6-ktexteditor/distinfo              |     3 +
 devel/kf6-ktexteditor/pkg-plist             |   152 +
 devel/kf6-ktexttemplate/Makefile            |    12 +
 devel/kf6-ktexttemplate/distinfo            |     3 +
 devel/kf6-ktexttemplate/pkg-plist           |    62 +
 devel/kf6-kunitconversion/Makefile          |    13 +
 devel/kf6-kunitconversion/distinfo          |     3 +
 devel/kf6-kunitconversion/pkg-plist         |    80 +
 devel/kf6-solid/Makefile                    |    15 +
 devel/kf6-solid/distinfo                    |     3 +
 devel/kf6-solid/pkg-plist                   |   110 +
 devel/kf6-threadweaver/Makefile             |    12 +
 devel/kf6-threadweaver/distinfo             |     3 +
 devel/kf6-threadweaver/pkg-plist            |    75 +
 dns/Makefile                                |     1 +
 dns/kf6-kdnssd/Makefile                     |    12 +
 dns/kf6-kdnssd/distinfo                     |     3 +
 dns/kf6-kdnssd/pkg-plist                    |   127 +
 graphics/Makefile                           |     5 +
 graphics/kf6-kimageformats/Makefile         |    13 +
 graphics/kf6-kimageformats/distinfo         |     3 +
 graphics/kf6-kimageformats/pkg-plist        |    11 +
 graphics/kf6-kplotting/Makefile             |    13 +
 graphics/kf6-kplotting/distinfo             |     3 +
 graphics/kf6-kplotting/pkg-plist            |    18 +
 graphics/kf6-kquickcharts/Makefile          |    13 +
 graphics/kf6-kquickcharts/distinfo          |     3 +
 graphics/kf6-kquickcharts/pkg-plist         |    23 +
 graphics/kf6-ksvg/Makefile                  |    14 +
 graphics/kf6-ksvg/distinfo                  |     3 +
 graphics/kf6-ksvg/pkg-plist                 |    20 +
 graphics/kf6-prison/Makefile                |    17 +
 graphics/kf6-prison/distinfo                |     3 +
 graphics/kf6-prison/pkg-plist               |    35 +
 misc/Makefile                               |     1 +
 misc/kf6-purpose/Makefile                   |    15 +
 misc/kf6-purpose/distinfo                   |     3 +
 misc/kf6-purpose/pkg-plist                  |   664 +
 multimedia/phonon/Makefile                  |    28 +-
 multimedia/phonon/pkg-plist                 |   336 -
 multimedia/phonon/pkg-plist.qt5             |   336 +
 multimedia/phonon/pkg-plist.qt6             |   291 +
 net/Makefile                                |     5 +
 net/kf6-kcalendarcore/Makefile              |    15 +
 net/kf6-kcalendarcore/distinfo              |     3 +
 net/kf6-kcalendarcore/pkg-plist             |    79 +
 net/kf6-kcontacts/Makefile                  |    14 +
 net/kf6-kcontacts/distinfo                  |     3 +
 net/kf6-kcontacts/pkg-plist                 |   136 +
 net/kf6-kdav/Makefile                       |    14 +
 net/kf6-kdav/distinfo                       |     3 +
 net/kf6-kdav/pkg-plist                      |    94 +
 net/kf6-kholidays/Makefile                  |    12 +
 net/kf6-kholidays/distinfo                  |     3 +
 net/kf6-kholidays/pkg-plist                 |   101 +
 net/kf6-syndication/Makefile                |    13 +
 net/kf6-syndication/distinfo                |     3 +
 net/kf6-syndication/pkg-plist               |    75 +
 security/Makefile                           |     1 +
 security/kf6-kdesu/Makefile                 |    14 +
 security/kf6-kdesu/distinfo                 |     3 +
 security/kf6-kdesu/pkg-plist                |    79 +
 sysutils/Makefile                           |     3 +
 sysutils/kf6-baloo/Makefile                 |    18 +
 sysutils/kf6-baloo/distinfo                 |     3 +
 sysutils/kf6-baloo/pkg-plist                |   515 +
 sysutils/kf6-kuserfeedback/Makefile         |    15 +
 sysutils/kf6-kuserfeedback/distinfo         |     3 +
 sysutils/kf6-kuserfeedback/pkg-plist        |   134 +
 sysutils/kf6-kwallet/Makefile               |    18 +
 sysutils/kf6-kwallet/distinfo               |     3 +
 sysutils/kf6-kwallet/pkg-plist              |   153 +
 textproc/Makefile                           |     3 +
 textproc/kf6-kcodecs/Makefile               |    12 +
 textproc/kf6-kcodecs/distinfo               |     3 +
 textproc/kf6-kcodecs/pkg-plist              |   120 +
 textproc/kf6-sonnet/Makefile                |    16 +
 textproc/kf6-sonnet/distinfo                |     3 +
 textproc/kf6-sonnet/pkg-plist               |   145 +
 textproc/kf6-syntax-highlighting/Makefile   |    13 +
 textproc/kf6-syntax-highlighting/distinfo   |     3 +
 textproc/kf6-syntax-highlighting/pkg-plist  |   122 +
 x11-themes/Makefile                         |     4 +
 x11-themes/kf6-breeze-icons/Makefile        |    21 +
 x11-themes/kf6-breeze-icons/distinfo        |     3 +
 x11-themes/kf6-breeze-icons/pkg-plist       | 27540 ++++++++++++++++++++++++++
 x11-themes/kf6-kcolorscheme/Makefile        |    14 +
 x11-themes/kf6-kcolorscheme/distinfo        |     3 +
 x11-themes/kf6-kcolorscheme/pkg-plist       |    51 +
 x11-themes/kf6-kiconthemes/Makefile         |    16 +
 x11-themes/kf6-kiconthemes/distinfo         |     3 +
 x11-themes/kf6-kiconthemes/pkg-plist        |   127 +
 x11-themes/kf6-qqc2-desktop-style/Makefile  |    14 +
 x11-themes/kf6-qqc2-desktop-style/distinfo  |     3 +
 x11-themes/kf6-qqc2-desktop-style/pkg-plist |    73 +
 x11-toolkits/Makefile                       |    10 +
 x11-toolkits/kf6-attica/Makefile            |    12 +
 x11-toolkits/kf6-attica/distinfo            |     3 +
 x11-toolkits/kf6-attica/pkg-plist           |    93 +
 x11-toolkits/kf6-kcompletion/Makefile       |    14 +
 x11-toolkits/kf6-kcompletion/distinfo       |     3 +
 x11-toolkits/kf6-kcompletion/pkg-plist      |   131 +
 x11-toolkits/kf6-kconfigwidgets/Makefile    |    15 +
 x11-toolkits/kf6-kconfigwidgets/distinfo    |     3 +
 x11-toolkits/kf6-kconfigwidgets/pkg-plist   |   244 +
 x11-toolkits/kf6-kguiaddons/Makefile        |    18 +
 x11-toolkits/kf6-kguiaddons/distinfo        |     3 +
 x11-toolkits/kf6-kguiaddons/pkg-plist       |    47 +
 x11-toolkits/kf6-kirigami/Makefile          |    15 +
 x11-toolkits/kf6-kirigami/distinfo          |     3 +
 x11-toolkits/kf6-kirigami/pkg-plist         |   195 +
 x11-toolkits/kf6-kitemviews/Makefile        |    13 +
 x11-toolkits/kf6-kitemviews/distinfo        |     3 +
 x11-toolkits/kf6-kitemviews/pkg-plist       |   129 +
 x11-toolkits/kf6-kjobwidgets/Makefile       |    16 +
 x11-toolkits/kf6-kjobwidgets/distinfo       |     3 +
 x11-toolkits/kf6-kjobwidgets/pkg-plist      |   130 +
 x11-toolkits/kf6-ktextwidgets/Makefile      |    15 +
 x11-toolkits/kf6-ktextwidgets/distinfo      |     3 +
 x11-toolkits/kf6-ktextwidgets/pkg-plist     |   127 +
 x11-toolkits/kf6-kwidgetsaddons/Makefile    |    13 +
 x11-toolkits/kf6-kwidgetsaddons/distinfo    |     3 +
 x11-toolkits/kf6-kwidgetsaddons/pkg-plist   |   274 +
 x11-toolkits/kf6-kxmlgui/Makefile           |    15 +
 x11-toolkits/kf6-kxmlgui/distinfo           |     3 +
 x11-toolkits/kf6-kxmlgui/pkg-plist          |   157 +
 x11/Makefile                                |     6 +
 x11/kf6-frameworkintegration/Makefile       |    15 +
 x11/kf6-frameworkintegration/distinfo       |     3 +
 x11/kf6-frameworkintegration/pkg-plist      |    14 +
 x11/kf6-frameworks/Makefile                 |    16 +
 x11/kf6-frameworks/pkg-descr                |    11 +
 x11/kf6-kded/Makefile                       |    14 +
 x11/kf6-kded/distinfo                       |     3 +
 x11/kf6-kded/pkg-plist                      |     9 +
 x11/kf6-kglobalaccel/Makefile               |    13 +
 x11/kf6-kglobalaccel/distinfo               |     3 +
 x11/kf6-kglobalaccel/pkg-plist              |   119 +
 x11/kf6-krunner/Makefile                    |    14 +
 x11/kf6-krunner/distinfo                    |     3 +
 x11/kf6-krunner/pkg-plist                   |    31 +
 x11/kf6-kwindowsystem/Makefile              |    20 +
 x11/kf6-kwindowsystem/distinfo              |     3 +
 x11/kf6-kwindowsystem/pkg-plist             |   153 +
 228 files changed, 39811 insertions(+), 567 deletions(-)

diff --git a/Mk/Uses/kde.mk b/Mk/Uses/kde.mk
index 20c8aa74d638..4559ed1b6cf1 100644
--- a/Mk/Uses/kde.mk
+++ b/Mk/Uses/kde.mk
@@ -1,13 +1,14 @@
 # Provides support for KDE and KF5-based ports.
 #
 # Feature:	kde
-# Valid ARGS:	5
+# Valid ARGS:	5 6
 #
 # 5:		Depend on KDE Frameworks 5 components and variables.
+# 6:		Depend on KDE Frameworks 6 components and variables.
 #
 # Variables that can be set by a port:
 #
-# USE_KDE	List of KF5/Plasma5 components (other ports) that this
+# USE_KDE	List of KF[56]/Plasma[56] components (other ports) that this
 #		port depends on.
 #		* foo:build	Add a build-time dependency (BUILD_DEPENDS)
 #		* foo:run	Add a run-time dependency (RUN_DEPENDS)
@@ -51,7 +52,7 @@
 .if !defined(_INCLUDE_USES_KDE_MK)
 _INCLUDE_USES_KDE_MK=	yes
 
-_KDE_SUPPORTED=		5
+_KDE_SUPPORTED=		5 6
 
 .  if empty(kde_ARGS)
 IGNORE=	kde needs a version (${_KDE_SUPPORTED})
@@ -74,20 +75,35 @@ IGNORE?=	kde:[${_KDE_SUPPORTED:S/ //g}] needs an argument  #'
 _KDE_RELNAME=		KDE${_KDE_VERSION}
 
 # === VERSIONS OF THE DIFFERENT COMPONENTS =====================================
+KDE_PLASMA_VERSION?=		${KDE_PLASMA${_KDE_VERSION}_VERSION}
+KDE_PLASMA_BRANCH?=		${KDE_PLASMA${_KDE_VERSION}_BRANCH}
+
+KDE_FRAMEWORKS_VERSION?=	${KDE_FRAMEWORKS${_KDE_VERSION}_VERSION}
+KDE_FRAMEWORKS_BRANCH?=		${KDE_FRAMEWORKS${_KDE_VERSION}_BRANCH}
+
+KDE_APPLICATIONS_BRANCH?=	${KDE_APPLICATIONS${_KDE_VERSION}_BRANCH}
+KDE_APPLICATIONS_VERSION?=	${KDE_APPLICATIONS${_KDE_VERSION}_VERSION}
+KDE_APPLICATIONS_SHLIB_VER?=	${KDE_APPLICATIONS${_KDE_VERSION}_SHLIB_VER}
+KDE_APPLICATIONS_SHLIB_G_VER?=	${KDE_APPLICATIONS${_KDE_VERSION}_SHLIB_G_VER}
+
 # Current KDE desktop.
-KDE_PLASMA_VERSION?=		5.27.9
-KDE_PLASMA_BRANCH?=		stable
+KDE_PLASMA5_VERSION?=		5.27.9
+KDE_PLASMA5_BRANCH?=		stable
 
 # Current KDE frameworks.
-KDE_FRAMEWORKS_VERSION?=	5.112.0
-KDE_FRAMEWORKS_BRANCH?=		stable
+KDE_FRAMEWORKS5_VERSION?=	5.112.0
+KDE_FRAMEWORKS5_BRANCH?=	stable
+
+# Next KDE Frameworks (Qt6 based)
+KDE_FRAMEWORKS6_VERSION?=	5.246.0
+KDE_FRAMEWORKS6_BRANCH?=	unstable
 
 # Current KDE applications.
-KDE_APPLICATIONS_VERSION?=	23.08.3
-KDE_APPLICATIONS_SHLIB_VER?=	5.24.3
+KDE_APPLICATIONS5_VERSION?=	23.08.3
+KDE_APPLICATIONS5_SHLIB_VER?=	5.24.3
 # G as in KDE Gear, and as in "don't make the variable name longer than required"
-KDE_APPLICATIONS_SHLIB_G_VER?=	23.8.3
-KDE_APPLICATIONS_BRANCH?=	stable
+KDE_APPLICATIONS5_SHLIB_G_VER?=	23.8.3
+KDE_APPLICATIONS5_BRANCH?=	stable
 
 # Extended KDE universe applications.
 CALLIGRA_VERSION?=		2.9.11
@@ -161,28 +177,36 @@ DOCSDIR=		${PREFIX}/share/doc
 PORTDOCS?=		HTML/*
 USE_KDE+=		doctools:build
 .        endif
+.        if ${_KDE_VERSION:M6}
+PKGNAMESUFFIX?=		-devel
+.        endif
 # Further pass along a SHLIB_VER PLIST_SUB
 PLIST_SUB+=		KDE_APPLICATIONS_SHLIB_VER=${KDE_APPLICATIONS_SHLIB_VER} \
 			KDE_APPLICATIONS_VERSION_SHORT="${KDE_APPLICATIONS_VERSION:R:R}"
 DIST_SUBDIR?=		KDE/release-service/${KDE_APPLICATIONS_VERSION}
 .      elif ${_KDE_CATEGORY:Mkde-plasma}
 PORTVERSION?=		${KDE_PLASMA_VERSION}
-PKGNAMEPREFIX?=		plasma5-
+PKGNAMEPREFIX?=		plasma${_KDE_VERSION}-
 MASTER_SITES?=		KDE/${KDE_PLASMA_BRANCH}/plasma/${KDE_PLASMA_VERSION}
 DIST_SUBDIR?=		KDE/plasma/${KDE_PLASMA_VERSION}
 .      elif ${_KDE_CATEGORY:Mkde-frameworks}
 PORTVERSION?=		${KDE_FRAMEWORKS_VERSION}
-PKGNAMEPREFIX?=		kf5-
+PKGNAMEPREFIX?=		kf${_KDE_VERSION}-
 WWW?=			https://api.kde.org/frameworks/${PORTNAME}/html/index.html
 # This is a slight duplication of _USE_FRAMEWORKS_PORTING -- it maybe would be
 # better to rely on ${_USE_FRAMEWORKS_PORTING:S/^/k/g}
 _PORTINGAIDS=		kjs kjsembed kdelibs4support kdesignerplugin kdewebkit khtml kmediaplayer kross kxmlrpcclient
-.        if ${_PORTINGAIDS:M*${PORTNAME}*}
+.        if ${_KDE_VERSION:M5}
+.          if ${_PORTINGAIDS:M*${PORTNAME}*}
 MASTER_SITES?=		KDE/${KDE_FRAMEWORKS_BRANCH}/frameworks/${KDE_FRAMEWORKS_VERSION:R}/portingAids
-.        else
+.          else
 MASTER_SITES?=		KDE/${KDE_FRAMEWORKS_BRANCH}/frameworks/${KDE_FRAMEWORKS_VERSION:R}
+.          endif
+.        else
+MASTER_SITES?=		KDE/${KDE_FRAMEWORKS_BRANCH}/frameworks/${KDE_FRAMEWORKS_VERSION}
 .        endif
 DIST_SUBDIR?=		KDE/frameworks/${KDE_FRAMEWORKS_VERSION}
+DESCR=			${.CURDIR:H:H}/x11/kf6-frameworks/pkg-descr
 .      else
 IGNORE?=		unknown CATEGORY value '${_KDE_CATEGORY}' #'
 .      endif
@@ -223,7 +247,7 @@ PLIST_SUB+=		KDE_APPLICATIONS_VERSION="${KDE_APPLICATIONS_VERSION}" \
 
 _USE_KDE_BOTH=		akonadi attica libkcddb libkcompactdisc libkdcraw libkdegames \
 			libkeduvocdocument libkexiv2 libkipi libksane okular \
-			baloo baloo-widgets kate marble 
+			baloo baloo-widgets kate marble
 
 # List of components of the KDE Frameworks distribution.
 # The *_TIER<n> variables are internal, primarily for checking
@@ -253,7 +277,7 @@ _USE_FRAMEWORKS_TIER4=	frameworkintegration calendarcore contacts
 # new projects should avoid using these libraries.
 _USE_FRAMEWORKS_PORTING=js jsembed kdelibs4support khtml mediaplayer kross
 
-_USE_FRAMEWORKS_ALL=	ecm \
+_USE_FRAMEWORKS5_ALL=	ecm \
 			${_USE_FRAMEWORKS_TIER1} \
 			${_USE_FRAMEWORKS_TIER2} \
 			${_USE_FRAMEWORKS_TIER3} \
@@ -262,6 +286,17 @@ _USE_FRAMEWORKS_ALL=	ecm \
 			${_USE_FRAMEWORKS_EXTRA} \
 			kpublictransport kosm \
 			plasma-wayland-protocols
+# TODO: fix
+_USE_FRAMEWORKS6_ALL=	ecm colorscheme \
+			svg \
+			statusnotifieritem \
+			plasma-wayland-protocols \
+			${_USE_FRAMEWORKS_TIER1:Noxygen-icons5:Nwayland} \
+			${_USE_FRAMEWORKS_TIER2} \
+			${_USE_FRAMEWORKS_TIER3:Nkdewebkit:Nemoticons:Ndesignerplugin:Nactivities:Nactivities-stats:Ninit:Nplasma-framework:Nxmlrpcclient:Nkpipewire} \
+			${_USE_FRAMEWORKS_TIER4} \
+			${_USE_FRAMEWORKS_EXTRA}
+_USE_FRAMEWORKS_ALL=	${_USE_FRAMEWORKS${_KDE_VERSION}_ALL}
 
 # List of components of the KDE Plasma distribution.
 _USE_PLASMA_ALL=	activitymanagerd breeze breeze-gtk \
@@ -295,381 +330,401 @@ _USE_KDE5_ALL=		${_USE_FRAMEWORKS_ALL} \
 			${_USE_PLASMA_ALL} \
 			${_USE_KDEPIM5_ALL} \
 			${_USE_KDE_BOTH}
+_USE_KDE6_ALL=		${_USE_FRAMEWORKS_ALL}
 
 # ====================== frameworks components =================================
-kde-activities_PORT=	x11/kf5-kactivities
-kde-activities_LIB=		libKF5Activities.so
+kde-activities_PORT=	x11/kf${_KDE_VERSION}-kactivities
+kde-activities_LIB=		libKF${_KDE_VERSION}Activities.so
 
-kde-activities-stats_PORT=	x11/kf5-kactivities-stats
-kde-activities-stats_LIB=	libKF5ActivitiesStats.so
+kde-activities-stats_PORT=	x11/kf${_KDE_VERSION}-kactivities-stats
+kde-activities-stats_LIB=	libKF${_KDE_VERSION}ActivitiesStats.so
 
-kde-apidox_PORT=		devel/kf5-kapidox
+kde-apidox_PORT=		devel/kf${_KDE_VERSION}-kapidox
 kde-apidox_PATH=		${KDE_PREFIX}/bin/kapidox-generate
 kde-apidox_TYPE=		run
 
-kde-archive_PORT=		archivers/kf5-karchive
-kde-archive_LIB=		libKF5Archive.so
+kde-archive_PORT=		archivers/kf${_KDE_VERSION}-karchive
+kde-archive_LIB=		libKF${_KDE_VERSION}Archive.so
 
-kde-attica5_PORT=		x11-toolkits/kf5-attica
-kde-attica5_LIB=		libKF5Attica.so
+kde-attica5_PORT=		x11-toolkits/kf${_KDE_VERSION}-attica
+kde-attica5_LIB=		libKF${_KDE_VERSION}Attica.so
 
-kde-auth_PORT=			devel/kf5-kauth
-kde-auth_LIB=			libKF5Auth.so
+kde-auth_PORT=			devel/kf${_KDE_VERSION}-kauth
+kde-auth_LIB=			libKF${_KDE_VERSION}AuthCore.so
 
-kde-baloo5_PORT=		sysutils/kf5-baloo
-kde-baloo5_LIB=			libKF5Baloo.so
+kde-baloo5_PORT=		sysutils/kf${_KDE_VERSION}-baloo
+kde-baloo5_LIB=			libKF${_KDE_VERSION}Baloo.so
 
-kde-bookmarks_PORT=		devel/kf5-kbookmarks
-kde-bookmarks_LIB=		libKF5Bookmarks.so
+kde-bookmarks_PORT=		devel/kf${_KDE_VERSION}-kbookmarks
+kde-bookmarks_LIB=		libKF${_KDE_VERSION}Bookmarks.so
 
-kde-breeze-icons_PORT=		x11-themes/kf5-breeze-icons
+kde-breeze-icons_PORT=		x11-themes/kf${_KDE_VERSION}-breeze-icons
 kde-breeze-icons_PATH=		${KDE_PREFIX}/share/icons/breeze/index.theme
 kde-breeze-icons_TYPE=		run
 
-kde-codecs_PORT=		textproc/kf5-kcodecs
-kde-codecs_LIB=			libKF5Codecs.so
+kde-codecs_PORT=		textproc/kf${_KDE_VERSION}-kcodecs
+kde-codecs_LIB=			libKF${_KDE_VERSION}Codecs.so
 
-kde-completion_PORT=		x11-toolkits/kf5-kcompletion
-kde-completion_LIB=		libKF5Completion.so
+kde-completion_PORT=		x11-toolkits/kf${_KDE_VERSION}-kcompletion
+kde-completion_LIB=		libKF${_KDE_VERSION}Completion.so
 
-kde-config_PORT=		devel/kf5-kconfig
-kde-config_LIB=			libKF5ConfigCore.so
+kde-config_PORT=		devel/kf${_KDE_VERSION}-kconfig
+kde-config_LIB=			libKF${_KDE_VERSION}ConfigCore.so
 
-kde-configwidgets_PORT=		x11-toolkits/kf5-kconfigwidgets
-kde-configwidgets_LIB=		libKF5ConfigWidgets.so
+kde-configwidgets_PORT=		x11-toolkits/kf${_KDE_VERSION}-kconfigwidgets
+kde-configwidgets_LIB=		libKF${_KDE_VERSION}ConfigWidgets.so
 
-kde-coreaddons_PORT=		devel/kf5-kcoreaddons
-kde-coreaddons_LIB=		libKF5CoreAddons.so
+kde-coreaddons_PORT=		devel/kf${_KDE_VERSION}-kcoreaddons
+kde-coreaddons_LIB=		libKF${_KDE_VERSION}CoreAddons.so
 
-kde-crash_PORT=			devel/kf5-kcrash
-kde-crash_LIB=			libKF5Crash.so
+kde-crash_PORT=			devel/kf${_KDE_VERSION}-kcrash
+kde-crash_LIB=			libKF${_KDE_VERSION}Crash.so
 
-kde-dbusaddons_PORT=		devel/kf5-kdbusaddons
-kde-dbusaddons_LIB=		libKF5DBusAddons.so
+kde-dbusaddons_PORT=		devel/kf${_KDE_VERSION}-kdbusaddons
+kde-dbusaddons_LIB=		libKF${_KDE_VERSION}DBusAddons.so
 
-kde-designerplugin_PORT=	x11-toolkits/kf5-kdesignerplugin
+kde-designerplugin_PORT=	x11-toolkits/kf${_KDE_VERSION}-kdesignerplugin
 kde-designerplugin_PATH=	${KDE_PREFIX}/bin/kgendesignerplugin
 kde-designerplugin_TYPE=	run
 
-kde-dnssd_PORT=			dns/kf5-kdnssd
-kde-dnssd_LIB=			libKF5DNSSD.so
+kde-dnssd_PORT=			dns/kf${_KDE_VERSION}-kdnssd
+kde-dnssd_LIB=			libKF${_KDE_VERSION}DNSSD.so
 
-kde-doctools_PORT=		devel/kf5-kdoctools
-kde-doctools_PATH=		${KDE_PREFIX}/bin/meinproc5
+kde-doctools_PORT=		devel/kf${_KDE_VERSION}-kdoctools
+kde-doctools_PATH=		${KDE_PREFIX}/bin/meinproc${_KDE_VERSION}
 
-kde-ecm_PORT=			devel/kf5-extra-cmake-modules
+kde-ecm_PORT=			devel/kf${_KDE_VERSION}-extra-cmake-modules
 kde-ecm_PATH=			${LOCALBASE}/share/ECM/cmake/ECMConfig.cmake
 
-kde-emoticons_PORT=		x11-themes/kf5-kemoticons
-kde-emoticons_LIB=		libKF5Emoticons.so
+kde-emoticons_PORT=		x11-themes/kf${_KDE_VERSION}-kemoticons
+kde-emoticons_LIB=		libKF${_KDE_VERSION}Emoticons.so
 
-kde-filemetadata_PORT=		devel/kf5-kfilemetadata
-kde-filemetadata_LIB=		libKF5FileMetaData.so
+kde-filemetadata_PORT=		devel/kf${_KDE_VERSION}-kfilemetadata
+kde-filemetadata_LIB=		libKF${_KDE_VERSION}FileMetaData.so
 
-kde-frameworkintegration_PORT=	x11/kf5-frameworkintegration
-kde-frameworkintegration_LIB=	libKF5Style.so
+kde-frameworkintegration_PORT=	x11/kf${_KDE_VERSION}-frameworkintegration
+kde-frameworkintegration_LIB=	libKF${_KDE_VERSION}Style.so
 
-kde-globalaccel_PORT=		x11/kf5-kglobalaccel
-kde-globalaccel_LIB=		libKF5GlobalAccel.so
+kde-globalaccel_PORT=		x11/kf${_KDE_VERSION}-kglobalaccel
+kde-globalaccel_LIB=		libKF${_KDE_VERSION}GlobalAccel.so
 
-kde-guiaddons_PORT=		x11-toolkits/kf5-kguiaddons
-kde-guiaddons_LIB=		libKF5GuiAddons.so
+kde-guiaddons_PORT=		x11-toolkits/kf${_KDE_VERSION}-kguiaddons
+kde-guiaddons_LIB=		libKF${_KDE_VERSION}GuiAddons.so
 
-kde-holidays_PORT=		net/kf5-kholidays
-kde-holidays_LIB=		libKF5Holidays.so
+kde-holidays_PORT=		net/kf${_KDE_VERSION}-kholidays
+kde-holidays_LIB=		libKF${_KDE_VERSION}Holidays.so
 
-kde-i18n_PORT=			devel/kf5-ki18n
-kde-i18n_LIB=			libKF5I18n.so
+kde-i18n_PORT=			devel/kf${_KDE_VERSION}-ki18n
+kde-i18n_LIB=			libKF${_KDE_VERSION}I18n.so
 
-kde-iconthemes_PORT=		x11-themes/kf5-kiconthemes
-kde-iconthemes_LIB=		libKF5IconThemes.so
+kde-iconthemes_PORT=		x11-themes/kf${_KDE_VERSION}-kiconthemes
+kde-iconthemes_LIB=		libKF${_KDE_VERSION}IconThemes.so
 
-kde-idletime_PORT=		devel/kf5-kidletime
-kde-idletime_LIB=		libKF5IdleTime.so
+kde-idletime_PORT=		devel/kf${_KDE_VERSION}-kidletime
+kde-idletime_LIB=		libKF${_KDE_VERSION}IdleTime.so
 
-kde-init_PORT=			x11/kf5-kinit
+kde-init_PORT=			x11/kf${_KDE_VERSION}-kinit
 kde-init_PATH=			${KDE_PREFIX}/bin/kdeinit5
 
-kde-itemmodels_PORT=		devel/kf5-kitemmodels
-kde-itemmodels_LIB=		libKF5ItemModels.so
+kde-itemmodels_PORT=		devel/kf${_KDE_VERSION}-kitemmodels
+kde-itemmodels_LIB=		libKF${_KDE_VERSION}ItemModels.so
 
-kde-itemviews_PORT=		x11-toolkits/kf5-kitemviews
-kde-itemviews_LIB=		libKF5ItemViews.so
+kde-itemviews_PORT=		x11-toolkits/kf${_KDE_VERSION}-kitemviews
+kde-itemviews_LIB=		libKF${_KDE_VERSION}ItemViews.so
 
-kde-jobwidgets_PORT=		x11-toolkits/kf5-kjobwidgets
-kde-jobwidgets_LIB=		libKF5JobWidgets.so
+kde-jobwidgets_PORT=		x11-toolkits/kf${_KDE_VERSION}-kjobwidgets
+kde-jobwidgets_LIB=		libKF${_KDE_VERSION}JobWidgets.so
 
-kde-js_PORT=			www/kf5-kjs
-kde-js_LIB=			libKF5JS.so
+kde-js_PORT=			www/kf${_KDE_VERSION}-kjs
+kde-js_LIB=			libKF${_KDE_VERSION}JS.so
 
-kde-jsembed_PORT=		www/kf5-kjsembed
-kde-jsembed_LIB=		libKF5JsEmbed.so
+kde-jsembed_PORT=		www/kf${_KDE_VERSION}-kjsembed
+kde-jsembed_LIB=		libKF${_KDE_VERSION}JsEmbed.so
 
-kde-kcmutils_PORT=		devel/kf5-kcmutils
-kde-kcmutils_LIB=		libKF5KCMUtils.so
+kde-kcmutils_PORT=		devel/kf${_KDE_VERSION}-kcmutils
+kde-kcmutils_LIB=		libKF${_KDE_VERSION}KCMUtils.so
 
-kde-kdeclarative_PORT=		devel/kf5-kdeclarative
-kde-kdeclarative_LIB=		libKF5Declarative.so
+kde-kdeclarative_PORT=		devel/kf${_KDE_VERSION}-kdeclarative
+kde-kdeclarative_LIB5=		libKF${_KDE_VERSION}Declarative.so
+kde-kdeclarative_LIB6=		libKF${_KDE_VERSION}CalendarEvents.so
+kde-kdeclarative_LIB=		${kde-kdeclarative_LIB${_KDE_VERSION}}
 
-kde-kded_PORT=			x11/kf5-kded
-kde-kded_PATH=			${KDE_PREFIX}/bin/kded5
+kde-kded_PORT=			x11/kf${_KDE_VERSION}-kded
+kde-kded_PATH=			${KDE_PREFIX}/bin/kded${_KDE_VERSION}
 
-kde-kdelibs4support_PORT=	x11/kf5-kdelibs4support
-kde-kdelibs4support_LIB=	libKF5KDELibs4Support.so
+kde-kdelibs4support_PORT=	x11/kf${_KDE_VERSION}-kdelibs4support
+kde-kdelibs4support_LIB=	libKF${_KDE_VERSION}KDELibs4Support.so
 
-kde-kdesu_PORT=			security/kf5-kdesu
-kde-kdesu_LIB=			libKF5Su.so
+kde-kdesu_PORT=			security/kf${_KDE_VERSION}-kdesu
+kde-kdesu_LIB=			libKF${_KDE_VERSION}Su.so
 
-kde-kdewebkit_PORT=		www/kf5-kdewebkit
-kde-kdewebkit_LIB=		libKF5WebKit.so
+kde-kdewebkit_PORT=		www/kf${_KDE_VERSION}-kdewebkit
+kde-kdewebkit_LIB=		libKF${_KDE_VERSION}WebKit.so
 
-kde-khtml_PORT=			www/kf5-khtml
-kde-khtml_LIB=			libKF5KHtml.so
+kde-khtml_PORT=			www/kf${_KDE_VERSION}-khtml
+kde-khtml_LIB=			libKF${_KDE_VERSION}KHtml.so
 
-kde-kimageformats_PORT=		graphics/kf5-kimageformats
+kde-kimageformats_PORT=		graphics/kf${_KDE_VERSION}-kimageformats
 kde-kimageformats_PATH=		${QT_PLUGINDIR}/imageformats/kimg_xcf.so
 kde-kimageformats_TYPE=		run
 
-kde-kio_PORT=			devel/kf5-kio
-kde-kio_LIB=			libKF5KIOCore.so
+kde-kio_PORT=			devel/kf${_KDE_VERSION}-kio
+kde-kio_LIB=			libKF${_KDE_VERSION}KIOCore.so
 
-kde-kirigami2_PORT=		x11-toolkits/kf5-kirigami2
-kde-kirigami2_PATH=		${QT_QMLDIR}/org/kde/kirigami.2/libKirigamiPlugin.so
+kde-kirigami2_PORT5=		x11-toolkits/kf${_KDE_VERSION}-kirigami2
+kde-kirigami2_PORT6=		x11-toolkits/kf${_KDE_VERSION}-kirigami
+kde-kirigami2_PATH5=		${QT_QMLDIR}/org/kde/kirigami.2/libKirigamiPlugin.so
+kde-kirigami2_PATH6=		${QT_QMLDIR}/org/kde/kirigami/libKirigamiplugin.so
+kde-kirigami2_PORT=		${kde-kirigami2_PORT${_KDE_VERSION}}
+kde-kirigami2_PATH=		${kde-kirigami2_PATH${_KDE_VERSION}}
 
-kde-kquickcharts_PORT=		graphics/kf5-kquickcharts
-kde-kquickcharts_PATH=		${QT_QMLDIR}/org/kde/quickcharts/libQuickCharts.so
+kde-kquickcharts_PORT=		graphics/kf${_KDE_VERSION}-kquickcharts
+kde-kquickcharts_PATH5=		${QT_QMLDIR}/org/kde/quickcharts/libQuickCharts.so
+kde-kquickcharts_PATH6=		${QT_QMLDIR}/org/kde/quickcharts/libQuickChartsplugin.so
+kde-kquickcharts_PATH=		${kde-kquickcharts_PATH${_KDE_VERSION}}
 
-kde-kross_PORT=			lang/kf5-kross
-kde-kross_LIB=			libKF5KrossCore.so
+kde-kross_PORT=			lang/kf${_KDE_VERSION}-kross
+kde-kross_LIB=			libKF${_KDE_VERSION}KrossCore.so
 
-kde-layer-shell-qt_PORT=	x11/plasma5-layer-shell-qt
+kde-layer-shell-qt_PORT=	x11/plasma${_KDE_VERSION}-layer-shell-qt
 kde-layer-shell-qt_LIB=		libLayerShellQtInterface.so
 
-kde-mediaplayer_PORT=		multimedia/kf5-kmediaplayer
-kde-mediaplayer_LIB=		libKF5MediaPlayer.so.5
+kde-mediaplayer_PORT=		multimedia/kf${_KDE_VERSION}-kmediaplayer
+kde-mediaplayer_LIB=		libKF${_KDE_VERSION}MediaPlayer.so.5
 
-kde-newstuff_PORT=		devel/kf5-knewstuff
-kde-newstuff_LIB=		libKF5NewStuff.so
+kde-newstuff_PORT=		devel/kf${_KDE_VERSION}-knewstuff
+kde-newstuff_LIB=		libKF${_KDE_VERSION}NewStuffCore.so
 
-kde-notifications_PORT=		devel/kf5-knotifications
-kde-notifications_LIB=		libKF5Notifications.so
+kde-notifications_PORT=		devel/kf${_KDE_VERSION}-knotifications
+kde-notifications_LIB=		libKF${_KDE_VERSION}Notifications.so
 
-kde-notifyconfig_PORT=		devel/kf5-knotifyconfig
-kde-notifyconfig_LIB=		libKF5NotifyConfig.so
+kde-notifyconfig_PORT=		devel/kf${_KDE_VERSION}-knotifyconfig
+kde-notifyconfig_LIB=		libKF${_KDE_VERSION}NotifyConfig.so
 
-kde-oxygen-icons5_PORT=		x11-themes/kf5-oxygen-icons5
+kde-oxygen-icons5_PORT=		x11-themes/kf${_KDE_VERSION}-oxygen-icons5
 kde-oxygen-icons5_PATH=		${KDE_PREFIX}/share/icons/oxygen/index.theme
 kde-oxygen-icons5_TYPE=		run
 
-kde-oxygen-sounds_PORT=		audio/plasma5-oxygen-sounds
+kde-oxygen-sounds_PORT=		audio/plasma${_KDE_VERSION}-oxygen-sounds
 kde-oxygen-sounds_PATH=		${KDE_PREFIX}/share/sounds/Oxygen-Sys-Log-In.ogg
 kde-oxygen-sounds_TYPE=		run
 
-kde-package_PORT=		devel/kf5-kpackage
-kde-package_LIB=		libKF5Package.so
+kde-package_PORT=		devel/kf${_KDE_VERSION}-kpackage
+kde-package_LIB=		libKF${_KDE_VERSION}Package.so
 
-kde-parts_PORT=			devel/kf5-kparts
-kde-parts_LIB=			libKF5Parts.so
+kde-parts_PORT=			devel/kf${_KDE_VERSION}-kparts
+kde-parts_LIB=			libKF${_KDE_VERSION}Parts.so
 
-kde-people_PORT=		devel/kf5-kpeople
-kde-people_LIB=			libKF5People.so
+kde-people_PORT=		devel/kf${_KDE_VERSION}-kpeople
+kde-people_LIB=			libKF${_KDE_VERSION}People.so
 
-kde-plasma-framework_PORT=	x11/kf5-plasma-framework
-kde-plasma-framework_LIB=	libKF5Plasma.so
+kde-plasma-framework_PORT=	x11/kf${_KDE_VERSION}-plasma-framework
+kde-plasma-framework_LIB=	libKF${_KDE_VERSION}Plasma.so
 
 kde-plasma-wayland-protocols_PORT=	x11/plasma-wayland-protocols
 kde-plasma-wayland-protocols_PATH=	${KDE_PREFIX}/lib/cmake/PlasmaWaylandProtocols/PlasmaWaylandProtocolsConfig.cmake
 
-kde-plotting_PORT=		graphics/kf5-kplotting
-kde-plotting_LIB=		libKF5Plotting.so
+kde-plotting_PORT=		graphics/kf${_KDE_VERSION}-kplotting
+kde-plotting_LIB=		libKF${_KDE_VERSION}Plotting.so
+
+kde-prison_PORT=		graphics/kf${_KDE_VERSION}-prison
+kde-prison_LIB=			libKF${_KDE_VERSION}Prison.so
+
+kde-pty_PORT=			devel/kf${_KDE_VERSION}-kpty
+kde-pty_LIB=			libKF${_KDE_VERSION}Pty.so
+
+kde-purpose_PORT=		misc/kf${_KDE_VERSION}-purpose
+kde-purpose_LIB=		libKF${_KDE_VERSION}Purpose.so
 
-kde-prison_PORT=		graphics/kf5-prison
-kde-prison_LIB=			libKF5Prison.so
+kde-qqc2-desktop-style_PORT=	x11-themes/kf${_KDE_VERSION}-qqc2-desktop-style
+kde-qqc2-desktop-style_PATH5=	${QT_PLUGINDIR}/kf${_KDE_VERSION}/kirigami/org.kde.desktop.so
+kde-qqc2-desktop-style_PATH6=	${QT_QMLDIR}/org/kde/desktop/liborg_kde_desktop.so
+kde-qqc2-desktop-style_PATH=	${kde-qqc2-desktop-style_PATH${_KDE_VERSION}}
 
-kde-pty_PORT=			devel/kf5-kpty
-kde-pty_LIB=			libKF5Pty.so
+kde-runner_PORT=		x11/kf${_KDE_VERSION}-krunner
+kde-runner_LIB=			libKF${_KDE_VERSION}Runner.so
 
-kde-purpose_PORT=		misc/kf5-purpose
-kde-purpose_LIB=		libKF5Purpose.so
+kde-service_PORT=		devel/kf${_KDE_VERSION}-kservice
+kde-service_LIB=		libKF${_KDE_VERSION}Service.so
 
-kde-qqc2-desktop-style_PORT=	x11-themes/kf5-qqc2-desktop-style
-kde-qqc2-desktop-style_PATH=	${QT_PLUGINDIR}/kf5/kirigami/org.kde.desktop.so
+kde-solid_PORT=			devel/kf${_KDE_VERSION}-solid
+kde-solid_LIB=			libKF${_KDE_VERSION}Solid.so
 
-kde-runner_PORT=		x11/kf5-krunner
-kde-runner_LIB=			libKF5Runner.so
+kde-sonnet_PORT=		textproc/kf${_KDE_VERSION}-sonnet
+kde-sonnet_LIB=			libKF${_KDE_VERSION}SonnetCore.so
 
-kde-service_PORT=		devel/kf5-kservice
-kde-service_PATH=		${KDE_PREFIX}/bin/kbuildsycoca5
+kde-syndication_PORT=		net/kf${_KDE_VERSION}-syndication
+kde-syndication_LIB=		libKF${_KDE_VERSION}Syndication.so
 
-kde-solid_PORT=			devel/kf5-solid
-kde-solid_LIB=			libKF5Solid.so
+kde-syntaxhighlighting_PORT=	textproc/kf${_KDE_VERSION}-syntax-highlighting
+kde-syntaxhighlighting_LIB=	libKF${_KDE_VERSION}SyntaxHighlighting.so
 
-kde-sonnet_PORT=		textproc/kf5-sonnet
-kde-sonnet_LIB=			libKF5SonnetCore.so
+kde-texteditor_PORT=		devel/kf${_KDE_VERSION}-ktexteditor
+kde-texteditor_LIB=		libKF${_KDE_VERSION}TextEditor.so
 
-kde-syndication_PORT=		net/kf5-syndication
-kde-syndication_LIB=		libKF5Syndication.so
+kde-textwidgets_PORT=		x11-toolkits/kf${_KDE_VERSION}-ktextwidgets
+kde-textwidgets_LIB=		libKF${_KDE_VERSION}TextWidgets.so
 
-kde-syntaxhighlighting_PORT=	textproc/kf5-syntax-highlighting
-kde-syntaxhighlighting_LIB=	libKF5SyntaxHighlighting.so
+kde-threadweaver_PORT=		devel/kf${_KDE_VERSION}-threadweaver
+kde-threadweaver_LIB=		libKF${_KDE_VERSION}ThreadWeaver.so
 
-kde-texteditor_PORT=		devel/kf5-ktexteditor
-kde-texteditor_LIB=		libKF5TextEditor.so
+kde-unitconversion_PORT=	devel/kf${_KDE_VERSION}-kunitconversion
+kde-unitconversion_LIB=		libKF${_KDE_VERSION}UnitConversion.so
 
-kde-textwidgets_PORT=		x11-toolkits/kf5-ktextwidgets
-kde-textwidgets_LIB=		libKF5TextWidgets.so
+kde-wallet_PORT=		sysutils/kf${_KDE_VERSION}-kwallet
+kde-wallet_LIB=			libKF${_KDE_VERSION}Wallet.so
 
-kde-threadweaver_PORT=		devel/kf5-threadweaver
-kde-threadweaver_LIB=		libKF5ThreadWeaver.so
+kde-wayland_PORT=		x11/kf${_KDE_VERSION}-kwayland
+kde-wayland_LIB=		libKF${_KDE_VERSION}WaylandClient.so
 
-kde-unitconversion_PORT=	devel/kf5-kunitconversion
-kde-unitconversion_LIB=		libKF5UnitConversion.so
+kde-widgetsaddons_PORT=		x11-toolkits/kf${_KDE_VERSION}-kwidgetsaddons
+kde-widgetsaddons_LIB=		libKF${_KDE_VERSION}WidgetsAddons.so
 
-kde-wallet_PORT=		sysutils/kf5-kwallet
-kde-wallet_LIB=			libKF5Wallet.so
+kde-windowsystem_PORT=		x11/kf${_KDE_VERSION}-kwindowsystem
+kde-windowsystem_LIB=		libKF${_KDE_VERSION}WindowSystem.so
 
-kde-wayland_PORT=		x11/kf5-kwayland
-kde-wayland_LIB=		libKF5WaylandClient.so
+kde-xmlgui_PORT=		x11-toolkits/kf${_KDE_VERSION}-kxmlgui
+kde-xmlgui_LIB=			libKF${_KDE_VERSION}XmlGui.so
 
-kde-widgetsaddons_PORT=		x11-toolkits/kf5-kwidgetsaddons
-kde-widgetsaddons_LIB=		libKF5WidgetsAddons.so
+kde-xmlrpcclient_PORT=		net/kf${_KDE_VERSION}-kxmlrpcclient
+kde-xmlrpcclient_LIB=		libKF${_KDE_VERSION}XmlRpcClient.so
 
-kde-windowsystem_PORT=		x11/kf5-kwindowsystem
-kde-windowsystem_LIB=		libKF5WindowSystem.so
+kde-calendarcore_PORT=		net/kf${_KDE_VERSION}-kcalendarcore
+kde-calendarcore_LIB=		libKF${_KDE_VERSION}CalendarCore.so
 
-kde-xmlgui_PORT=		x11-toolkits/kf5-kxmlgui
-kde-xmlgui_LIB=			libKF5XmlGui.so
+kde-contacts_PORT=		net/kf${_KDE_VERSION}-kcontacts
+kde-contacts_LIB=		libKF${_KDE_VERSION}Contacts.so
 
-kde-xmlrpcclient_PORT=		net/kf5-kxmlrpcclient
-kde-xmlrpcclient_LIB=		libKF5XmlRpcClient.so
+kde-kdav_PORT=			net/kf${_KDE_VERSION}-kdav
+kde-kdav_LIB=			libKF${_KDE_VERSION}DAV.so
 
-kde-calendarcore_PORT=		net/kf5-kcalendarcore
-kde-calendarcore_LIB=		libKF5CalendarCore.so
+kde-colorscheme_PORT=		x11-themes/kf${_KDE_VERSION}-kcolorscheme
+kde-colorscheme_LIB=		libKF${_KDE_VERSION}ColorScheme.so
 
-kde-contacts_PORT=		net/kf5-kcontacts
-kde-contacts_LIB=		libKF5Contacts.so
+kde-svg_PORT=			graphics/kf${_KDE_VERSION}-ksvg
+kde-svg_LIB=			libKF${_KDE_VERSION}Svg.so
 
-kde-kdav_PORT=			net/kf5-kdav
-kde-kdav_LIB=			libKF5DAV.so
+kde-statusnotifieritem_PORT=	deskutils/kf6-kstatusnotifieritem
+kde-statusnotifieritem_LIB=	libKF${_KDE_VERSION}StatusNotifierItem.so
 # ====================== end of frameworks components ==========================
 
 # ====================== plasma components =====================================
-kde-kpipewire_PORT=		audio/plasma5-kpipewire
+kde-kpipewire_PORT=		audio/plasma${_KDE_VERSION}-kpipewire
 kde-kpipewire_LIB=		libKPipeWire.so
 
-kde-activitymanagerd_PORT=	x11/plasma5-kactivitymanagerd
+kde-activitymanagerd_PORT=	x11/plasma${_KDE_VERSION}-kactivitymanagerd
 kde-activitymanagerd_LIB=	libkactivitymanagerd_plugin.so
 
-kde-breeze_PORT=		x11-themes/plasma5-breeze
+kde-breeze_PORT=		x11-themes/plasma${_KDE_VERSION}-breeze
 kde-breeze_PATH=		${KDE_PREFIX}/share/QtCurve/Breeze.qtcurve
 
-kde-breeze-gtk_PORT=		x11-themes/plasma5-breeze-gtk
+kde-breeze-gtk_PORT=		x11-themes/plasma${_KDE_VERSION}-breeze-gtk
 kde-breeze-gtk_PATH=		${KDE_PREFIX}/share/themes/Breeze/gtk-2.0/gtkrc
 
-kde-decoration_PORT=		x11-wm/plasma5-kdecoration
+kde-decoration_PORT=		x11-wm/plasma${_KDE_VERSION}-kdecoration
 kde-decoration_LIB=		libkdecorations2.so
 
-kde-discover_PORT=		sysutils/plasma5-discover
+kde-discover_PORT=		sysutils/plasma${_KDE_VERSION}-discover
 kde-discover_PATH=		${KDE_PREFIX}/bin/plasma-discover
 
-kde-drkonqi_PORT=		sysutils/plasma5-drkonqi
+kde-drkonqi_PORT=		sysutils/plasma${_KDE_VERSION}-drkonqi
 kde-drkonqi_PATH=		${KDE_PREFIX}/lib/libexec/drkonqi
 
-kde-hotkeys_PORT=		devel/plasma5-khotkeys
+kde-hotkeys_PORT=		devel/plasma${_KDE_VERSION}-khotkeys
 kde-hotkeys_LIB=		libkhotkeysprivate.so.5
 
-kde-infocenter_PORT=		sysutils/plasma5-kinfocenter
+kde-infocenter_PORT=		sysutils/plasma${_KDE_VERSION}-kinfocenter
 kde-infocenter_PATH=		${KDE_PREFIX}/bin/kinfocenter
 
-kde-kde-cli-tools_PORT=		sysutils/plasma5-kde-cli-tools
+kde-kde-cli-tools_PORT=		sysutils/plasma${_KDE_VERSION}-kde-cli-tools
 kde-kde-cli-tools_PATH=		${KDE_PREFIX}/bin/kcmshell5
 
-kde-kde-gtk-config_PORT=	x11-themes/plasma5-kde-gtk-config
+kde-kde-gtk-config_PORT=	x11-themes/plasma${_KDE_VERSION}-kde-gtk-config
 kde-kde-gtk-config_PATH=	${KDE_PREFIX}/lib/kconf_update_bin/gtk_theme
 
-kde-kdeplasma-addons_PORT=	x11-toolkits/plasma5-kdeplasma-addons
+kde-kdeplasma-addons_PORT=	x11-toolkits/plasma${_KDE_VERSION}-kdeplasma-addons
 kde-kdeplasma-addons_LIB=	libplasmapotdprovidercore.so
 
-kde-kgamma5_PORT=		x11/plasma5-kgamma5
+kde-kgamma5_PORT=		x11/plasma${_KDE_VERSION}-kgamma5
 kde-kgamma5_PATH=		${QT_PLUGINDIR}/plasma/kcms/systemsettings/kcm_kgamma.so
 
-kde-kmenuedit_PORT=		sysutils/plasma5-kmenuedit
+kde-kmenuedit_PORT=		sysutils/plasma${_KDE_VERSION}-kmenuedit
 kde-kmenuedit_PATH=		${KDE_PREFIX}/bin/kmenuedit
 
-kde-kscreen_PORT=		x11/plasma5-kscreen
+kde-kscreen_PORT=		x11/plasma${_KDE_VERSION}-kscreen
 kde-kscreen_PATH=		${KDE_PREFIX}/bin/kscreen-console
 
-kde-kscreenlocker_PORT=		security/plasma5-kscreenlocker
+kde-kscreenlocker_PORT=		security/plasma${_KDE_VERSION}-kscreenlocker
 kde-kscreenlocker_LIB=		libKScreenLocker.so
 
-kde-ksshaskpass_PORT=		security/plasma5-ksshaskpass
+kde-ksshaskpass_PORT=		security/plasma${_KDE_VERSION}-ksshaskpass
 kde-ksshaskpass_PATH=		${KDE_PREFIX}/bin/ksshaskpass
 
-kde-ksysguard_PORT=		sysutils/plasma5-ksysguard
+kde-ksysguard_PORT=		sysutils/plasma${_KDE_VERSION}-ksysguard
 kde-ksysguard_PATH=		${KDE_PREFIX}/bin/ksysguard
 
-kde-ksystemstats_PORT=		sysutils/plasma5-ksystemstats
+kde-ksystemstats_PORT=		sysutils/plasma${_KDE_VERSION}-ksystemstats
 kde-ksystemstats_PATH=		${KDE_PREFIX}/bin/ksystemstats
 
-kde-kwallet-pam_PORT=		security/plasma5-kwallet-pam
+kde-kwallet-pam_PORT=		security/plasma${_KDE_VERSION}-kwallet-pam
 kde-kwallet-pam_PATH=		${KDE_PREFIX}/lib/pam_kwallet5.so
 
-kde-kwayland-integration_PORT=	x11/plasma5-kwayland-integration
+kde-kwayland-integration_PORT=	x11/plasma${_KDE_VERSION}-kwayland-integration
 kde-kwayland-integration_PATH=	${QT_PLUGINDIR}/kf5/kwindowsystem/KF5WindowSystemKWaylandPlugin.so
 
-kde-kwin_PORT=			x11-wm/plasma5-kwin
+kde-kwin_PORT=			x11-wm/plasma${_KDE_VERSION}-kwin
 kde-kwin_PATH=			${KDE_PREFIX}/bin/kwin_x11
 
-kde-kwrited_PORT=		devel/plasma5-kwrited
+kde-kwrited_PORT=		devel/plasma${_KDE_VERSION}-kwrited
 kde-kwrited_PATH=		${QT_PLUGINDIR}/kf5/kded/kwrited.so
 
-kde-libkscreen_PORT=		x11/plasma5-libkscreen
-kde-libkscreen_LIB=		libKF5Screen.so
+kde-libkscreen_PORT=		x11/plasma${_KDE_VERSION}-libkscreen
+kde-libkscreen_LIB=		libKF${_KDE_VERSION}Screen.so
 
-kde-libksysguard_PORT=		sysutils/plasma5-libksysguard
+kde-libksysguard_PORT=		sysutils/plasma${_KDE_VERSION}-libksysguard
 kde-libksysguard_LIB=		libksgrd.so
 
-kde-milou_PORT=			deskutils/plasma5-milou
+kde-milou_PORT=			deskutils/plasma${_KDE_VERSION}-milou
 kde-milou_LIB=			libmilou.so.5
 
-kde-oxygen_PORT=		x11-themes/plasma5-oxygen
+kde-oxygen_PORT=		x11-themes/plasma${_KDE_VERSION}-oxygen
 kde-oxygen_PATH=		${QT_PLUGINDIR}/styles/oxygen.so
 
-kde-plasma-browser-integration_PORT=	www/plasma5-plasma-browser-integration
+kde-plasma-browser-integration_PORT=	www/plasma${_KDE_VERSION}-plasma-browser-integration
 kde-plasma-browser-integration_PATH=	${KDE_PREFIX}/bin/plasma-browser-integration-host
 
-kde-plasma-desktop_PORT=	x11/plasma5-plasma-desktop
+kde-plasma-desktop_PORT=	x11/plasma${_KDE_VERSION}-plasma-desktop
 kde-plasma-desktop_PATH=	${KDE_PREFIX}/bin/kaccess
 
-kde-plasma-disks_PORT=		sysutils/plasma5-plasma-disks
+kde-plasma-disks_PORT=		sysutils/plasma${_KDE_VERSION}-plasma-disks
 kde-plasma-disks_PATH=		${KDE_PREFIX}/lib/libexec/kauth/kded-smart-helper
 
-kde-plasma-integration_PORT=	x11/plasma5-plasma-integration
+kde-plasma-integration_PORT=	x11/plasma${_KDE_VERSION}-plasma-integration
 kde-plasma-integration_PATH=	${QT_PLUGINDIR}/platformthemes/KDEPlasmaPlatformTheme.so
 
-kde-plasma-pa_PORT=		audio/plasma5-plasma-pa
+kde-plasma-pa_PORT=		audio/plasma${_KDE_VERSION}-plasma-pa
 kde-plasma-pa_PATH=		${QT_PLUGINDIR}/plasma/kcms/systemsettings/kcm_pulseaudio.so
 
-kde-plasma-sdk_PORT=		devel/plasma5-plasma-sdk
+kde-plasma-sdk_PORT=		devel/plasma${_KDE_VERSION}-plasma-sdk
 kde-plasma-sdk_PATH=		${KDE_PREFIX}/bin/plasmoidviewer
 
-kde-plasma-workspace_PORT=	x11/plasma5-plasma-workspace
+kde-plasma-workspace_PORT=	x11/plasma${_KDE_VERSION}-plasma-workspace
*** 41426 LINES SKIPPED ***