summaryrefslogtreecommitdiff
path: root/lang/scala/Makefile
diff options
context:
space:
mode:
authoryyamano <yyamano>2012-05-01 22:22:01 +0000
committeryyamano <yyamano>2012-05-01 22:22:01 +0000
commite773a2ca556b2c1626ddfd9ffef087c7a3897167 (patch)
tree6ddda052518f8257d60af63285c684d079732b72 /lang/scala/Makefile
parentb07db06a566b80867ab71cec872987da668a3e31 (diff)
downloadpkgsrc-e773a2ca556b2c1626ddfd9ffef087c7a3897167.tar.gz
Update to Scala 2.9.2.
Scala 2.9.2 addresses several bugs, and introduces additional improvements. Here's a list of the issues that have been fixed since 2.9.1-1: c9e254ec27 Backport fix for SI-4545, SI-5633. 11cb359863 Document regex replacement strings behavior. 125b5037c8 Fix for a bug in CharArrayReader which made tri... a26dd939b8 Revert attempt to limit private types in lubs. 3cfbfa3d0e Fixes SI-5380: non-local return of try expression (cherry picked from commit 02e260a8e67e2b2b6f876aafe76cd61248a89374) 1864e6d1c1 Add test case for SI-4835 (https://issues.scala-lang.org/browse/SI-4835) 841f074e2b Fixed SI-4835 (https://issues.scala-lang.org/browse/SI-4835). da794bb4ee Fixes NPE using iterator with an XML attribute ... b783e17319 Fix various InnerClasses bugs. 28be69e263 Close file descriptor leak in sys.process. 2e66a13e26 fixes SI-5506. better cps type propagation for polymorphic and multi-argument list methods. 9c3cbde0fd Fix for error printing regression. e1810d1e88 Migration message and version cleanup b57f68f34e Improve description of flatten, flatMap 0fcc5ce9c5 Explain Function1 vs PartialFunction 634382969a Fixes SI-4507. d1870c2162 Fixes to javascript in Scaladoc, contributed by... f4dec8a8af Scaladoc now hides members with @bridge annotat... 4f6cd102de Improves the usability of Scaladoc when images ... 1fb3760f96 Minor changes to the Scaladoc stylesheets, as s... be067ac8de Scaladoc shouldn't drop type arguments to alias... e54aa8c7bf Fixes SI-4641 again. 2701d7fa47 Backported commit 7a99c03da1d31ac5950eecb30f422f43c5e3d04e from master Scala 2.9.1-1 fixes a critical Java-Scala interoperability issue that arose in 2.9.1. Here is the change list: Don't mark mixed-in methods as bridges. Add SYNTHETIC flag for BRIDGE methods. Update build for publishing to sonatype OSSRH
Diffstat (limited to 'lang/scala/Makefile')
-rw-r--r--lang/scala/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/lang/scala/Makefile b/lang/scala/Makefile
index 6c10319ea4e..eb7b23f45bc 100644
--- a/lang/scala/Makefile
+++ b/lang/scala/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.5 2011/09/30 07:56:13 yyamano Exp $
+# $NetBSD: Makefile,v 1.6 2012/05/01 22:22:01 yyamano Exp $
-DISTNAME= scala-2.9.1
+DISTNAME= scala-2.9.2
CATEGORIES= lang
MASTER_SITES= http://www.scala-lang.org/downloads/distrib/files/
EXTRACT_SUFX= .tgz
-DISTFILES= ${DISTNAME}.final${EXTRACT_SUFX}
MAINTAINER= yyamano@NetBSD.org
HOMEPAGE= http://www.scala-lang.org/
@@ -12,21 +11,18 @@ COMMENT= Scala is a multi-paradigm programming language
PKG_DESTDIR_SUPPORT= user-destdir
-WRKSRC= ${WRKDIR}/${DISTNAME}.final
-
USE_JAVA= run
USE_JAVA2= 1.5
NO_BUILD= yes
USE_TOOLS+= bash:run
-REPLACE_BASH+= bin/fsc bin/sbaz-setup bin/scala bin/scalac \
+REPLACE_BASH+= bin/fsc bin/scala bin/scalac \
bin/scaladoc bin/scalap
SCALA_HOME= ${PREFIX}/share/${DISTNAME}
SUBST_CLASSES+= scala
-SUBST_FILES.scala= bin/fsc bin/sbaz bin/sbaz-setup
-SUBST_FILES.scala+= bin/scala bin/scalac bin/scaladoc bin/scalap
+SUBST_FILES.scala= bin/fsc bin/scala bin/scalac bin/scaladoc bin/scalap
SUBST_STAGE.scala= pre-configure
SUBST_SED.scala= -e 's,@PREFIX@,${PREFIX},g'
SUBST_SED.scala+= -e 's,@JAVA_HOME@,${PKG_JAVA_HOME},g'
@@ -43,7 +39,7 @@ do-install:
@${RM} ${WRKSRC}/bin/*.orig
${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/man1/* ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
- @cd ${WRKSRC} && ${TAR} cf - doc lib meta misc src | ${TAR} xf - -C ${DESTDIR}${SCALA_HOME}
+ @cd ${WRKSRC} && ${TAR} cf - doc lib misc src | ${TAR} xf - -C ${DESTDIR}${SCALA_HOME}
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"