ports/157705: [maintainer update] update lang/scala
Mitsuru YOSHIDA
mitsururike at gmail.com
Wed Jun 8 14:20:05 UTC 2011
>Number: 157705
>Category: ports
>Synopsis: [maintainer update] update lang/scala
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 08 14:20:04 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Mitsuru YOSHIDA
>Release: 8.2-RELEASE
>Organization:
>Environment:
>Description:
update lang/scala to 2.9.0.1.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN scala.old/Makefile scala/Makefile
--- scala.old/Makefile 2011-06-08 11:41:50.000000000 +0900
+++ scala/Makefile 2011-06-08 22:29:09.000000000 +0900
@@ -6,8 +6,7 @@
#
PORTNAME= scala
-PORTVERSION= 2.8.1
-DISTVERSIONSUFFIX= .final
+PORTVERSION= 2.9.0.1
CATEGORIES= lang java
MASTER_SITES= http://www.scala-lang.org/downloads/distrib/files/ \
LOCAL/glarkin
@@ -16,6 +15,8 @@
MAINTAINER= mitsururike at gmail.com
COMMENT= The Scala Programming Language
+RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
+
NO_BUILD= yes
USE_JAVA= yes
JAVA_VERSION= 1.5+
@@ -33,6 +34,10 @@
@${ECHO_MSG} "Installation settings:"
@${ECHO_MSG} " SCALA_HOME: ${SCALA_HOME}"
+post-patch:
+ @${GREP} -lr '^#!/bin/bash' ${WRKSRC}/bin | ${XARGS} \
+ ${REINPLACE_CMD} 's|^#!/bin/bash|#!${LOCALBASE}/bin/bash|'
+
do-install:
@${ECHO_MSG} ">> Installing Scala files..."
@${INSTALL} -d ${SCALA_HOME}/bin
diff -ruN scala.old/distinfo scala/distinfo
--- scala.old/distinfo 2011-06-08 11:41:50.000000000 +0900
+++ scala/distinfo 2011-06-08 11:49:09.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (scala-2.8.1.final.tgz) = 74211e0fc79ccd555708c1102049cfcaa615984cfdef37b412b4b44d9933c751
-SIZE (scala-2.8.1.final.tgz) = 20203153
+SHA256 (scala-2.9.0.1.tgz) = 0db61068d831c3416e19846d9f090df748e08dfbba78030f90fcb5ca355fd407
+SIZE (scala-2.9.0.1.tgz) = 25368402
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list