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

class Ack < Formula
  homepage 'http://beyondgrep.com/'
  url 'http://beyondgrep.com/ack-2.10-single-file'
  sha1 '6052cee5a4f580006fb9135e46411c5322c24a2a'
  version '2.10'

  def install
    bin.install "ack-2.10-single-file" => "ack"
    system "pod2man", "#{bin}/ack", "ack.1"
    man1.install "ack.1"
  end

  test do
    system "#{bin}/ack", '--version'
  end
end