From 007e63396df493cc7514224f448f12647e663dad Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Wed, 18 Dec 2024 20:27:49 +0800 Subject: [PATCH] yelp-tools: fix broken installation, revbump --- gnome/yelp-tools/Portfile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/gnome/yelp-tools/Portfile b/gnome/yelp-tools/Portfile index a1181967a209c..2e4cd07719736 100644 --- a/gnome/yelp-tools/Portfile +++ b/gnome/yelp-tools/Portfile @@ -5,6 +5,7 @@ PortGroup meson 1.0 name yelp-tools version 40.0 +revision 1 license GPL-2+ set branch [lindex [split ${version} .] 0] description Tools to help create Yelp documentation. @@ -27,20 +28,24 @@ supported_archs noarch set py_ver 3.12 set py_ver_nodot [string map {. {}} ${py_ver}] -depends_build port:pkgconfig \ +depends_build path:bin/pkg-config:pkgconfig \ port:itstool \ port:libxslt \ port:libxml2 \ - port:python${py_ver_nodot} \ port:py${py_ver_nodot}-lxml -depends_lib port:yelp-xsl +depends_lib port:yelp-xsl \ + port:python${py_ver_nodot} installs_libs no post-patch { reinplace "s|'python3'|'${prefix}/bin/python${py_ver}'|g" \ ${worksrcpath}/meson.build + reinplace "s|/usr/bin/python3|${prefix}/bin/python${py_ver}|g" \ + ${worksrcpath}/tools/yelp-build.in \ + ${worksrcpath}/tools/yelp-check.in \ + ${worksrcpath}/tools/yelp-new.in } livecheck.type gnome