- Update to 20080916

PR:		128131
Submitted by:	peter.schuller@infidyne.com
This commit is contained in:
Martin Wilke 2008-10-18 21:38:07 +00:00
parent 1449bfb28e
commit 499b4f61bb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=221754
3 changed files with 9 additions and 7 deletions

View File

@ -7,7 +7,7 @@
#
PORTNAME= clojure
PORTVERSION= 20080612
PORTVERSION= 20080916
CATEGORIES= lang lisp java
MASTER_SITES= SF
DISTNAME= ${PORTNAME}_${PORTVERSION}
@ -26,6 +26,6 @@ do-install:
${INSTALL_SCRIPT} ${WRKDIR}/clojure ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/clojure.jar ${JAVAJARDIR}
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKDIR}/src/boot.clj ${DATADIR}
${INSTALL_DATA} ${WRKDIR}/src/clj/clojure/boot.clj ${DATADIR}
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (clojure_20080612.zip) = 3bc6d59a12331875fa69281760be60d7
SHA256 (clojure_20080612.zip) = 82a126241d47a547824135c7a963cb8038fdb157e76163fd4345fd36a94a4379
SIZE (clojure_20080612.zip) = 727073
MD5 (clojure_20080916.zip) = 289c08f9c8cab51615623704b65048cf
SHA256 (clojure_20080916.zip) = 68a2b2b5d990b7e36045f0b6f8ff1c9e83a24ceb5056bada2b124efc10caaf77
SIZE (clojure_20080916.zip) = 771075

View File

@ -2,9 +2,11 @@
#
# $FreeBSD$
if [ -z "$@" ]
if [ -z "$1" ]
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 "$@"
SCRIPT="$1"
shift 1
JAVA_VERSION="1.5+" "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%/clojure.jar" clojure.lang.Script "$SCRIPT" -- "$@"
fi