homebrew-core/Formula/fantom.rb

46 lines
1.3 KiB
Ruby
Raw Normal View History

require 'formula'
class Fantom < Formula
homepage 'http://fantom.org'
url 'https://fan.googlecode.com/files/fantom-1.0.65.zip'
sha1 'f88852a680b91963d8df7136fbcfe9ff54a5bb94'
2012-08-28 05:02:27 +00:00
option 'with-src', 'Also install fantom source'
option 'with-examples', 'Also install fantom examples'
# Select the OS X JDK path in the config file
2014-03-18 21:51:41 +00:00
patch :DATA
def install
rm_f Dir["bin/*.exe", "lib/dotnet/*"]
rm_rf "examples" if build.without? "examples"
rm_rf "src" if build.without? "src"
2012-03-09 03:56:55 +00:00
libexec.install Dir['*']
system "chmod 0755 #{libexec}/bin/*"
2012-02-12 19:07:38 +00:00
bin.install_symlink Dir["#{libexec}/bin/*"]
end
end
__END__
diff --git a/etc/build/config.props b/etc/build/config.props
index 368bce3..ebbff42 100755
--- a/etc/build/config.props
+++ b/etc/build/config.props
@@ -22,8 +22,8 @@ buildVersion=1.0.65
javacParams=-target 1.5
// Windows setup
-jdkHome=/C:/Program Files/Java/jdk1.6/
-dotnetHome=/C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/
+//jdkHome=/C:/Program Files/Java/jdk1.6/
+//dotnetHome=/C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/
// Mac setup
-//jdkHome=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/
\ No newline at end of file
+jdkHome=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/
\ No newline at end of file