homebrew-core/Formula/ack.rb

18 lines
403 B
Ruby
Raw Normal View History

require 'formula'
2013-06-06 23:25:31 +00:00
class Ack < Formula
homepage 'http://beyondgrep.com/'
2013-04-27 12:29:26 +00:00
url 'https://github.com/petdance/ack2/archive/2.04.tar.gz'
sha1 'b9241ea000b089609d7e62f241c1ef7ad0d70cc6'
def install
2013-04-27 12:29:26 +00:00
bin.install "garage/ack-#{version}" => "ack"
system "pod2man", "#{bin}/ack", "ack.1"
man1.install "ack.1"
end
2013-01-27 22:36:42 +00:00
test do
system "#{bin}/ack", 'brew', '/usr/share/dict/words'
end
2009-09-22 19:10:17 +00:00
end