git: 3d18c1c9eae8 - main - devel/libnotify: Update to 0.8.3

From: Tijl Coosemans <tijl_at_FreeBSD.org>
Date: Sat, 27 Apr 2024 18:53:53 UTC
The branch main has been updated by tijl:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3d18c1c9eae8c326db7397811ee27233f4611a96

commit 3d18c1c9eae8c326db7397811ee27233f4611a96
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2024-04-27 18:12:56 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2024-04-27 18:42:40 +0000

    devel/libnotify: Update to 0.8.3
    
    Add MANPAGES option.
---
 devel/libnotify/Makefile  | 21 ++++++++++++---------
 devel/libnotify/distinfo  |  6 +++---
 devel/libnotify/pkg-plist |  2 +-
 3 files changed, 16 insertions(+), 13 deletions(-)

diff --git a/devel/libnotify/Makefile b/devel/libnotify/Makefile
index ca8bb31a5206..7f078cf1506b 100644
--- a/devel/libnotify/Makefile
+++ b/devel/libnotify/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	libnotify
-DISTVERSION=	0.8.2
-PORTREVISION=	2
+DISTVERSION=	0.8.3
 CATEGORIES=	devel gnome
 MASTER_SITES=	GNOME
 
@@ -11,16 +10,20 @@ WWW=		https://gitlab.gnome.org/GNOME/libnotify
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_DEPENDS=	docbook-xsl-ns>=0:textproc/docbook-xsl-ns
-
 USES=		gmake gnome libtool meson pkgconfig tar:xz
-USE_GNOME=	glib20 gdkpixbuf2 introspection:build libxslt:build
+USE_GNOME=	gdkpixbuf2 glib20 introspection:build
 USE_LDCONFIG=	yes
 
-MESON_ARGS=	-Dtests=false -Ddocbook_docs=disabled -Dgtk_doc=false
+MESON_ARGS=	-Ddocbook_docs=disabled \
+		-Dgtk_doc=false \
+		-Dtests=false
+
+OPTIONS_DEFINE=		MANPAGES
+OPTIONS_DEFAULT=	MANPAGES
+OPTIONS_SUB=		yes
 
-post-patch:
-	${REINPLACE_CMD} -e "s#http:.*docbook.xsl#${LOCALBASE}/share/xsl/docbook-ns/manpages/docbook.xsl#g" \
-		${WRKSRC}/meson.build
+MANPAGES_BUILD_DEPENDS=	docbook-xsl-ns>=0:textproc/docbook-xsl-ns
+MANPAGES_USE=		GNOME=libxslt:build
+MANPAGES_MESON_TRUE=	man
 
 .include <bsd.port.mk>
diff --git a/devel/libnotify/distinfo b/devel/libnotify/distinfo
index 1442d6bf56ef..cc63796a89ba 100644
--- a/devel/libnotify/distinfo
+++ b/devel/libnotify/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1676741653
-SHA256 (libnotify-0.8.2.tar.xz) = c5f4ed3d1f86e5b118c76415aacb861873ed3e6f0c6b3181b828cf584fc5c616
-SIZE (libnotify-0.8.2.tar.xz) = 105912
+TIMESTAMP = 1714234969
+SHA256 (libnotify-0.8.3.tar.xz) = ee8f3ef946156ad3406fdf45feedbdcd932dbd211ab4f16f75eba4f36fb2f6c0
+SIZE (libnotify-0.8.3.tar.xz) = 106008
diff --git a/devel/libnotify/pkg-plist b/devel/libnotify/pkg-plist
index 4d250c2beea7..cd109db69d4c 100644
--- a/devel/libnotify/pkg-plist
+++ b/devel/libnotify/pkg-plist
@@ -8,5 +8,5 @@ lib/libnotify.so
 lib/libnotify.so.4
 lib/libnotify.so.4.0.0
 libdata/pkgconfig/libnotify.pc
-share/man/man1/notify-send.1.gz
 share/gir-1.0/Notify-0.7.gir
+%%MANPAGES%%share/man/man1/notify-send.1.gz