blob: fbc46491712b1f7d80b21a0ebd08f491c84bec83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
require 'formula'
class Ack < ScriptFileFormula
homepage 'http://beyondgrep.com/'
url 'https://github.com/petdance/ack2/archive/2.04.tar.gz'
sha1 'b9241ea000b089609d7e62f241c1ef7ad0d70cc6'
def install
bin.install "garage/ack-#{version}" => "ack"
system "pod2man", "#{bin}/ack", "ack.1"
man1.install "ack.1"
end
test do
system "#{bin}/ack", 'brew', '/usr/share/dict/words'
end
end
|