Skip to content
This repository
Browse code

Add formula for HaXe

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
commit 2505891c0f796f6076e2f12b377616cdda229e70 1 parent 49a96e9
Chris Hoffman authored February 15, 2010 adamv committed November 01, 2010

Showing 1 changed file with 20 additions and 0 deletions. Show diff stats Hide diff stats

  1. 20  Library/Formula/haxe.rb
20  Library/Formula/haxe.rb
... ...
@@ -0,0 +1,20 @@
  1
+require 'formula'
  2
+
  3
+class Haxe <Formula
  4
+  url 'http://haxe.org/file/haxe-2.06-osx.tar.gz'
  5
+  version '2.06'
  6
+  homepage 'http://haxe.org/'
  7
+  sha1 '729a10e0b68e53d40928396b961a741724343bea'
  8
+
  9
+  def install
  10
+    bin.install %w(haxe haxedoc haxelib)
  11
+    (share+"haxe").install "std"
  12
+  end
  13
+
  14
+  def caveats; <<-EOS.undent
  15
+    HaXe needs to know how to find its standard library so add this to your
  16
+    shell profile:
  17
+      export HAXE_LIBRARY_PATH="`brew --prefix`/share/haxe/std"'
  18
+    EOS
  19
+  end
  20
+end

0 notes on commit 2505891

Please sign in to comment.
Something went wrong with that request. Please try again.