<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/77d196db366b05095e9ab6e8ae1cee9e78d01778">https://github.com/macports/macports-ports/commit/77d196db366b05095e9ab6e8ae1cee9e78d01778</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 77d196db366b05095e9ab6e8ae1cee9e78d01778
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Sun Oct 8 09:26:46 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> shared-mime-info: cleanup
</span>---
devel/shared-mime-info/Portfile | 27 +++++++++++++++------------
1 file changed, 15 insertions(+), 12 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/shared-mime-info/Portfile b/devel/shared-mime-info/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8853099e81c..1539ea1986b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/shared-mime-info/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/shared-mime-info/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,6 +25,21 @@ homepage https://www.freedesktop.org/wiki/Software/shared-mime-info/
</span>
installs_libs no
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Disable unexpected download of subprojects
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+meson.wrap_mode nodownload
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set script_orig update-mime-database
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set script_real update-mime-database-real
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set startupitem_file \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ org.macports.shared-mime-info-updater.plist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${filespath}/${startupitem_file} ${worksrcpath}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -locale C "s|@PREFIX@|${prefix}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/${startupitem_file}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_build-append \
port:gettext \
port:itstool \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -43,18 +58,6 @@ if {${os.platform} eq "darwin"} {
</span> path:libexec/coreutils/libstdbuf.so:coreutils
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set script_orig update-mime-database
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set script_real update-mime-database-real
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set startupitem_file \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- org.macports.shared-mime-info-updater.plist
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-extract {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${filespath}/${startupitem_file} ${worksrcpath}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -locale C "s|@PREFIX@|${prefix}|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/${startupitem_file}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # add an entry for Objective C++
# (https://bugs.freedesktop.org/show_bug.cgi?id=98823)
# upstream bug #98823 mentioned here is still not resolved
</pre><pre style='margin:0'>
</pre>