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

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

  if MacOS.prefer_64_bit?
    url 'http://filehost.perforce.com/perforce/r12.1/bin.darwin90x86_64/p4'
    version '2012.1.473528-x86_64'
    sha1 '536d43c3fc0560da5aeacbd2bd3405891c442066'
  else
    url 'http://filehost.perforce.com/perforce/r12.1/bin.darwin90x86/p4'
    version '2012.1.473528-x86'
    sha1 'c10768ca3b6d7b8d1a2558b4b9fb965d2148523f'
  end

  def install
    bin.install 'p4'
  end
end