Fantom 1.0.57

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
JR Boyens 2011-02-23 10:07:41 -05:00 committed by Adam Vandenberg
parent f368e328a8
commit 6fe3fec69c

18
Formula/fantom.rb Normal file
View file

@ -0,0 +1,18 @@
require 'formula'
class Fantom <Formula
url 'http://fan.googlecode.com/files/fantom-1.0.57.zip'
homepage 'http://fantom.org'
md5 '5f5b7fbaae4e2cf76ded359c57530af2'
def install
rm_f Dir["bin/*.exe", "lib/dotnet/*"]
rm_rf Dir["examples", "src"]
libexec.install Dir['*']
bin.mkpath
Dir["#{libexec}/bin/*"].each do |f|
next unless File.extname(f).empty?
ln_s f, bin+File.basename(f)
end
end
end