<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/960cb4b6a0864b41ce1be6cca0a56ad09d4a115f">https://github.com/macports/macports-ports/commit/960cb4b6a0864b41ce1be6cca0a56ad09d4a115f</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 960cb4b6a0864b41ce1be6cca0a56ad09d4a115f
</span>Author: Aaron Madlon-Kay <amake@macports.org>
AuthorDate: Tue Jan 29 23:09:34 2019 +0900
<span style='display:block; white-space:pre;color:#404040;'> clojure: minor cleanup
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - add supported_args noarch
</span><span style='display:block; white-space:pre;color:#404040;'> - use reinplace instead of sed
</span><span style='display:block; white-space:pre;color:#404040;'> - use leading zero for octal notation
</span>---
lang/clojure/Portfile | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/clojure/Portfile b/lang/clojure/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 010fb0a..b8c7a82 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/clojure/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/clojure/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,6 +17,7 @@ long_description Clojure is a dynamic programming language for the JVM. \
</span> persistent data structures and a macro system.
homepage https://clojure.org
platforms darwin
<span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs noarch
</span> master_sites https://download.clojure.org/install/
distname clojure-tools-${version}
worksrcdir clojure-tools
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,24 +28,23 @@ use_configure no
</span> build {}
destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set lib_dir ${prefix}/lib
</span> set bin_dir ${prefix}/bin
set man_dir ${prefix}/share/man/man1
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set clojure_lib_dir ${lib_dir}/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set clojure_lib_dir ${prefix}/lib/${name}
</span> set clojure_libexec_dir ${clojure_lib_dir}/libexec
xinstall -d ${destroot}${clojure_lib_dir}
xinstall -m 644 -W ${worksrcpath} deps.edn example-deps.edn ${destroot}${clojure_lib_dir}
xinstall -d ${destroot}${clojure_libexec_dir}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${worksrcpath} ${distname}.jar ${destroot}${clojure_libexec_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -W ${worksrcpath} ${distname}.jar ${destroot}${clojure_libexec_dir}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- exec sed -i -e s@PREFIX@${clojure_lib_dir}@g ${worksrcpath}/clojure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|PREFIX|${clojure_lib_dir}|g" ${worksrcpath}/clojure
</span> xinstall -d ${destroot}${bin_dir}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 -W ${worksrcpath} clojure clj ${destroot}${bin_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0755 -W ${worksrcpath} clojure clj ${destroot}${bin_dir}
</span>
xinstall -d ${destroot}${man_dir}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${worksrcpath} clojure.1 clj.1 ${destroot}${man_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -W ${worksrcpath} clojure.1 clj.1 ${destroot}${man_dir}
</span> }
# ${homepage} now returns 0 bytes; the only indication of the current version on
</pre><pre style='margin:0'>
</pre>