From 74c7494126836b037b96c8e8f7ccffd5aeed2133 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 3 Aug 2013 10:29:19 -0700 Subject: Move perforce brews to homebrew-binary Closes #19774. --- Library/Formula/perforce-proxy.rb | 58 -------------------------------------- Library/Formula/perforce-server.rb | 50 -------------------------------- Library/Formula/perforce.rb | 19 ------------- 3 files changed, 127 deletions(-) delete mode 100644 Library/Formula/perforce-proxy.rb delete mode 100644 Library/Formula/perforce-server.rb delete mode 100644 Library/Formula/perforce.rb (limited to 'Library/Formula') diff --git a/Library/Formula/perforce-proxy.rb b/Library/Formula/perforce-proxy.rb deleted file mode 100644 index 351c93053..000000000 --- a/Library/Formula/perforce-proxy.rb +++ /dev/null @@ -1,58 +0,0 @@ -require 'formula' - -class PerforceProxy < Formula - homepage 'http://www.perforce.com/' - - if MacOS.prefer_64_bit? - url 'http://filehost.perforce.com/perforce/r12.2/bin.darwin90x86_64/p4p' - version '2012.2.631250-x86_64' - sha1 '573fc8cc97e6705e93b9a3c54b46ce832d970850' - else - url 'http://filehost.perforce.com/perforce/r12.2/bin.darwin90x86/p4p' - version '2012.2.631250-x86' - sha1 '20ad474618670fdeb45ca23fe450162bb2b85c3c' - end - - def install - sbin.install 'p4p' - (var+"p4p").mkpath - end - - def caveats; <<-EOS.undent - To use the Perforce proxy to access your Perforce server, set your P4PORT - environment variable to "localhost:1666". - - Before starting the proxy server, you probably need to edit the plist to use - the correct host and port for your Perforce server (replacing the default - perforce:1666). - EOS - end - - def plist; <<-EOS.undent - - - - - Label - #{plist_name} - ProgramArguments - - #{opt_prefix}/sbin/p4p - -p - 1666 - -r - #{var}/p4p - -t - perforce:1666 - - RunAtLoad - - KeepAlive - - WorkingDirectory - #{var}/p4p - - - EOS - end -end diff --git a/Library/Formula/perforce-server.rb b/Library/Formula/perforce-server.rb deleted file mode 100644 index 19a905fbf..000000000 --- a/Library/Formula/perforce-server.rb +++ /dev/null @@ -1,50 +0,0 @@ -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.631250-x86_64' - sha1 '21d5a904321a95026fe65890b9d9cb4043eaf84c' - else - url 'http://filehost.perforce.com/perforce/r12.2/bin.darwin90x86/p4d' - version '2012.2.631250-x86' - sha1 '97fae79520e2801f18600362e24eaee6d47497c0' - end - - def install - bin.install 'p4d' - (var+"p4root").mkpath - end - - def plist; <<-EOS.undent - - - - - Label - #{plist_name} - ProgramArguments - - #{opt_prefix}/bin/p4d - -p - 1666 - -r - #{var}/p4root - - RunAtLoad - - KeepAlive - - WorkingDirectory - #{var}/p4root - StandardErrorPath - #{var}/log/p4d.log - StandardOutPath - #{var}/log/p4d.log - - - EOS - end -end diff --git a/Library/Formula/perforce.rb b/Library/Formula/perforce.rb deleted file mode 100644 index 07acfb313..000000000 --- a/Library/Formula/perforce.rb +++ /dev/null @@ -1,19 +0,0 @@ -require 'formula' - -class Perforce < Formula - homepage 'http://www.perforce.com/' - - if MacOS.prefer_64_bit? - url 'http://filehost.perforce.com/perforce/r13.1/bin.darwin90x86_64/p4' - version '2013.1.659207-x86_64' - sha1 '4bba9ba354a82d62b6569d1df41b49fc5731cb52' - else - url 'http://filehost.perforce.com/perforce/r13.1/bin.darwin90x86/p4' - version '2013.1.659207-x86' - sha1 '1e275a4b8c22338066ad2f48433de813a8aae101' - end - - def install - bin.install 'p4' - end -end -- cgit v1.2.3