diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/fantom.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/fantom.rb b/Library/Formula/fantom.rb new file mode 100644 index 000000000..94d984d7b --- /dev/null +++ b/Library/Formula/fantom.rb @@ -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 |
