From d0efd9ee94a55e243f3b10e903526274fc21d569 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 6 Apr 2010 22:58:35 -0700 Subject: Update formulae for version 0.7 * Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews --- Library/Formula/git.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Library/Formula/git.rb') diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb index 857ce114b..0fe88e4cc 100644 --- a/Library/Formula/git.rb +++ b/Library/Formula/git.rb @@ -32,8 +32,8 @@ class Git < Formula # Install the git bash completion file (etc+'bash_completion.d').install 'contrib/completion/git-completion.bash' - - # Install git-p4 + + # Install git-p4 bin.install 'contrib/fast-import/git-p4' # these files are exact copies of the git binary, so like the contents @@ -50,7 +50,6 @@ class Git < Formula # we could build the manpages ourselves, but the build process depends # on many other packages, and is somewhat crazy, this way is easier GitManuals.new.brew { man.install Dir['*'] } - doc = share+'doc/git-doc' - GitHtmldocs.new.brew { doc.install Dir['*'] } + GitHtmldocs.new.brew { (share+'doc/git-doc').install Dir['*'] } end end -- cgit v1.2.3