git: 4a9d335c3ec6 - main - graphics/zathura: Update 0.5.11 => 0.5.12

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Fri, 29 Aug 2025 15:47:59 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4a9d335c3ec6690ead2b96524f667d5f5fc28d97

commit 4a9d335c3ec6690ead2b96524f667d5f5fc28d97
Author:     Martin Filla <freebsd@sysctl.cz>
AuthorDate: 2025-08-29 15:42:29 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-08-29 15:47:41 +0000

    graphics/zathura: Update 0.5.11 => 0.5.12
    
    Changelog:
    https://pwmt.org/projects/zathura/changelog/0.5.12/index.html
    
    - Since there are no older versions in the ports tree, remove the
      BUILD_DEPENDS version specification.
    - Switch python to python:build.
    - Rename post-patch to post-patch-MANPAGES-on - used for MANPAGES only.
    - Replace gettext with gettext-runtime and gettext-tools in USES.
    
    PR:             289158
    Approved by:    quentin.stievenart@gmail.com (maintainer)
---
 graphics/zathura/Makefile  | 13 +++++++------
 graphics/zathura/distinfo  |  6 +++---
 graphics/zathura/pkg-plist |  1 -
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/graphics/zathura/Makefile b/graphics/zathura/Makefile
index 619f39bd68a4..058ced747a95 100644
--- a/graphics/zathura/Makefile
+++ b/graphics/zathura/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	zathura
-DISTVERSION=	0.5.11
+DISTVERSION=	0.5.12
 CATEGORIES=	graphics print
 MASTER_SITES=	https://pwmt.org/projects/zathura/download/
 
@@ -13,7 +13,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 LIB_DEPENDS=	libgirara-gtk3.so:x11-toolkits/girara \
 		libjson-glib-1.0.so:devel/json-glib
 
-USES=		compiler:c17 gettext gnome meson ninja pkgconfig sqlite tar:xz
+USES=		compiler:c17 gettext-runtime gettext-tools gnome meson ninja \
+		pkgconfig sqlite tar:xz
 USE_GNOME=	glib20 gtk30
 MESON_ARGS=	-Dlandlock=disabled \
 		-Dseccomp=disabled \
@@ -26,15 +27,15 @@ OPTIONS_SUB=		yes
 SYNCTEX_DESC=	Direct and reverse synchronisation support with SyncTeX
 
 MANPAGES_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \
-			${PYTHON_PKGNAMEPREFIX}sphinx>=1.2.2,1:textproc/py-sphinx@${PY_FLAVOR}
-MANPAGES_USES=		python
+			${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR}
+MANPAGES_USES=		python:build
 MANPAGES_MESON_ENABLED=	manpages
 
-SYNCTEX_BUILD_DEPENDS=	tex-synctex>=1.19.0:devel/tex-synctex
+SYNCTEX_BUILD_DEPENDS=	tex-synctex>0:devel/tex-synctex
 SYNCTEX_RUN_DEPENDS=	${SYNCTEX_BUILD_DEPENDS}
 SYNCTEX_MESON_ENABLED=	synctex
 
-post-patch:
+post-patch-MANPAGES-on:
 	@${REINPLACE_CMD} -e 's|^/etc|${PREFIX}/etc|' ${WRKSRC}/doc/man/zathurarc.5.rst
 
 .include <bsd.port.mk>
diff --git a/graphics/zathura/distinfo b/graphics/zathura/distinfo
index 212920c6447d..cad74c287206 100644
--- a/graphics/zathura/distinfo
+++ b/graphics/zathura/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1734525804
-SHA256 (zathura-0.5.11.tar.xz) = 54458a9998af0fb8faef2e934a81127bbe4b790c86dcd2c8b8f32365f3d1b53c
-SIZE (zathura-0.5.11.tar.xz) = 167820
+TIMESTAMP = 1751616442
+SHA256 (zathura-0.5.12.tar.xz) = e84870fbf96b766b8224a3f3a6ce7ccfa36efa3b6919cc8a2fbf765ea4dfe476
+SIZE (zathura-0.5.12.tar.xz) = 176368
diff --git a/graphics/zathura/pkg-plist b/graphics/zathura/pkg-plist
index 71d20bc03aad..73742d7712cf 100644
--- a/graphics/zathura/pkg-plist
+++ b/graphics/zathura/pkg-plist
@@ -30,7 +30,6 @@ share/locale/es_CL/LC_MESSAGES/zathura.mo
 share/locale/et/LC_MESSAGES/zathura.mo
 share/locale/fr/LC_MESSAGES/zathura.mo
 share/locale/he/LC_MESSAGES/zathura.mo
-share/locale/hr/LC_MESSAGES/zathura.mo
 share/locale/id_ID/LC_MESSAGES/zathura.mo
 share/locale/it/LC_MESSAGES/zathura.mo
 share/locale/lt/LC_MESSAGES/zathura.mo