grads: point to documentation in caveats

master
Adam Vandenberg 2013-08-09 08:53:57 -07:00
parent 778db0eaac
commit 2bf2ded6f9
1 changed files with 5 additions and 7 deletions

View File

@ -19,12 +19,10 @@ class Grads < Formula
GradsSupplementary.new.brew{ (lib+'grads').install Dir['*'] } GradsSupplementary.new.brew{ (lib+'grads').install Dir['*'] }
end end
def caveats def caveats; <<-EOS.undent
if HOMEBREW_PREFIX.to_s != '/usr/local' then <<-EOS.undent In order to use the GrADS tools, you may need to set some environmental
In order to use the GrADS tools, you will need to set the GADDIR variables. See the documentation at:
environment variable to: http://www.iges.org/grads/gadoc/gradcomdgrads.html
#{HOMEBREW_PREFIX}/lib/grads EOS
EOS
end
end end
end end