mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
References #19315. Closes #19321. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
19 lines
425 B
Ruby
19 lines
425 B
Ruby
require 'formula'
|
|
|
|
class Ack < ScriptFileFormula
|
|
homepage 'http://beyondgrep.com/'
|
|
url 'http://beyondgrep.com/ack-2.02-single-file'
|
|
sha1 '94b09ed23b50c0c644aa386f4a3c51ed2edea821'
|
|
version '2.02'
|
|
|
|
def install
|
|
bin.install "ack-#{version}-single-file" => "ack"
|
|
system "pod2man", "#{bin}/ack", "ack.1"
|
|
man1.install "ack.1"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/ack", 'brew', '/usr/share/dict/words'
|
|
end
|
|
end
|