<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/3d03adf0d032d6679132dbc6d5df654f9ce3fc20">https://github.com/macports/macports-ports/commit/3d03adf0d032d6679132dbc6d5df654f9ce3fc20</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 3d03adf0d032d6679132dbc6d5df654f9ce3fc20
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Sun May 14 16:41:40 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> McBopomofo: provide versions for <10.8, fix the build there
</span>---
aqua/McBopomofo/Portfile | 45 +++++++++++++++++++++++++++++++++++++++------
1 file changed, 39 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/McBopomofo/Portfile b/aqua/McBopomofo/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 076de2d20bc..dd9c890bc10 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/McBopomofo/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/McBopomofo/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,6 @@ PortSystem 1.0
</span> PortGroup github 1.0
PortGroup xcode 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup openvanilla McBopomofo 0.9.11
</span> categories aqua
platforms darwin
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,21 +14,55 @@ long_description OpenVanilla McBopomofo 小麥注音輸入法
</span>
homepage https://mcbopomofo.openvanilla.org/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 c201c4c176f0ee205c3587cf93b441128ca241ab \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.major} > 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup openvanilla McBopomofo 0.9.11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 c201c4c176f0ee205c3587cf93b441128ca241ab \
</span> sha256 203c925e72990c41b45bc948214becc20f6410ec00dd8caa6abc0bbcb58e2d7a \
size 2868560
<span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {${os.major} == 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup openvanilla McBopomofo 0.9.10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 04ecfcc546ca4e5cdf615d91a626cdef7ad7ebb1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 23f37e1de13b2a14a770d1bdef16b7dc3e1cc953d2fc420f2436867ba6c20ac5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2866643
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {${os.major} == 10 && ${build_arch} ne "ppc"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup openvanilla McBopomofo 0.9.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 66e855dd7dcf13aa785d037270f6a72953373ee5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 ff4972a51a78134b6b8e036a345253656044f1538ef237f6a342b5ec5cd701f3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2871281
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {${os.major} == 9 || (${os.major} == 10 && ${build_arch} eq "ppc")} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://github.com/openvanilla/McBopomofo/issues/349
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup openvanilla McBopomofo 4c239a2a5fe10610d63473727a71f9b30077667c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 0.9.9.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 f0459b10993f3afae4450f0781f664e9eb974f10 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 20428feaaa43749377d4b931c5190c9dc317843cc839d8ac694cc30d384e2d1c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 3174055
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ git.branch leopard-support
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ macosx_deployment_target 10.5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-includes.diff
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-no-werror.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-includes.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.major} > 9 && ${build_arch} ne "ppc"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Not needed on leopard-support branch since already implemented with upstream:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-no-werror.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
# Don't build McBopomofoInstaller
xcode.target Data McBopomofo
<span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.violate_mtree yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> destroot.pre_args -IDECustomDerivedDataLocation=${worksrcpath}/DerivedData \
-UseNewBuildSystem=NO
post-destroot {
xinstall -d "${destroot}/Library/Input Methods"
<span style='display:block; white-space:pre;background:#ffe0e0;'>- move "${destroot}${applications_dir}/McBopomofo.app" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "${destroot}/Library/Input Methods/McBopomofo.app"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[vercmp $xcodeversion 4.2] >= 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move "${destroot}${applications_dir}/McBopomofo.app" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${destroot}/Library/Input Methods/McBopomofo.app"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy "${worksrcpath}/build/UninstalledProducts/McBopomofo.app" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${destroot}/Library/Input Methods/McBopomofo.app"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
</pre><pre style='margin:0'>
</pre>