Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
Add formula for HaXe
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
cehoffman authored and adamv committed Nov 1, 2010
1 parent 49a96e9 commit 2505891
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions 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

0 comments on commit 2505891

Please sign in to comment.