git: 2a8e7a72efb3 - main - x11/kanshi: update to 1.8.0 and take maintainership

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Fri, 22 Aug 2025 12:42:43 UTC
The branch main has been updated by tagattie:

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

commit 2a8e7a72efb38598e5880bf035e9dc55f7b315b0
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2025-08-22 12:41:01 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-08-22 12:42:32 +0000

    x11/kanshi: update to 1.8.0 and take maintainership
    
    Changelog: https://gitlab.freedesktop.org/emersion/kanshi/-/tags/v1.8.0
---
 x11/kanshi/Makefile  | 13 ++++++++-----
 x11/kanshi/distinfo  |  6 +++---
 x11/kanshi/pkg-descr |  3 ++-
 3 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/x11/kanshi/Makefile b/x11/kanshi/Makefile
index 6ff6a1adf2a3..c8bb79fc1915 100644
--- a/x11/kanshi/Makefile
+++ b/x11/kanshi/Makefile
@@ -1,12 +1,13 @@
 PORTNAME=	kanshi
 DISTVERSIONPREFIX=	v
-PORTVERSION=	1.7.0
+DISTVERSION=	1.8.0
 CATEGORIES=	x11 wayland
-MASTER_SITES=	https://git.sr.ht/~emersion/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
+MASTER_SITES=	https://gitlab.freedesktop.org/emersion/${PORTNAME}/-/releases/${DISTVERSIONFULL}/downloads/
+DISTNAME=	${PORTNAME}-${DISTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	tagattie@FreeBSD.org
 COMMENT=	Dynamic display configuration for Wayland
-WWW=		https://sr.ht/~emersion/kanshi/
+WWW=		https://gitlab.freedesktop.org/emersion/kanshi
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
@@ -15,7 +16,9 @@ LIB_DEPENDS=	libscfg.so:devel/libscfg \
 		libwayland-client.so:graphics/wayland
 
 USES=		compiler:c11 meson pkgconfig
+
 MESON_ARGS=	-Dipc=disabled # https://github.com/varlink/libvarlink/issues/53
+
 PLIST_FILES=	bin/${PORTNAME}
 
 OPTIONS_DEFINE=	MANPAGES
@@ -27,7 +30,7 @@ MANPAGES_PLIST_FILES=	share/man/man1/${PORTNAME}.1.gz \
 			share/man/man5/${PORTNAME}.5.gz
 
 post-patch:
-	@${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \
+	@${REINPLACE_CMD} -e 's|/etc|${PREFIX}&|' \
 		${WRKSRC}/doc/${PORTNAME}.5.scd
 
 .include <bsd.port.mk>
diff --git a/x11/kanshi/distinfo b/x11/kanshi/distinfo
index 8edc8d56a7a7..8355d95a43bf 100644
--- a/x11/kanshi/distinfo
+++ b/x11/kanshi/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1717781331
-SHA256 (kanshi-v1.7.0.tar.gz) = d35b2a0b41a36cc55066320ae7ae5b176450546a4ed67ee09e7241ecd36bfc73
-SIZE (kanshi-v1.7.0.tar.gz) = 23073
+TIMESTAMP = 1755865621
+SHA256 (kanshi-1.8.0.tar.gz) = d82760e139cedc7d120f0f8446f1f39710009574faf393f78c224c316f3ad56c
+SIZE (kanshi-1.8.0.tar.gz) = 23620
diff --git a/x11/kanshi/pkg-descr b/x11/kanshi/pkg-descr
index 2c623f969545..8f2e992c94c0 100644
--- a/x11/kanshi/pkg-descr
+++ b/x11/kanshi/pkg-descr
@@ -3,4 +3,5 @@ enabled and disabled on hotplug. For instance, this can be used to
 turn a laptop's internal screen off when docked.
 
 This is a Wayland equivalent for tools like autorandr. kanshi can be
-used on Wayland compositors supporting wlr-output-management protocol.
+used on Wayland compositors supporting the wlr-output-management
+protocol.