Update to 1.5.6.

This commit is contained in:
Akinori MUSHA 2010-12-29 21:23:44 +00:00
parent ec069c3c67
commit 4483f7e582
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=267137
4 changed files with 1643 additions and 3266 deletions

View file

@ -6,12 +6,9 @@
#
PORTNAME= jruby
PORTVERSION= 1.1.5
PORTVERSION= 1.5.6
CATEGORIES= lang ruby java
MASTER_SITES= http://dist.codehaus.org/jruby/ \
http://repo2.maven.org/maven/jruby/ \
http://repo1.maven.org/maven/jruby/ \
http://dist.codehaus.org/jruby/previous/
MASTER_SITES= http://jruby.org.s3.amazonaws.com/downloads/${PORTVERSION}/
DISTNAME= ${PORTNAME}-bin-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
@ -21,7 +18,7 @@ RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
NO_BUILD= yes
USE_JAVA= yes
JAVA_VERSION= 1.3+
JAVA_VERSION= 1.5+
WRKDIR?= ${WRKDIRPREFIX}${.CURDIR}/work
JRUBY_HOME?= ${PREFIX}/share/${PORTNAME}-${PORTVERSION}
@ -76,8 +73,8 @@ do-install:
@${ECHO_MSG} " [ DONE ]"
@${ECHO_MSG} -n ">> Installing symlinks in ${PREFIX}/bin..."
@${LN} -s ${JRUBY_HOME}/bin/jruby ${PREFIX}/bin/jruby
@${LN} -s ${JRUBY_HOME}/bin/jirb ${PREFIX}/bin/jirb
@${LN} -sf ${JRUBY_HOME}/bin/jruby ${PREFIX}/bin/jruby
@${LN} -sf ${JRUBY_HOME}/bin/jirb ${PREFIX}/bin/jirb
@${ECHO_MSG} " [ DONE ]"
.if !defined(NOPORTDOCS)

View file

@ -1,3 +1,2 @@
MD5 (jruby-bin-1.1.5.tar.gz) = 912add2e28184d8cd3feacf43afd4968
SHA256 (jruby-bin-1.1.5.tar.gz) = 75c28625b26b2de3994a139e0c97e2147d5b87aad04b977417ab0d91be8dd9bc
SIZE (jruby-bin-1.1.5.tar.gz) = 9583911
SHA256 (jruby-bin-1.5.6.tar.gz) = 545148197f98a4483276cdef5cedda0542a518d68d771c122f310195d8925089
SIZE (jruby-bin-1.5.6.tar.gz) = 11528413

View file

@ -0,0 +1,24 @@
--- bin/jruby.orig 2010-12-04 01:58:22.000000000 +0900
+++ bin/jruby 2010-12-30 06:00:45.000000000 +0900
@@ -28,15 +28,14 @@
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
- if expr "$link" : '.*/.*' > /dev/null; then
- if expr "$link" : '/' > /dev/null; then
+ case "$link" in
+ /*)
PRG="$link"
- else
+ ;;
+ *)
PRG="`dirname ${PRG}`/${link}"
- fi
- else
- PRG="`dirname $PRG`/$link"
- fi
+ ;;
+ esac
done
JRUBY_HOME_1=`dirname "$PRG"` # the ./bin dir

File diff suppressed because it is too large Load diff