blob: 54ea102e3b3cba6a64dfe84fa4fa3b4fffe6cccd (
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.3.1.oxt'
homepage 'http://www.languagetool.org/'
md5 '9bf13c617eba946fd6b44562cbc90d42'
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
|