blob: 9eed1472dcfe0eac127bcd3d94f15b994a9d3c10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  | 
require 'formula'
class WaitOn < Formula
  homepage 'http://www.freshports.org/sysutils/wait_on/'
  url 'ftp://ftp.ugh.net.au/pub/unix/wait_on/wait_on-1.1.tar.gz'
  md5 '6b5917ad6136fdd8295d2d1299db10d5'
  depends_on 'bsdmake' => :build if MacOS.xcode_version.to_f >= 4.3
  def install
    system "bsdmake"
    bin.install 'wait_on'
    man1.install 'wait_on.1.gz'
  end
  def test
    system "#{bin}/wait_on -v"
  end
end
  |