[118698] trunk/dports/lang
blair at macports.org
blair at macports.org
Tue Apr 8 08:26:57 PDT 2014
Revision: 118698
https://trac.macports.org/changeset/118698
Author: blair at macports.org
Date: 2014-04-08 08:26:57 -0700 (Tue, 08 Apr 2014)
Log Message:
-----------
scala2.11: new port done by msa _at_ allman _dot_ ms; closes #43124.
Modified Paths:
--------------
trunk/dports/lang/scala2.11/Portfile
Added Paths:
-----------
trunk/dports/lang/scala2.11/
trunk/dports/lang/scala2.11/files/scala2.11
Removed Paths:
-------------
trunk/dports/lang/scala2.11/files/scala2.10
Modified: trunk/dports/lang/scala2.11/Portfile
===================================================================
--- trunk/dports/lang/scala2.10/Portfile 2014-04-08 14:51:16 UTC (rev 118697)
+++ trunk/dports/lang/scala2.11/Portfile 2014-04-08 15:26:57 UTC (rev 118698)
@@ -3,9 +3,10 @@
PortSystem 1.0
PortGroup select 1.0
-name scala2.10
-version 2.10.4
-set branch [join [lrange [split ${version} .] 0 1] .]
+name scala2.11
+set real_version 2.11.0-RC4
+version 0.1.${real_version}
+set branch [join [lrange [split ${real_version} .] 0 1] .]
categories lang java
license BSD
maintainers openmaintainer blair
@@ -21,7 +22,7 @@
platforms darwin
supported_archs noarch
-master_sites ${homepage}files/archive/
+master_sites http://downloads.typesafe.com/scala/${real_version}
use_configure no
build {}
@@ -35,11 +36,11 @@
select.group scala
select.file ${filespath}/${name}
- distname scala-${version}
+ distname scala-${real_version}
extract.suffix .tgz
- checksums md5 11854f09c35312d9f6966e163e6e436c \
- sha1 970f779f155719838e81a267a7418a958fd4c13f \
- sha256 b46db638c5c6066eee21f00c447fc13d1dfedbfb60d07db544e79db67ba810c3
+ checksums md5 56b3907b1ccad461facf1d659943d10b \
+ sha1 09c0f022a4f03a0565a3454eabc0b3308fe4de2a \
+ sha256 863bad9db4b7a785d5bfc30342e983cdf1a2536c72d552dd0b048f746272be30
destroot {
set man1dir ${sharedir}/man/man1
@@ -64,34 +65,21 @@
xinstall -d -m 755 ${docdir}
file rename ${scaladir}/doc ${docscaladir}
-
- xinstall -d -m 755 ${sharedir}/java
- foreach f {akka-actors.jar
- scala-actors.jar
- scala-actors-migration.jar
- scala-compiler.jar
- scala-library.jar
- scala-reflect.jar
- scala-swing.jar
- scalap.jar} {
- set g [strsed ${f} "/.jar/-${branch}.jar/"]
- ln -s ../scala-${branch}/lib/${f} ${sharedir}/java/${g}
- }
}
}
subport ${name}-docs {
description The Scala Programming Language API docs
- distname scala-docs-${version}
+ distname scala-docs-${real_version}
use_xz yes
extract.suffix .txz
- checksums md5 eb495c772063437cfdf8c7515f1e5e64 \
- sha1 3698b13407603984bd55a1e50da2b6cfa2e29e3c \
- sha256 ca439effdc4f6f7adf0c8d5de26235272f4bceeb8bebce7bbf1db28867a0bdaa
+ checksums md5 c616e62b571dd433573848c3417cf71a \
+ sha1 58a3977f2c210c7dd8185059b194909c5387657b \
+ sha256 468d17b3040f88d5f85da828fff092a582c6a4b3aa46fe18a37e56fde935b400
destroot {
xinstall -d -m 755 ${docscaladir}
- file copy ${worksrcpath} ${docscaladir}/api
+ file copy ${worksrcpath}/api ${docscaladir}/api
}
}
Deleted: trunk/dports/lang/scala2.11/files/scala2.10
===================================================================
--- trunk/dports/lang/scala2.10/files/scala2.10 2014-04-08 14:51:16 UTC (rev 118697)
+++ trunk/dports/lang/scala2.11/files/scala2.10 2014-04-08 15:26:57 UTC (rev 118698)
@@ -1,7 +0,0 @@
-share/scala-2.10/bin/fsc
--
--
-share/scala-2.10/bin/scala
-share/scala-2.10/bin/scalac
-share/scala-2.10/bin/scaladoc
-share/scala-2.10/bin/scalap
Copied: trunk/dports/lang/scala2.11/files/scala2.11 (from rev 118697, trunk/dports/lang/scala2.10/files/scala2.10)
===================================================================
--- trunk/dports/lang/scala2.11/files/scala2.11 (rev 0)
+++ trunk/dports/lang/scala2.11/files/scala2.11 2014-04-08 15:26:57 UTC (rev 118698)
@@ -0,0 +1,7 @@
+share/scala-2.11/bin/fsc
+-
+-
+share/scala-2.11/bin/scala
+share/scala-2.11/bin/scalac
+share/scala-2.11/bin/scaladoc
+share/scala-2.11/bin/scalap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140408/5f775327/attachment-0001.html>
More information about the macports-changes
mailing list