diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2009-01-04 08:34:01 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2009-01-04 08:34:01 +0000 |
commit | 54a161bd04530e12ab9ef6b72739448eaaed58e0 (patch) | |
tree | 58c369b3590e97df47e199362dd78c0ab22991dd /lang/clojure | |
parent | 7af8b0c347bc20a46cef5b325cf86ae49e73c01d (diff) | |
download | ports-54a161bd04530e12ab9ef6b72739448eaaed58e0.tar.gz ports-54a161bd04530e12ab9ef6b72739448eaaed58e0.zip |
Notes
Diffstat (limited to 'lang/clojure')
-rw-r--r-- | lang/clojure/Makefile | 1 | ||||
-rw-r--r-- | lang/clojure/files/clojure-bin.in | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lang/clojure/Makefile b/lang/clojure/Makefile index 577262b38c36..fe2029c533b1 100644 --- a/lang/clojure/Makefile +++ b/lang/clojure/Makefile @@ -8,6 +8,7 @@ PORTNAME= clojure PORTVERSION= 20081217 +PORTREVISION= 1 CATEGORIES= lang lisp java MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} DISTNAME= ${PORTNAME}_${PORTVERSION} diff --git a/lang/clojure/files/clojure-bin.in b/lang/clojure/files/clojure-bin.in index 621680880bc3..b48a2dd34ff7 100644 --- a/lang/clojure/files/clojure-bin.in +++ b/lang/clojure/files/clojure-bin.in @@ -4,9 +4,9 @@ if [ -z "$1" ] then - JAVA_VERSION="1.5+" "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%/clojure.jar" clojure.lang.Repl + JAVA_VERSION="1.5+" "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%/clojure.jar:$CLASSPATH" clojure.lang.Repl else SCRIPT="$1" shift 1 - JAVA_VERSION="1.5+" "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%/clojure.jar" clojure.lang.Script "$SCRIPT" -- "$@" + JAVA_VERSION="1.5+" "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%/clojure.jar:$CLASSPATH" clojure.lang.Script "$SCRIPT" -- "$@" fi |