2010-08-12 23:28:42 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class GitExtras < Formula
|
2010-11-10 18:16:28 +00:00
|
|
|
homepage 'https://github.com/visionmedia/git-extras'
|
2014-07-08 16:35:36 +00:00
|
|
|
url 'https://github.com/visionmedia/git-extras/archive/1.9.1.tar.gz'
|
|
|
|
sha1 '145124710f2f06f17984e335c8b840c90c43eb44'
|
2012-02-10 03:13:12 +00:00
|
|
|
|
2011-05-27 05:02:55 +00:00
|
|
|
head 'https://github.com/visionmedia/git-extras.git', :branch => 'master'
|
2010-08-12 23:28:42 +00:00
|
|
|
|
2014-07-08 17:29:20 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "46a9571d689cd5af02f176134dc2423c972c86a0" => :mavericks
|
|
|
|
sha1 "8d9f5cf5005386e63c940da86034956400a87c58" => :mountain_lion
|
|
|
|
sha1 "8e00abe2ca5e62271a38e0063b3e01de16a420a7" => :lion
|
|
|
|
end
|
|
|
|
|
2012-07-16 22:24:56 +00:00
|
|
|
# Don't take +x off these files
|
|
|
|
skip_clean 'bin'
|
|
|
|
|
2010-08-12 23:28:42 +00:00
|
|
|
def install
|
2012-07-16 22:24:56 +00:00
|
|
|
inreplace 'Makefile', %r|\$\(DESTDIR\)(?=/etc/bash_completion\.d)|, '$(DESTDIR)$(PREFIX)'
|
2012-02-10 03:13:12 +00:00
|
|
|
system "make", "PREFIX=#{prefix}", "install"
|
2010-08-12 23:28:42 +00:00
|
|
|
end
|
|
|
|
end
|