Files
ports/lang/clojure/files/clojure-bin.in
T
Martin Wilke d25f263cb5 - Update to 20081217
- Now hosted on Google code
- Distfile now unpacks in subdir
- Change name of temporary version of 'clojure' script to not conflict
  with directory from distfile
- Pass maintainership to submitter

PR:		129770
Submitted by:	Peter Schuller <peter.schuller@infidyne.com>
2008-12-23 20:31:42 +00:00

13 lines
301 B
Bash

#!/bin/sh
#
# $FreeBSD$
if [ -z "$1" ]
then
JAVA_VERSION="1.5+" "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%/clojure.jar" clojure.lang.Repl
else
SCRIPT="$1"
shift 1
JAVA_VERSION="1.5+" "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%/clojure.jar" clojure.lang.Script "$SCRIPT" -- "$@"
fi