aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorChris Hoffman2010-02-15 19:41:02 -0600
committerAdam Vandenberg2010-11-01 09:22:36 -0700
commit2505891c0f796f6076e2f12b377616cdda229e70 (patch)
tree7c99dd606b2a5cddb570cb041b8f7a35a3de0041 /Library/Formula
parent49a96e95d225f5823c6d1cf715df3c8cfaab0757 (diff)
downloadhomebrew-2505891c0f796f6076e2f12b377616cdda229e70.tar.bz2
Add formula for HaXe
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/haxe.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/haxe.rb b/Library/Formula/haxe.rb
new file mode 100644
index 000000000..6319ecd5c
--- /dev/null
+++ b/Library/Formula/haxe.rb
@@ -0,0 +1,20 @@
+require 'formula'
+
+class Haxe <Formula
+ url 'http://haxe.org/file/haxe-2.06-osx.tar.gz'
+ version '2.06'
+ homepage 'http://haxe.org/'
+ sha1 '729a10e0b68e53d40928396b961a741724343bea'
+
+ def install
+ bin.install %w(haxe haxedoc haxelib)
+ (share+"haxe").install "std"
+ end
+
+ def caveats; <<-EOS.undent
+ HaXe needs to know how to find its standard library so add this to your
+ shell profile:
+ export HAXE_LIBRARY_PATH="`brew --prefix`/share/haxe/std"'
+ EOS
+ end
+end