diff --git a/bin/brew b/bin/brew index b65b38e474..1bf5e3c18c 100755 --- a/bin/brew +++ b/bin/brew @@ -129,6 +129,12 @@ begin end when 'search', '-S' + if ARGV.include? '--macports' + exec "open", "http://www.macports.org/ports.php?by=name&substr=#{ARGV.next}" + elsif ARGV.include? '--fink' + exec "open", "http://pdb.finkproject.org/pdb/browse.php?summary=#{ARGV.next}" + end + check_for_blacklisted_formula(ARGV.named) puts_columns search_brews(ARGV.first)