git: b044ac8585ed - main - textproc/yelp-tools: fix dependencies

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Mon, 15 Apr 2024 12:19:39 UTC
The branch main has been updated by bapt:

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

commit b044ac8585ed4ee92281285006a6abb5edcb63bf
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2024-04-15 11:48:27 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2024-04-15 12:19:15 +0000

    textproc/yelp-tools: fix dependencies
    
    this tool does not depend on gettext runtime. It does not depend on
    libxml2 nor libxsltproc, it does depends on the tools xmlling and
    xsltproc
---
 textproc/yelp-tools/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/textproc/yelp-tools/Makefile b/textproc/yelp-tools/Makefile
index 65a09e6ec0f4..d57cb831dadc 100644
--- a/textproc/yelp-tools/Makefile
+++ b/textproc/yelp-tools/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	yelp-tools
 PORTVERSION=	42.0
+PORTREVISION=	1
 CATEGORIES=	textproc gnome
 MASTER_SITES=	GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
 DIST_SUBDIR=	gnome
@@ -13,11 +14,14 @@ LICENSE_FILE=	${WRKSRC}/COPYING.GPL
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
 		itstool:textproc/itstool \
+		xmllint:textproc/libxml2 \
+		xsltproc:textproc/libxslt \
 		yelp-xsl>=0:textproc/yelp-xsl
+RUN_DEPENDS=	xmllint:textproc/libxml2 \
+		xsltproc:textproc/libxslt
 
-USES=		gettext gnome localbase meson pathfix pkgconfig python \
+USES=		localbase meson pkgconfig python \
 		shebangfix tar:xz
-USE_GNOME=	libxml2 libxslt
 SHEBANG_FILES=	tools/yelp-build.in tools/yelp-check.in tools/yelp-new.in
 
 BINARY_ALIAS=	python3=${PYTHON_CMD}