aboutsummaryrefslogtreecommitdiff
path: root/lang/jruby/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2011-11-21 08:26:06 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2011-11-21 08:26:06 +0000
commitabdb9e33d3b82d26435324d0581a3b210efd20b9 (patch)
treebdd9334955705383bbd52b6ddc74fe53e18cc4ce /lang/jruby/Makefile
parentf32b6cc5d300b9b6cf96592b5c6949c5ba7e7d83 (diff)
downloadports-abdb9e33d3b82d26435324d0581a3b210efd20b9.tar.gz
ports-abdb9e33d3b82d26435324d0581a3b210efd20b9.zip
Notes
Diffstat (limited to 'lang/jruby/Makefile')
-rw-r--r--lang/jruby/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/jruby/Makefile b/lang/jruby/Makefile
index 1514e9fd2dc5..dd5c9b308c78 100644
--- a/lang/jruby/Makefile
+++ b/lang/jruby/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= jruby
-PORTVERSION= 1.6.4
+PORTVERSION= 1.6.5
CATEGORIES= lang ruby java
MASTER_SITES= http://jruby.org.s3.amazonaws.com/downloads/${PORTVERSION}/
DISTNAME= ${PORTNAME}-bin-${PORTVERSION}
@@ -21,14 +21,14 @@ USE_JAVA= yes
JAVA_VERSION= 1.5+
WRKDIR?= ${WRKDIRPREFIX}${.CURDIR}/work
-JRUBY_HOME?= ${PREFIX}/share/${PORTNAME}-${PORTVERSION}
+JRUBY_HOME?= ${PREFIX}/share/${PORTNAME}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
REPLACE_FILES= ${WRKSRC}/bin/jruby
REPLACE_LIST= JAVA_HOME=${JAVA_HOME}
REPLACE_LIST_TEMP= ${REPLACE_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/}
SHEBANG_FILES= rake spec spec_translator Rakefile '*.rb'
-PLIST_SUB+= PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION}
+PLIST_SUB+= PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION} JRUBY_HOME=${JRUBY_HOME:S,${PREFIX}/,,}
.include <bsd.port.pre.mk>