2011-04-08 16:21:16 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Erviz < Formula
|
|
|
|
homepage 'http://www.ab.auone-net.jp/~simply/en/works/erviz/about.html'
|
2013-01-27 23:04:49 +00:00
|
|
|
url 'http://dl.dropbox.com/u/10466872/Erviz/erviz-1.0.6-bin.zip'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'd3fa92b5d3de07421ae03fdf384a78a800f8289e'
|
2011-04-08 16:21:16 +00:00
|
|
|
|
|
|
|
depends_on 'graphviz'
|
|
|
|
|
|
|
|
def install
|
2012-02-11 20:17:16 +00:00
|
|
|
libexec.install Dir["_setup_/common/bin/*.jar"]
|
2011-04-08 16:21:16 +00:00
|
|
|
|
|
|
|
(bin+'erviz').write <<-EOS.undent
|
|
|
|
#!/bin/sh
|
2012-02-11 20:17:16 +00:00
|
|
|
java -Duser.language=en -Duser.country=US -cp "#{libexec}/erviz-cui-1.0.6.jar:#{libexec}/erviz-core-1.0.6.jar" jp.gr.java_conf.simply.erviz.cui.Main "$@"
|
2011-04-08 16:21:16 +00:00
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|