aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/perforce-server.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/perforce-server.rb')
-rw-r--r--Library/Formula/perforce-server.rb13
1 files changed, 10 insertions, 3 deletions
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'