diff options
| author | Baptiste Fontaine | 2015-01-30 10:21:53 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-02-01 09:31:01 +0100 |
| commit | a97288bf4cf6bbd97471265aa043b797bfe12c72 (patch) | |
| tree | a23fd1d2ffa7402de95842134818cff00cbaa0ec | |
| parent | 7d066e59ba069efab1a33c840fa1a4ecb9c2da3a (diff) | |
| download | homebrew-a97288bf4cf6bbd97471265aa043b797bfe12c72.tar.bz2 | |
findbugs: modernize, use new Java requirement style
| -rw-r--r-- | Library/Formula/findbugs.rb | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/Library/Formula/findbugs.rb b/Library/Formula/findbugs.rb index f99f81967..131699411 100644 --- a/Library/Formula/findbugs.rb +++ b/Library/Formula/findbugs.rb @@ -1,23 +1,21 @@ -require 'formula' - class Findbugs < Formula - homepage 'http://findbugs.sourceforge.net/index.html' - url 'https://downloads.sourceforge.net/project/findbugs/findbugs/3.0.0/findbugs-3.0.0.tar.gz' - sha1 '50205ecbe340d78a658d5930fc3e2e0e38b07db7' + homepage "http://findbugs.sourceforge.net/index.html" + url "https://downloads.sourceforge.net/project/findbugs/findbugs/3.0.0/findbugs-3.0.0.tar.gz" + sha1 "50205ecbe340d78a658d5930fc3e2e0e38b07db7" - conflicts_with 'fb-client', + conflicts_with "fb-client", :because => "findbugs and fb-client both install a `fb` binary" - depends_on :java => '1.7' + depends_on :java => "1.7+" def install # Remove windows files rm_f Dir["bin/*.bat"] prefix.install_metafiles - libexec.install Dir['*'] + libexec.install Dir["*"] - bin.write_exec_script libexec/'bin/fb' - bin.write_exec_script libexec/'bin/findbugs' + bin.write_exec_script libexec/"bin/fb" + bin.write_exec_script libexec/"bin/findbugs" end def caveats; <<-EOS.undent |
