homebrew-core/Formula/tig.rb
Jack Nagel 31798bf926 tig: manually install html docs
The 'install-doc-html' Makefile target invokes asciidoc even though
the html docs are prebuilt; manually install them to avoid a useless
dependency on asciidoc.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-09 12:26:12 -06:00

16 lines
417 B
Ruby

require 'formula'
class Tig < Formula
homepage 'http://jonas.nitro.dk/tig/'
url 'http://jonas.nitro.dk/tig/releases/tig-0.18.tar.gz'
md5 '4fa9e33c5daa76b6fed11e068405356f'
def install
system "./configure", "--prefix=#{prefix}"
system "make install"
system "make install-doc-man"
doc.install Dir['*.html']
(prefix+'etc/bash_completion.d').install 'contrib/tig-completion.bash'
end
end