homebrew-core/Formula/languagetool.rb
Adam Vandenberg 7bd947eb0b 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
2010-08-07 18:08:53 -07:00

19 lines
394 B
Ruby

require 'formula'
class Languagetool <Formula
url 'http://www.languagetool.org/download/LanguageTool-1.0.0.oxt'
homepage 'http://www.languagetool.org/'
md5 '979b1a1f2ce3a9100d7aa7b1ef245734'
def startup_script
<<-EOS
#!/bin/bash
java -jar #{libexec}/LanguageTool.jar $*
EOS
end
def install
(bin+"languagetool").write startup_script
libexec.install Dir["*"]
end
end