aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-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'