git: 42148f0f4365 - main - polish/kadu: mark broken after update of net-im/qxmpp-qt5

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Sun, 16 Apr 2023 09:10:50 UTC
The branch main has been updated by tcberner:

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

commit 42148f0f4365f8650c430a15c2ecef1ade9bbe3e
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2023-04-16 08:35:52 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2023-04-16 08:36:29 +0000

    polish/kadu: mark broken after update of net-im/qxmpp-qt5
    
    - also mark port deprecated
            * upstream website no longer belongs to the project
            * last activity on sourceforge was years ago
---
 polish/kadu/Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/polish/kadu/Makefile b/polish/kadu/Makefile
index 514d1274af60..007aafc8e0ea 100644
--- a/polish/kadu/Makefile
+++ b/polish/kadu/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	kadu
 PORTVERSION=	4.3
-PORTREVISION=	24
+PORTREVISION=	25
 PORTEPOCH=	1
 CATEGORIES=	polish net-im
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/:kadu \
@@ -14,6 +14,10 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Internet communicator supporting Gadu-Gadu and Jabber/XMPP
 WWW=		http://kadu.im
 
+BROKEN=		Does not build against net-im/qxmpp-qt5
+DEPRECATED=	Upstream website no longer exists, no update on SourceForge
+EXPIRATION_DATE=	2023-05-31
+
 LICENSE=	GPLv2
 
 BUILD_DEPENDS=	bash:shells/bash \
@@ -22,7 +26,7 @@ LIB_DEPENDS=	libmpdclient.so:audio/libmpdclient \
 		libsndfile.so:audio/libsndfile \
 		libinjeqt.so:devel/injeqt \
 		libidn.so:dns/libidn \
-		libqxmpp.so:net-im/qxmpp-qt5 \
+		libQXmppQt5.so:net-im/qxmpp-qt5 \
 		libgadu.so:polish/libgadu \
 		libgcrypt.so:security/libgcrypt \
 		libotr.so.5:security/libotr \
@@ -57,6 +61,7 @@ GG_EMOTS_DISTFILES=	${GG6_EMOTS_DISTFILE}:additions \
 post-patch:
 	@${REINPLACE_CMD} '/kadu_add_test/ s|^|#|' \
 		${WRKSRC}/kadu-core/plugin/CMakeLists.txt
+	# ${FIND} ${WRKSRC} -type f -name '*.h' -o -name '*.cpp' | ${XARGS} ${REINPLACE_CMD} '/^#include/ s|qxmpp/|QXmppQt5/|g' \
 
 post-install-GG_EMOTS-on:
 	@${MKDIR} ${WRKSRC}/varia/themes/emoticons