aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroleg dashevskii2011-04-08 23:21:16 +0700
committerAdam Vandenberg2011-04-12 09:55:08 -0700
commit391aff62d512fcde71ddf813e41bf7152ba71a71 (patch)
treeef772ad31ef9d23bf5a773aba8d82c7b755f8279
parentbe2aa1d6ac69e19ac99831add7f54c775c07cfb7 (diff)
downloadhomebrew-391aff62d512fcde71ddf813e41bf7152ba71a71.tar.bz2
erviz 1.0.6
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>
-rw-r--r--Library/Formula/erviz.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/erviz.rb b/Library/Formula/erviz.rb
new file mode 100644
index 000000000..5a2031866
--- /dev/null
+++ b/Library/Formula/erviz.rb
@@ -0,0 +1,18 @@
+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