aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2010-04-08 10:41:09 -0700
committerAdam Vandenberg2010-04-08 10:41:09 -0700
commitaadadbb4bfbeaf3618235605d4daeff5ae79923a (patch)
tree657d9b716aa9b5fe83de071613e383d45ea8a249 /Library/Formula
parente5104605d66a7aed479f67fafecf1c4b530da717 (diff)
downloadhomebrew-aadadbb4bfbeaf3618235605d4daeff5ae79923a.tar.bz2
Formula for Perforce Jam
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/jam.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/jam.rb b/Library/Formula/jam.rb
new file mode 100644
index 000000000..b82d9bad4
--- /dev/null
+++ b/Library/Formula/jam.rb
@@ -0,0 +1,19 @@
+require 'formula'
+
+class Jam <Formula
+ url 'ftp://ftp.perforce.com/jam/jam-2.5.zip'
+ homepage 'http://www.perforce.com/jam/jam.html'
+ md5 'f92caadb62fe4cb0b152eff508c9d450'
+
+ def install
+ # Why zip up as read-only?
+ system "chmod a+w *"
+
+ inreplace "Makefile" do |s|
+ s.remove_make_var! ['CC', 'CFLAGS']
+ end
+
+ system "make"
+ bin.install ["bin.macosx/jam", "bin.macosx/mkjambase"]
+ end
+end