You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
gi-docgen: fix search path
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user