aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter C Miller2012-05-18 13:16:34 -0400
committerAdam Vandenberg2012-05-19 21:39:57 -0700
commit68293d0159d65004216d43f1ee545bf380ca8c22 (patch)
treee0cda8f5fd0295398e08d81bde472cb98a713cf3
parentfb98e3aacb193770597ef9d5b401b01396e9a8da (diff)
downloadhomebrew-68293d0159d65004216d43f1ee545bf380ca8c22.tar.bz2
perforce 2012.1.459601
There are now separate 32 and 64 bit versions. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/perforce.rb13
1 files changed, 10 insertions, 3 deletions
diff --git a/Library/Formula/perforce.rb b/Library/Formula/perforce.rb
index a374120a8..6fd7448e6 100644
--- a/Library/Formula/perforce.rb
+++ b/Library/Formula/perforce.rb
@@ -1,10 +1,17 @@
require 'formula'
class Perforce < Formula
- url 'http://filehost.perforce.com/perforce/r11.1/bin.darwin90u/p4'
homepage 'http://www.perforce.com/'
- md5 '36b710330cc3f6ba4b75962b2a02302a'
- version '2011.1.393975'
+
+ if MacOS.prefer_64_bit?
+ url 'http://filehost.perforce.com/perforce/r12.1/bin.darwin90x86_64/p4'
+ md5 'fb51515f7b94b871c62a04a8d4b86c19'
+ version '2012.1.459601-x86_64'
+ else
+ url 'http://filehost.perforce.com/perforce/r12.1/bin.darwin90x86/p4'
+ md5 'b47e583d158900ccdf49634686dd70de'
+ version '2012.1.459601-x86'
+ end
def install
bin.install 'p4'