<pre style='margin:0'>
Aaron Madlon-Kay (amake) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/42fcdbb5afd56aca8983afed0929f9158dc89fb3">https://github.com/macports/macports-ports/commit/42fcdbb5afd56aca8983afed0929f9158dc89fb3</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 42fcdbb5afd56aca8983afed0929f9158dc89fb3
</span>Author: Aaron Madlon-Kay <amake@macports.org>
AuthorDate: Tue May 7 23:45:09 2019 +0900
<span style='display:block; white-space:pre;color:#404040;'> Platypus: update to 5.3
</span>---
aqua/Platypus/Portfile | 66 +++++++++++++++++++++++++++++++-------------------
1 file changed, 41 insertions(+), 25 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/Platypus/Portfile b/aqua/Platypus/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9fe4846..6c2f0d0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/Platypus/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/Platypus/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span> PortGroup xcode 1.0
name Platypus
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 4.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 5.3
</span> license GPL-2
categories aqua devel
maintainers {amake @amake} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,46 +23,62 @@ master_sites http://www.sveinbjorn.org/files/software/platypus/
</span> distname platypus${version}.src
use_zip yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 a2a24f6d4cd3da850bbfc54175e3332e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha1 87b959b96df9221caacccba3e843558d6800ebec \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 54dc72eb2af47523561d5140d0cbad842bcfd38c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums md5 a597ec7a6706dd0514d0d5ece1787a44 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha1 10ab73718cb995322becd0860d004954e94a60ac \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 f0bd84eb5349ca74f434bf05056578d1070e4184 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 b5b707d4f664ab6f60eed545d49a7d38da7557ce8268cc4791886eee7b3ca571 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 17401194
</span>
supported_archs i386 x86_64
<span style='display:block; white-space:pre;background:#ffe0e0;'>-build.target platypus ScriptExec Platypus
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.target Platypus
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+xcode.target Platypus
</span>
if {${os.platform} eq "darwin" && ${os.major} >= 10} {
universal_variant no
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set extracted_dir "${name} ${version} Source Code"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set target_dir [string map {" " _} "$extracted_dir"]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-worksrcdir $target_dir
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+worksrcdir .
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-post-extract {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file rename ${workpath}/${extracted_dir} ${workpath}/${target_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/CLT/man/platypus.1 ${worksrcpath}/Common.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|CODE_SIGN_IDENTITY = \".*\";|CODE_SIGN_IDENTITY = \"\";|g" ${worksrcpath}/Platypus.xcodeproj/project.pbxproj
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/CommandLineTool/platypus.1 ${worksrcpath}/Common.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|build/Platypus/Build/Products/Development|build/Deployment|" ${worksrcpath}/Platypus.xcodeproj/project.pbxproj
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# This is a temporary kludge. The new Xcode build system fails to destroot this
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# for reasons that are poorly understood. Remove this when a better fix is
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# known.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# See https://trac.macports.org/ticket/57234
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[vercmp ${xcodeversion} 10.0] >= 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.pre_args -UseNewBuildSystem=NO
</span> }
post-destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|/usr/local|${destroot}${prefix}|g" ${worksrcpath}/Scripts/InstallCommandLineTool.sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # there is no English.lproj when building on Tiger and Leopard but there is one on SL
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.platform} eq "darwin" && 10 > ${os.major}} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|English.lproj/||g" ${worksrcpath}/Scripts/InstallCommandLineTool.sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath}/Scripts "./InstallCommandLineTool.sh ${destroot}${applications_dir}/Platypus.app/Contents/Resources"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # The destroot target installs these as well, but they are unwanted as they
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # are also gzipped as resources inside Platypus.app
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${destroot}${applications_dir}/ScriptExec.app \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${applications_dir}/platypus_clt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${worksrcpath}/Application/Resources/InstallCommandLineTool.sh ${worksrcpath}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set cli_install_script ${worksrcpath}/InstallCommandLineTool.sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|^chown|#chown|g" ${cli_install_script}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # The program dynamically replaces these template placeholders on invocation.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # See Common.h and InstallCommandLineTool.sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|%%CMDLINE_PROGNAME_BUNDLE%%|platypus_clt.gz|g" ${cli_install_script}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|%%CMDLINE_SCRIPTEXEC_GZIP_NAME%%|ScriptExec.gz|g" ${cli_install_script}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|%%CMDLINE_MANPAGE_GZIP_NAME%%|platypus.1.gz|g" ${cli_install_script}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|%%CMDLINE_DEFAULT_ICON_NAME%%|PlatypusDefault.icns|g" ${cli_install_script}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|%%CMDLINE_NIB_NAME%%|MainMenu.nib|g" ${cli_install_script}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|%%CMDLINE_BIN_PATH%%|${destroot}${prefix}/bin|g" ${cli_install_script}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|%%CMDLINE_TOOL_PATH%%|${destroot}${prefix}/bin/platypus|g" ${cli_install_script}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|%%CMDLINE_SHARE_PATH%%|${destroot}${prefix}/share/platypus|g" ${cli_install_script}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|%%CMDLINE_MANDIR_PATH%%|${destroot}${prefix}/share/man/man1|g" ${cli_install_script}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|%%CMDLINE_MANPAGE_PATH%%|${destroot}${prefix}/share/man/man1/platypus.1.gz|g" ${cli_install_script}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|%%CMDLINE_SCRIPT_EXEC_PATH%%|${destroot}${prefix}/share/platypus/ScriptExec|g" ${cli_install_script}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|%%CMDLINE_ICON_PATH%%|${destroot}${prefix}/share/platypus/PlatypusDefault.icns|g" ${cli_install_script}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "./InstallCommandLineTool.sh ${destroot}${applications_dir}/Platypus.app/Contents/Resources"
</span> }
livecheck.type regex
livecheck.url ${homepage}
livecheck.regex "${name} (\\d+(?:\\.\\d+)*)"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span></pre><pre style='margin:0'>
</pre>