git: 67844b978ae4 - main - irc/kvirc: move webkit behind default-off option

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Tue, 12 Sep 2023 15:18:49 UTC
The branch main has been updated by tcberner:

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

commit 67844b978ae41f3e1fa6d9819b3b567dc99745f6
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2023-09-12 06:18:48 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2023-09-12 15:14:58 +0000

    irc/kvirc:  move webkit behind default-off option
    
    qt5-webkit will be removed by the end of the year.
---
 irc/kvirc/Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/irc/kvirc/Makefile b/irc/kvirc/Makefile
index 72c95c8df1fd..1eab184aca06 100644
--- a/irc/kvirc/Makefile
+++ b/irc/kvirc/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	KVIrc
 DISTVERSION=	5.0.0-102
 DISTVERSIONSUFFIX=	-geb3fdd6b1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	irc kde
 
 MAINTAINER=	kde@FreeBSD.org
@@ -21,7 +21,7 @@ USE_PERL5=	build
 USE_KDE=	auth codecs config configwidgets coreaddons i18n notifications \
 		service widgetsaddons windowsystem xmlgui
 USE_QT=		core dbus gui multimedia network phonon4 printsupport sql svg \
-		webkit widgets x11extras xml \
+		widgets x11extras xml \
 		buildtools:build qmake:build
 USE_XORG=	ice sm x11 xext xrender xscrnsaver
 USE_LDCONFIG=	yes
@@ -29,6 +29,11 @@ USE_GITHUB=	yes
 
 CMAKE_ARGS=	-DMANDIR:STRING=share/man
 
+OPTIONS_DEFINE=		WEBKIT
+WEBKIT_DESC=		Use obsolete qt5-webkit to build Browser Plugin
+WEBKIT_USE=		QT5=webkit
+WEBKIT_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_Qt5WebKit
+
 PLIST_SUB=	VER=5.0
 
 .include <bsd.port.mk>