plantuml 7987

Closes Homebrew/homebrew#25090.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Baptiste Fontaine 2013-12-09 20:31:04 +01:00 committed by Adam Vandenberg
parent 76c26790e9
commit ea1fc1960c
1 changed files with 19 additions and 0 deletions

19
Formula/plantuml.rb Normal file
View File

@ -0,0 +1,19 @@
require 'formula'
class Plantuml < Formula
homepage 'http://plantuml.sourceforge.net/'
url 'http://sourceforge.net/projects/plantuml/files/plantuml.7987.jar'
sha1 '69beeb97a982b71fefd5ec5637de18b498910b13'
depends_on 'graphviz'
def install
jar = "plantuml.#{version}.jar"
prefix.install jar
bin.write_jar_script prefix/jar, "plantuml"
end
test do
system "#{bin}/plantuml", "-testdot"
end
end