aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authordbr2009-10-17 01:55:27 +0100
committerMax Howell2009-10-19 04:02:48 +0100
commit7f8258f0bd09397c2709b2ead1ef4480fea4b205 (patch)
treea15646e7a4e349b6004e6cac8f3f727092217267 /Library
parent76e4d1c669d9e560353e86eafc0eb799fee40ffe (diff)
downloadhomebrew-7f8258f0bd09397c2709b2ead1ef4480fea4b205.tar.bz2
Add clojure-contrib formula
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/clojure-contrib.rb26
1 files changed, 26 insertions, 0 deletions
diff --git a/Library/Formula/clojure-contrib.rb b/Library/Formula/clojure-contrib.rb
new file mode 100644
index 000000000..f7b2dc3c1
--- /dev/null
+++ b/Library/Formula/clojure-contrib.rb
@@ -0,0 +1,26 @@
+require 'formula'
+
+class ClojureContrib <Formula
+ head 'git://github.com/richhickey/clojure-contrib.git'
+ homepage 'http://github.com/richhickey/clojure-contrib'
+
+ depends_on 'clojure'
+
+ def install
+ system "ant"
+ prefix.install "clojure-contrib.jar"
+ end
+
+ def caveats
+ <<-END_CAVEATS
+For Clojure to detect the contrib libs, the following path must be in your
+CLASSPATH ENV variable:
+
+ #{prefix}
+
+To do this with bash, add the following to your ~/.profile file:
+
+ export CLASSPATH=$CLASSPATH:#{prefix}
+ END_CAVEATS
+ end
+end