blob: 40802d57f72cc7ae85d139996482af5fec2cfa44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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
|