blob: 027937be3b8ccfc7fdf98adfdf9be02432640dde (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
  | 
require 'formula'
class Fantom < Formula
  homepage 'http://fantom.org'
  url 'http://fan.googlecode.com/files/fantom-1.0.63.zip'
  sha1 '21042981b63da9e8f170c6d53d6abcede7d2ba25'
  def options
    [['--with-src', 'Also install fantom source'],
     ['--with-examples', 'Also install fantom examples']]
  end
  # Select the OS X JDK path in the config file
  def patches; DATA; end
  def install
    rm_f Dir["bin/*.exe", "lib/dotnet/*"]
    rm_rf "examples" unless ARGV.include? '--with-examples'
    rm_rf "src" unless ARGV.include? '--with-src'
    libexec.install Dir['*']
    system "chmod 0755 #{libexec}/bin/*"
    bin.install_symlink Dir["#{libexec}/bin/*"]
  end
end
__END__
diff --git a/etc/build/config.props b/etc/build/config.props
index c6675f1..b8423fe 100644
--- a/etc/build/config.props
+++ b/etc/build/config.props
@@ -12,8 +12,8 @@ buildVersion=1.0.62
 //devHome=file:/E:/fan/
 
 // Windows setup
-jdkHome=/C:/Program Files/Java/jdk1.6.0_21/
-dotnetHome=/C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/
+//jdkHome=/C:/Program Files/Java/jdk1.6.0_21/
+//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/
  |