2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-06-04 18:21:19 +00:00
|
|
|
|
2010-09-01 17:45:26 +00:00
|
|
|
class Ack < Formula
|
2011-09-18 19:08:35 +00:00
|
|
|
url "https://github.com/petdance/ack/tarball/1.96"
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '547058c0571095beaee9b2e6a3accad52114e759'
|
2009-09-28 15:22:07 +00:00
|
|
|
homepage 'http://betterthangrep.com/'
|
2010-09-01 17:45:26 +00:00
|
|
|
|
|
|
|
def install
|
2011-10-09 05:13:06 +00:00
|
|
|
system "pod2man ack ack.1"
|
|
|
|
man1.install 'ack.1'
|
2010-11-07 19:19:58 +00:00
|
|
|
bin.install 'ack'
|
|
|
|
(prefix+'etc/bash_completion.d').install 'etc/ack.bash_completion.sh'
|
2012-04-29 06:30:26 +00:00
|
|
|
(share+'zsh/site-functions').install 'etc/ack.zsh_completion' => '_ack'
|
|
|
|
end
|
2009-09-22 19:10:17 +00:00
|
|
|
end
|