git: 3106e8f4d802 - main - databases/kbibtex: Remove www/qt5-webkit reference

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Sun, 07 Jan 2024 01:07:05 UTC
The branch main has been updated by jhale:

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

commit 3106e8f4d8022f219435ce4a941c8610bd4e56bc
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2024-01-06 20:24:06 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2024-01-07 01:06:53 +0000

    databases/kbibtex: Remove www/qt5-webkit reference
    
    Make the WEBENGINE option default for aarch64, as well, since
    www/qt5-webengine builds on it and www/qt5-webkit is no longer in
    the ports tree to use an alternative.
    
    While here, add LICENSE and remove many other unused dependencies.
    
    MFH:            2024Q1
---
 databases/kbibtex/Makefile | 29 +++++++++++++++--------------
 1 file changed, 15 insertions(+), 14 deletions(-)

diff --git a/databases/kbibtex/Makefile b/databases/kbibtex/Makefile
index 6872d6f112a1..f9333f67d0f0 100644
--- a/databases/kbibtex/Makefile
+++ b/databases/kbibtex/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	kbibtex
 DISTVERSION=	0.10.0
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	databases kde
 MASTER_SITES=	KDE/stable/KBibTeX/${DISTVERSION}
 
@@ -8,32 +8,33 @@ MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Bibliography editor for KDE
 WWW=		https://userbase.kde.org/KBibTeX
 
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
 LIB_DEPENDS=	libicuuc.so:devel/icu \
 		libpoppler.so:graphics/poppler \
-		libpoppler-qt5.so:graphics/poppler-qt5 \
-		libqoauth-qt5.so:net/qoauth-qt5
+		libpoppler-qt5.so:graphics/poppler-qt5
 
-USES=		cmake compiler:c++11-lang desktop-file-utils gettext gnome \
-		iconv kde:5 pkgconfig qca qt:5 shared-mime-info tar:xz xorg
-USE_GNOME=	libxml2 libxslt
+USES=		cmake compiler:c++11-lang desktop-file-utils gettext-tools \
+		kde:5 pkgconfig qt:5 shared-mime-info tar:xz xorg
 USE_KDE=	auth bookmarks codecs completion config configwidgets \
 		coreaddons crash i18n iconthemes itemviews jobwidgets kio \
 		parts service solid sonnet syntaxhighlighting texteditor \
 		textwidgets wallet widgetsaddons windowsystem xmlgui \
 		doctools:build ecm:build
-USE_QT=		concurrent core dbus declarative gui location network \
-		networkauth printsupport webchannel widgets xml xmlpatterns \
+USE_QT=		concurrent core dbus gui location network networkauth \
+		widgets xml xmlpatterns \
 		buildtools:build qmake:build
 USE_XORG=	x11
 USE_LDCONFIG=	yes
 
-OPTIONS_DEFINE=	WEBENGINE
-OPTIONS_DEFAULT_amd64=	WEBENGINE
-OPTIONS_DEFAULT_i386=	WEBENGINE
+OPTIONS_DEFINE=			WEBENGINE
+OPTIONS_DEFAULT_aarch64=	WEBENGINE
+OPTIONS_DEFAULT_amd64=		WEBENGINE
+OPTIONS_DEFAULT_i386=		WEBENGINE
 
-WEBENGINE_DESC=		Add dependency on qt5-webengine
-WEBENGINE_USE=		QT=webengine
-WEBENGINE_USE_OFF=	QT=webkit
+WEBENGINE_DESC=			Webpage rendering support
+WEBENGINE_USE=			QT=declarative,printsupport,webchannel,webengine
 WEBENGINE_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngineWidgets
 
 .include <bsd.port.mk>