diff options
| author | Martin Lau | 2012-03-08 18:00:26 +1100 |
|---|---|---|
| committer | Adam Vandenberg | 2012-03-14 07:11:43 -0700 |
| commit | 703167e93a2a0ab9469c557ec7e8a049aa69b97e (patch) | |
| tree | 51c799691e73a04891b9b4f7ff20871769132798 /Library/Formula | |
| parent | 266e230adb293b19b6e34b90ac9f23e2396c1c06 (diff) | |
| download | homebrew-703167e93a2a0ab9469c557ec7e8a049aa69b97e.tar.bz2 | |
fantom: use OS X config
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/fantom.rb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/fantom.rb b/Library/Formula/fantom.rb index 5a360ef9b..835ed8493 100644 --- a/Library/Formula/fantom.rb +++ b/Library/Formula/fantom.rb @@ -10,6 +10,9 @@ class Fantom < Formula ['--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' @@ -20,3 +23,22 @@ class Fantom < Formula 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/ |
