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-ac,v 1.2 2010/08/12 12:31:47 asau Exp $

Hardwire paths to installed files and Java binary.

--- bin/sbaz.orig	2010-07-13 19:48:47.000000000 +0400
+++ bin/sbaz	2010-08-12 16:22:14.000000000 +0400
@@@@ -14,23 +14,7 @@@@
 esac
 
 # Finding the root folder for this Scala distribution
-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;
-
-# see #2092
-SCALA_HOME=`dirname "$SOURCE"`
-SCALA_HOME=`cd "$SCALA_HOME"; pwd -P`
-SCALA_HOME=`cd "$SCALA_HOME"/..; pwd`
+SCALA_HOME=@@SCALA_HOME@@
 
 # Remove spaces from SCALA_HOME on windows
 if $cygwin; then
@@@@ -83,4 +67,4 @@@@
     JAVACMD="$JAVA_HOME/bin/java"
 fi
 
-exec "${JAVACMD:=java}" $JAVA_OPTS -cp "$TOOL_CLASSPATH" -Dscala.home="$SCALA_HOME" -Denv.classpath="$CLASSPATH" -Denv.emacs="$EMACS"  sbaz.clui.CommandLine  "$@@"
+exec ${JAVACMD:=@@JAVA_HOME@@/bin/java} $JAVA_OPTS -cp "$TOOL_CLASSPATH" -Dscala.home="$SCALA_HOME" -Denv.classpath="$CLASSPATH" -Denv.emacs="$EMACS"  sbaz.clui.CommandLine  "$@@"
@


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-ac,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 3
--- bin/sbaz.orig	2009-10-28 06:19:03.000000000 -0700
+++ bin/sbaz
@@@@ -14,20 +14,21 @@@@ case "`uname`" in
d23 5
a27 16
-SCALA_HOME=`dirname "$SOURCE"`/..;
-SCALA_HOME=`cd "$SCALA_HOME"; pwd`;
+#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;
+#SCALA_HOME=`dirname "$SOURCE"`/..;
+#SCALA_HOME=`cd "$SCALA_HOME"; pwd`;
d29 2
d32 3
a34 5
     SCALA_HOME=`cygpath --windows --short-name "$SCALA_HOME"`
     SCALA_HOME=`cygpath --unix "$SCALA_HOME"`
@@@@ -58,4 +59,4 @@@@ fi
 # Reminder: substitution ${JAVA_OPTS:=-Xmx256M -Xms16M} DO NOT work on Solaris
 [ -n "$JAVA_OPTS" ] || JAVA_OPTS="-Xmx256M -Xms16M"
d36 2
a37 2
-${JAVACMD:=java} $JAVA_OPTS -cp "$TOOL_CLASSPATH" -Dscala.home="$SCALA_HOME" -Denv.classpath="$CLASSPATH" -Denv.emacs="$EMACS"  sbaz.clui.CommandLine  "$@@"
+${JAVACMD:=@@JAVA_HOME@@/bin/java} $JAVA_OPTS -cp "$TOOL_CLASSPATH" -Dscala.home="$SCALA_HOME" -Denv.classpath="$CLASSPATH" -Denv.emacs="$EMACS"  sbaz.clui.CommandLine  "$@@"
@


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
@@
