blob: 32a2ca06c61b311a499ddda4ca34d0d126a19cf6 (
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
45
|
require 'formula'
class Fantom < Formula
homepage 'http://fantom.org'
url 'http://fan.googlecode.com/files/fantom-1.0.65.zip'
sha1 'f88852a680b91963d8df7136fbcfe9ff54a5bb94'
option 'with-src', 'Also install fantom source'
option 'with-examples', 'Also install fantom examples'
# 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" if build.without? "examples"
rm_rf "src" if build.without? "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 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
|