aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJR Boyens2011-02-23 10:07:41 -0500
committerAdam Vandenberg2011-03-29 22:50:22 -0700
commit40e972a4ffd2dd06324117746f58b2a707589e36 (patch)
treea519a43a94054bbb0f8bf1ea3b88d2f0bec80e9a /Library
parent4049365c180178f41c26670d37aed085be391672 (diff)
downloadhomebrew-40e972a4ffd2dd06324117746f58b2a707589e36.tar.bz2
Fantom 1.0.57
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/fantom.rb18
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