gi-docgen: fix search path

This commit is contained in:
Mohamed Akram
2026-04-11 20:59:56 +04:00
parent 7823bb6a2e
commit 79e5777d3c
+6 -1
View File
@@ -5,7 +5,7 @@ PortGroup python 1.0
name gi-docgen
version 2026.1
revision 0
revision 1
categories gnome python
supported_archs noarch
@@ -35,6 +35,11 @@ depends_lib-append port:py${python.version}-jinja2 \
port:py${python.version}-toml \
port:py${python.version}-typogrify
post-patch {
reinplace "s|/usr/share/gir-1.0|${prefix}/share/gir-1.0|g" \
${worksrcpath}/gidocgen/utils.py
}
post-destroot {
ln -s ${python.prefix}/share/man/man1/gi-docgen.1 \
${destroot}${prefix}/share/man/man1/