summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-05-02 10:24:47 +0000
committernia <nia@pkgsrc.org>2021-05-02 10:24:47 +0000
commit7f2e3496cec36eabff969ae3abf8294f4acac61d (patch)
treebb3abae4a57bc9823a085b128ea405715922f95c /textproc
parent9f19b71595507fcb1eddbc954d80d07d6f30bf17 (diff)
downloadpkgsrc-7f2e3496cec36eabff969ae3abf8294f4acac61d.tar.gz
*: Use the tools framework for itstool
Now it should be more obvious when a package needs it as a dependency, as it will fail loudly if it isn't declared as a tool. While here, some duplicate dependencies on itstool were removed from the MATE packages
Diffstat (limited to 'textproc')
-rw-r--r--textproc/gnome-dictionary/Makefile5
-rw-r--r--textproc/gtk-doc/Makefile4
-rw-r--r--textproc/yelp-xsl/Makefile6
3 files changed, 6 insertions, 9 deletions
diff --git a/textproc/gnome-dictionary/Makefile b/textproc/gnome-dictionary/Makefile
index 96365925f7a..057541a6fb8 100644
--- a/textproc/gnome-dictionary/Makefile
+++ b/textproc/gnome-dictionary/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2020/12/31 05:04:08 gutteridge Exp $
+# $NetBSD: Makefile,v 1.5 2021/05/02 10:24:52 nia Exp $
DISTNAME= gnome-dictionary-3.26.1
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/${PKGBASE}/${PKGVERSION_NOREV:R}/}
@@ -15,9 +15,8 @@ _TOOLS_USE_PKGSRC.msgfmt= yes
TOOL_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
-TOOL_DEPENDS+= itstool-[0-9]*:../../textproc/itstool
-USE_TOOLS+= pkg-config msgfmt xgettext
+USE_TOOLS+= pkg-config msgfmt xgettext itstool
PYTHON_FOR_BUILD_ONLY= tool
diff --git a/textproc/gtk-doc/Makefile b/textproc/gtk-doc/Makefile
index f7d13a28a89..2216fc9b322 100644
--- a/textproc/gtk-doc/Makefile
+++ b/textproc/gtk-doc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.85 2021/04/21 11:42:46 adam Exp $
+# $NetBSD: Makefile,v 1.86 2021/05/02 10:24:52 nia Exp $
DISTNAME= gtk-doc-1.32
PKGREVISION= 6
@@ -16,7 +16,6 @@ DEPENDS+= docbook-xsl>=1.68.1:../../textproc/docbook-xsl
DEPENDS+= ${PYPKGPREFIX}-anytree-[0-9]*:../../devel/py-anytree
DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
-BUILD_DEPENDS+= itstool-[0-9]*:../../textproc/itstool
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-parameterized-[0-9]*:../../devel/py-parameterized
@@ -24,6 +23,7 @@ GNU_CONFIGURE= YES
PKGCONFIG_OVERRIDE= gtk-doc.pc.in
CONFIGURE_ARGS+= --with-xml-catalog=${XML_DEFAULT_CATALOG:Q}
USE_TOOLS+= gmake pkg-config:run msgfmt
+USE_TOOLS+= itstool
SUBST_CLASSES+= fix-pc
SUBST_STAGE.fix-pc= pre-configure
diff --git a/textproc/yelp-xsl/Makefile b/textproc/yelp-xsl/Makefile
index 660249f6e37..f6976d35b58 100644
--- a/textproc/yelp-xsl/Makefile
+++ b/textproc/yelp-xsl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2021/04/13 10:02:53 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2021/05/02 10:24:52 nia Exp $
DISTNAME= yelp-xsl-3.32.1
PKGREVISION= 1
@@ -11,10 +11,8 @@ HOMEPAGE= https://www.gnome.org/
COMMENT= XSL stylesheets for Yelp help browser
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 AND mit
-BUILD_DEPENDS+= itstool-[0-9]*:../../textproc/itstool
-
GNU_CONFIGURE= yes
-USE_TOOLS+= pkg-config intltool msgfmt
+USE_TOOLS+= pkg-config intltool msgfmt itstool
USE_PKGLOCALEDIR= yes
PYTHON_FOR_BUILD_ONLY= tool