blob: a67c466e6f8bc84c579074c37452572f94fa3247 (
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.1.oxt'
homepage 'http://www.languagetool.org/'
md5 '80abc0901135afa25385e519d44f802e'
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
|