aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/perforce-proxy.rb13
-rw-r--r--Library/Formula/perforce-server.rb13
2 files changed, 20 insertions, 6 deletions
diff --git a/Library/Formula/perforce-proxy.rb b/Library/Formula/perforce-proxy.rb
index 6f8b4604c..fcd16dabf 100644
--- a/Library/Formula/perforce-proxy.rb
+++ b/Library/Formula/perforce-proxy.rb
@@ -1,10 +1,17 @@
require 'formula'
class PerforceProxy < Formula
- url 'http://filehost.perforce.com/perforce/r11.1/bin.darwin90u/p4p'
homepage 'http://www.perforce.com/'
- md5 '2b088a486f6e431110c6926f4f63b489'
- version '2011.1.393975'
+
+ if MacOS.prefer_64_bit?
+ url 'http://filehost.perforce.com/perforce/r12.1/bin.darwin90x86_64/p4p'
+ md5 '0b35652a8a0d51021ed88a81acb84448'
+ version '2012.1.459601-x86_64'
+ else
+ url 'http://filehost.perforce.com/perforce/r12.1/bin.darwin90x86/p4p'
+ md5 '745bacd461d69b4f441a6f14adedec28'
+ version '2012.1.459601-x86'
+ end
def install
sbin.install 'p4p'
diff --git a/Library/Formula/perforce-server.rb b/Library/Formula/perforce-server.rb
index 9a329e480..53948a6a4 100644
--- a/Library/Formula/perforce-server.rb
+++ b/Library/Formula/perforce-server.rb
@@ -1,10 +1,17 @@
require 'formula'
class PerforceServer < Formula
- url 'http://filehost.perforce.com/perforce/r11.1/bin.darwin90u/p4d'
homepage 'http://www.perforce.com/'
- md5 '7809e0bc85cc7672c5dfa77c33b70336'
- version '2011.1.428451'
+
+ if MacOS.prefer_64_bit?
+ url 'http://filehost.perforce.com/perforce/r12.1/bin.darwin90x86_64/p4d'
+ md5 '30779829f7bdfdea5c57c5018e7cff35'
+ version '2012.1.459601-x86_64'
+ else
+ url 'http://filehost.perforce.com/perforce/r12.1/bin.darwin90x86/p4d'
+ md5 '4bae8014aa541b453e524f65cfb15dcc'
+ version '2012.1.459601-x86'
+ end
def install
bin.install 'p4d'