<pre style='margin:0'>
Marko Käning (mkae) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/83e5ce36d4aabb857970c25c5c75820431e09da4">https://github.com/macports/macports-ports/commit/83e5ce36d4aabb857970c25c5c75820431e09da4</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 83e5ce3 new port for scala 2.12
</span>83e5ce3 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 83e5ce36d4aabb857970c25c5c75820431e09da4
</span>Author: Marko Käning <mk-lists@mailbox.org>
AuthorDate: Sat Dec 10 22:15:47 2016 +0100
<span style='display:block; white-space:pre;color:#404040;'> new port for scala 2.12
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/52814
</span>---
lang/scala2.12/Portfile | 88 ++++++++++++++++++++++++++++++++++++++++++
lang/scala2.12/files/scala2.12 | 7 ++++
2 files changed, 95 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/scala2.12/Portfile b/lang/scala2.12/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..cf7e647
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/scala2.12/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,88 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup select 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name scala2.12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.12.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set branch [join [lrange [split ${version} .] 0 1] .]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories lang java
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license BSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers openmaintainer blair
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description The Scala Programming Language
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Scala is a modern multi-paradigm programming language \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ designed to express common programming patterns in a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ concise, elegant, and type-safe way. It smoothly \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ integrates features of object-oriented and functional \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ languages. It runs inside a Java Virtual Machine and \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ is fully interoperable with Java.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://www.scala-lang.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites https://downloads.lightbend.com/scala/${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set sharedir ${destroot}${prefix}/share
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set docdir ${sharedir}/doc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set docscaladir ${docdir}/scala-${branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {$subport == $name} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib port:scala_select
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ select.group scala
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ select.file ${filespath}/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname scala-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ extract.suffix .tgz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums md5 a0771ac5f0f2e045656903024dff6d42 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha1 a44d16efb9f32cffb76858422ca9b0c10b9aadc5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 42be98ff9754518fd5c9a942c94ffba2464667a5e95ed4917e4e95565c96bdfe
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set man1dir ${sharedir}/man/man1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set scaladir ${sharedir}/scala-${branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set bindir ${scaladir}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 755 ${sharedir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${worksrcpath} ${scaladir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach f {fsc scala scalac scaladoc scalap} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file attributes ${bindir}/${f} -permissions 0755
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ../share/scala-${branch}/bin/${f} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/bin/${f}-${branch}
</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;'>+ file delete ${man1dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file rename ${scaladir}/man/man1 ${man1dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach f {fsc scala scalac scaladoc scalap} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file rename ${man1dir}/${f}.1 ${man1dir}/${f}-${branch}.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file delete -force ${scaladir}/man
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 755 ${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file rename ${scaladir}/doc ${docscaladir}
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport ${name}-docs {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description The Scala Programming Language API docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname scala-docs-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_xz yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ extract.suffix .txz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums md5 9ba20ab4e18d5feef6cf68e972880869 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha1 4c2ef82785db356420f9eb83d5bdefa66a7d288b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 cb5d2382326d15189a90ddd29581a0a63727c51a084632cf8da60ab22d0b092a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 755 ${docscaladir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${worksrcpath}/api ${docscaladir}/api
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url http://scala-lang.org/download/all.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex {/download/(2\.12\.\d+(?:\.\d+)*)\.html}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/scala2.12/files/scala2.12 b/lang/scala2.12/files/scala2.12
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..997a473
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/scala2.12/files/scala2.12
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/scala-2.12/bin/fsc
</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;'>+share/scala-2.12/bin/scala
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/scala-2.12/bin/scalac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/scala-2.12/bin/scaladoc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/scala-2.12/bin/scalap
</span></pre><pre style='margin:0'>
</pre>