2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-06-04 18:21:19 +00:00
|
|
|
|
2013-06-06 23:25:31 +00:00
|
|
|
class Ack < Formula
|
2013-04-20 11:44:05 +00:00
|
|
|
homepage 'http://beyondgrep.com/'
|
2013-08-30 07:34:09 +00:00
|
|
|
url 'http://beyondgrep.com/ack-2.08-single-file'
|
|
|
|
sha1 'c0fa19ba31ecc1afe186c5a061c1361ae2a258f3'
|
|
|
|
version '2.08'
|
2010-09-01 17:45:26 +00:00
|
|
|
|
|
|
|
def install
|
2013-08-30 07:34:09 +00:00
|
|
|
bin.install "ack-2.08-single-file" => "ack"
|
2013-04-20 11:44:05 +00:00
|
|
|
system "pod2man", "#{bin}/ack", "ack.1"
|
|
|
|
man1.install "ack.1"
|
2012-04-29 06:30:26 +00:00
|
|
|
end
|
2013-01-27 22:36:42 +00:00
|
|
|
|
|
|
|
test do
|
2013-09-14 13:15:12 +00:00
|
|
|
system "#{bin}/ack", 'brew', '/usr/share/dict/words'
|
2013-01-27 22:36:42 +00:00
|
|
|
end
|
2009-09-22 19:10:17 +00:00
|
|
|
end
|