aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/perforce-server.rb
blob: 501b3723c25456a7a7beac75224391a294a991ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'formula'

class PerforceServer < Formula
  homepage 'http://www.perforce.com/'

  if MacOS.prefer_64_bit?
    url 'http://filehost.perforce.com/perforce/r12.2/bin.darwin90x86_64/p4d'
    version '2012.2.585708-x86_64'
    sha1 'e404c431df55d382b16d3f61a50261735865300f'
  else
    url 'http://filehost.perforce.com/perforce/r12.2/bin.darwin90x86/p4d'
    version '2012.2.585708-x86'
    sha1 '2bdc3261519973f6f2dbb6222065398993fce52a'
  end

  def install
    bin.install 'p4d'
  end
end