head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.6 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.4 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.2 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.2.0.8 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.6 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.4 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.2 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.1.1.1.0.4 pkgsrc-2010Q2-base:1.1.1.1 pkgsrc-2010Q1:1.1.1.1.0.2 pkgsrc-2010Q1-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.3 date 2011.09.30.07.56.14; author yyamano; state dead; branches; next 1.2; 1.2 date 2010.08.12.12.31.47; author asau; state Exp; branches; next 1.1; 1.1 date 2010.01.23.10.50.45; author yyamano; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2010.01.23.10.50.45; author yyamano; state Exp; branches; next ; desc @@ 1.3 log @Apply patches provided by ryoon@@ with some modifications to upgrade to Scala 2.9.1 from 2.8.1. PR pkg/45379 Scala 2.9.0 final The Scala 2.9.0 codebase includes several additions, notably the new Parallel Collections, but it also introduces improvements on many existing features, and contains many bug fixes: * Parallel Collections * The App Trait * The DelayedInit Trait * Repl Improvements * Scala Runner * Java Interop * Generalized try-catch-finally * New packages: scala.sys and scala.sys.process, which are imported from sbt.Process. * New methods in collections: collectFirst, maxBy, minBy, span, inits, tails, permutations, combinations, subsets * AnyRef specialization: See http://www.scala-lang.org/node/9483 for more details. Scala 2.9.1 final The 2.9.1 release of Scala includes many bug fixes and improvements, in particular to the interpreter: most of the interpreter changes available in the development mainline have been ported to the 2.9.x release branch. See http://www.scala-lang.org/node/10780 for more details. Note: the interpreter option '-i' may behave incorrectly in this version. In case you require it, please just add the option '-Yrepl-sync' to your command line as well. @ text @$NetBSD: patch-ab,v 1.2 2010/08/12 12:31:47 asau Exp $ Hardwire paths to installed files and Java binary. Fix shell. --- bin/sbaz-setup.orig 2010-07-13 19:48:47.000000000 +0400 +++ bin/sbaz-setup 2010-08-12 16:21:31.000000000 +0400 @@@@ -1,4 +1,4 @@@@ -#!/bin/bash +#!/bin/sh set -e @@@@ -10,23 +10,7 @@@@ esac -SOURCE=$0; -SCRIPT=`basename "$SOURCE"`; -while [ -h "$SOURCE" ]; do - SCRIPT=`basename "$SOURCE"`; - LOOKUP=`ls -ld "$SOURCE"`; - TARGET=`expr "$LOOKUP" : '.*-> \(.*\)$'`; - if expr "${TARGET:-.}/" : '/.*/$' > /dev/null; then - SOURCE=${TARGET:-.}; - else - SOURCE=`dirname "$SOURCE"`/${TARGET:-.}; - fi; -done; -if [ "$SCALA_HOME" = "" ] -then - SCALA_HOME=`dirname "$SOURCE"`/..; - SCALA_HOME=`cd "$SCALA_HOME"; pwd`; -fi +SCALA_HOME=@@SCALA_HOME@@ SBAZ="$SCALA_HOME/bin/sbaz" @ 1.2 log @Update to Scala 2.8.0 Changes in Version 2.8.0 (14-Jul-2010) Scala 2.8.0 is a significantly innovative release, which contains a large amount of fixes and introduces many new features: * Redesigned collection library * New array implementation, manifests for polymorphic arrays * Type specialization * Named and default arguments * Package objects * Beefed up Scala Swing libraries, better documentation * Revamped REPL * Implicits changes * Improved equality * Packrat parser combinators * Improved XML library * Type constructor inference * Improved Annotations * Enhanced actors * Support for continuations Internal improvements * New presentation compiler * New build manager * Speed improvements Additional tools * Scaladoc 2 * Sbaz 2 * Scalap * Scala IDE for Eclipse @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1.1.1 2010/01/23 10:50:45 yyamano Exp $ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d3 5 a7 2 --- bin/sbaz-setup.orig 2009-10-28 06:19:05.000000000 -0700 +++ bin/sbaz-setup d14 1 a14 1 @@@@ -10,23 +10,24 @@@@ case "`uname`" in a34 17 +#SOURCE=$0; +#SCRIPT=`basename "$SOURCE"`; +#while [ -h "$SOURCE" ]; do +# SCRIPT=`basename "$SOURCE"`; +# LOOKUP=`ls -ld "$SOURCE"`; +# TARGET=`expr "$LOOKUP" : '.*-> \(.*\)$'`; +# if expr "${TARGET:-.}/" : '/.*/$' > /dev/null; then +# SOURCE=${TARGET:-.}; +# else +# SOURCE=`dirname "$SOURCE"`/${TARGET:-.}; +# fi; +#done; +#if [ "$SCALA_HOME" = "" ] +#then +# SCALA_HOME=`dirname "$SOURCE"`/..; +# SCALA_HOME=`cd "$SCALA_HOME"; pwd`; +#fi @ 1.1.1.1 log @Import Scala 2.7.7.final. Scala is a general purpose programming language designed to express common programming patterns in a concise, elegant, and type-safe way. It smoothly integrates features of object-oriented and functional languages, enabling Java and other programmers to be more productive. @ text @@