aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/tig.rb
blob: 2e2a48e65b49baf89ceacb2f76bad012992aab06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class Tig < Formula
  homepage 'http://jonas.nitro.dk/tig/'
  url 'http://jonas.nitro.dk/tig/releases/tig-1.2.1.tar.gz'
  sha1 '5755bae7342debf94ef33973e0eaff6207e623dc'

  depends_on "asciidoc"
  depends_on "xmlto"

  def install
    system "./configure", "--prefix=#{prefix}", "--sysconfdir=#{etc}"
    system "make install"
    system "make install-doc-man"

    bash_completion.install 'contrib/tig-completion.bash'
  end
end