Permalink
Browse files

New formula: erviz

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.
  • Loading branch information...
1 parent 94c0618 commit 9a9568afd1d008e2a0dfd1f0e5c47ab0ada19992 @be9 committed Apr 8, 2011
Showing with 18 additions and 0 deletions.
  1. +18 −0 Library/Formula/erviz.rb
View
@@ -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

0 comments on commit 9a9568a

Please sign in to comment.