aboutsummaryrefslogtreecommitdiffstats
path: root/lang/clojure
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2009-01-04 16:34:01 +0800
committerrafan <rafan@FreeBSD.org>2009-01-04 16:34:01 +0800
commite261585ba293458a1472f5a899ee5f53cdf03f46 (patch)
treee677c1a6248c032b19ea96dbda880eb5794174b7 /lang/clojure
parent76e60be16d87040ccbde31884f7c57186d20df56 (diff)
downloadfreebsd-ports-gnome-e261585ba293458a1472f5a899ee5f53cdf03f46.tar.gz
freebsd-ports-gnome-e261585ba293458a1472f5a899ee5f53cdf03f46.tar.zst
freebsd-ports-gnome-e261585ba293458a1472f5a899ee5f53cdf03f46.zip
- Respect CLASSPATH from environment variable
- Bump PORTREVISION PR: ports/130134 Submitted by: Peter Schuller <peter.schuller at infidyne.com> (maintainer)
Diffstat (limited to 'lang/clojure')
-rw-r--r--lang/clojure/Makefile1
-rw-r--r--lang/clojure/files/clojure-bin.in4
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