aboutsummaryrefslogtreecommitdiff
path: root/lang/clojure
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2008-07-06 15:56:59 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2008-07-06 15:56:59 +0000
commitff860062190e9ea1816f1e98803682875e2ebad0 (patch)
treeefe8cc5c3e8cc766ae715ff6d2dcff416b108233 /lang/clojure
parentef173ab027060883efc5a44fd1b951594a7d8d38 (diff)
downloadports-ff860062190e9ea1816f1e98803682875e2ebad0.tar.gz
ports-ff860062190e9ea1816f1e98803682875e2ebad0.zip
Notes
Diffstat (limited to 'lang/clojure')
-rw-r--r--lang/clojure/Makefile5
-rw-r--r--lang/clojure/distinfo6
-rw-r--r--lang/clojure/files/clojure.in7
3 files changed, 11 insertions, 7 deletions
diff --git a/lang/clojure/Makefile b/lang/clojure/Makefile
index 06e5c1731025..8dec4254a096 100644
--- a/lang/clojure/Makefile
+++ b/lang/clojure/Makefile
@@ -7,13 +7,12 @@
#
PORTNAME= clojure
-PORTVERSION= 20071020
-PORTREVISION= 1
+PORTVERSION= 20080612
CATEGORIES= lang lisp java
MASTER_SITES= SF
DISTNAME= ${PORTNAME}_${PORTVERSION}
-MAINTAINER= ijliao@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= A dynamic programming language for the JVM
USE_ZIP= yes
diff --git a/lang/clojure/distinfo b/lang/clojure/distinfo
index f3d232c1a842..eb423ccb3c95 100644
--- a/lang/clojure/distinfo
+++ b/lang/clojure/distinfo
@@ -1,3 +1,3 @@
-MD5 (clojure_20071020.zip) = 4813d4eff1e6b2ceefa737baf652eb98
-SHA256 (clojure_20071020.zip) = 2cc381fe33a0a10d93efc94c4901ac58a93529e9992e37306d49b843c9d6489e
-SIZE (clojure_20071020.zip) = 547090
+MD5 (clojure_20080612.zip) = 3bc6d59a12331875fa69281760be60d7
+SHA256 (clojure_20080612.zip) = 82a126241d47a547824135c7a963cb8038fdb157e76163fd4345fd36a94a4379
+SIZE (clojure_20080612.zip) = 727073
diff --git a/lang/clojure/files/clojure.in b/lang/clojure/files/clojure.in
index e3bd1c6ce8b4..48ce6d9437ad 100644
--- a/lang/clojure/files/clojure.in
+++ b/lang/clojure/files/clojure.in
@@ -2,4 +2,9 @@
#
# $FreeBSD$
-JAVA_VERSION="1.5+" "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%/clojure.jar" clojure.lang.Compiler %%DATADIR%%/boot.clj
+if [ -z "$@" ]
+then
+ JAVA_VERSION="1.5+" "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%/clojure.jar" clojure.lang.Repl
+else
+ JAVA_VERSION="1.5+" "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%/clojure.jar" clojure.lang.Script "$@"
+fi