Skip to content

Commit

Permalink
Add gitstats formula
Browse files Browse the repository at this point in the history
The author will not create release tags, so we must use the HEAD of the
repository instead.

Closes hoxu/gitstats#29
Refs Homebrew/legacy-homebrew#14418
Refs Homebrew/legacy-homebrew#25447
  • Loading branch information
miketheman committed Sep 23, 2015
1 parent 84bd9a5 commit f3679b9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions gitstats.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
class Gitstats < Formula
desc "git history statistics generator"
homepage "http://gitstats.sourceforge.net/"
head "https://github.com/hoxu/gitstats.git"

depends_on "gnuplot"

def install
system "make", "install", "PREFIX=#{prefix}"

system "make", "man"
man1.install "doc/gitstats.1"
end

test do
system "#{bin}/gitstats"
end
end

0 comments on commit f3679b9

Please sign in to comment.