b13e8d4202
Erviz is a free tool to draw ERDs quickly. ERD (Entity-Relationship Diagram) is diagram to represent Entity-Relationship model, a kind of data models. It is used in database designing. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
18 lines
581 B
Ruby
18 lines
581 B
Ruby
require 'formula'
|
|
|
|
class Erviz < Formula
|
|
url 'http://dl.dropbox.com/u/10466872/Erviz/erviz-1.0.6-bin.zip'
|
|
homepage 'http://www.ab.auone-net.jp/~simply/en/works/erviz/about.html'
|
|
md5 'dbfa20515118535c106032c8200163c6'
|
|
|
|
depends_on 'graphviz'
|
|
|
|
def install
|
|
libexec.install %w(core cui).map { |n| "_setup_/common/bin/erviz-#{n}-1.0.6.jar" }
|
|
|
|
(bin+'erviz').write <<-EOS.undent
|
|
#!/bin/sh
|
|
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 $@
|
|
EOS
|
|
end
|
|
end
|