1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00

Update to 0.12.2 release.

This commit is contained in:
Alex Dupre 2013-02-14 20:51:10 +00:00
parent 518f95480e
commit 1705b675b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=312240
4 changed files with 8 additions and 24 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= sbt
PORTVERSION= 0.12.1
PORTVERSION= 0.12.2
CATEGORIES= devel java
MASTER_SITES= http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages/org/scala-sbt/sbt/${PORTVERSION}/
DISTNAME= ${PORTNAME}
@ -37,7 +37,7 @@ SUB_FILES= sbt.sh
post-patch:
@${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|g" \
${WRKSRC}/bin/sbt ${WRKSRC}/bin/sbt-launch-lib.bash
${WRKSRC}/bin/sbt
do-install:
${MKDIR} ${DATADIR}

View File

@ -1,2 +1,2 @@
SHA256 (sbt/0.12.1/sbt.tgz) = bb446337ca8c988bdf9815748375466746b2d1a5634268188e22a3890f393335
SIZE (sbt/0.12.1/sbt.tgz) = 1083996
SHA256 (sbt/0.12.2/sbt.tgz) = 690ce1d6726470f57afa419c3797b6e5fc83eb55a27dbc05b7feccb2890e8980
SIZE (sbt/0.12.2/sbt.tgz) = 1083974

View File

@ -1,11 +1,6 @@
--- bin/sbt.orig 2012-09-18 09:35:52.000000000 +0200
+++ bin/sbt 2012-09-18 09:37:14.000000000 +0200
@@ -1,11 +1,11 @@
#!/usr/bin/env bash
-. $(dirname $0)/sbt-launch-lib.bash
+. %%PREFIX%%/share/sbt/sbt-launch-lib.bash
--- bin/sbt.orig 2013-01-18 19:54:47.000000000 +0100
+++ bin/sbt 2013-02-14 21:48:47.000000000 +0100
@@ -25,7 +25,7 @@ realpath () {
declare -r noshare_opts="-Dsbt.global.base=project/.sbtboot -Dsbt.boot.directory=project/.boot -Dsbt.ivy.home=project/.ivy"
declare -r sbt_opts_file=".sbtopts"
@ -14,7 +9,7 @@
usage() {
cat <<EOM
@@ -39,7 +39,7 @@
@@ -59,7 +59,7 @@ Usage: $script_name [options]
SBT_OPTS environment variable, if unset uses "$default_sbt_opts"
.sbtopts if this file exists in the current directory, it is
prepended to the runner args

View File

@ -1,11 +0,0 @@
--- bin/sbt-launch-lib.bash.orig 2012-09-18 09:35:57.000000000 +0200
+++ bin/sbt-launch-lib.bash 2012-09-18 09:37:53.000000000 +0200
@@ -29,7 +29,7 @@
}
jar_file () {
- echo "$(dirname $0)/sbt-launch.jar"
+ echo "%%PREFIX%%/share/sbt/sbt-launch.jar"
}
acquire_sbt_jar () {