require 'formula' class Ack < Formula url "https://github.com/petdance/ack/tarball/1.96" sha1 '547058c0571095beaee9b2e6a3accad52114e759' homepage 'http://betterthangrep.com/' def install system "pod2man ack ack.1" man1.install 'ack.1' bin.install 'ack' (prefix+'etc/bash_completion.d').install 'etc/ack.bash_completion.sh' (share+'zsh/site-functions').install 'etc/ack.zsh_completion' => '_ack' end end