homebrew-core/Formula/plantuml.rb
Lee Hinman 9f3aa61657 plantuml 8002
Closes Homebrew/homebrew#31728.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-08-20 12:30:12 +01:00

19 lines
432 B
Ruby

require "formula"
class Plantuml < Formula
homepage "http://plantuml.sourceforge.net/"
url "https://downloads.sourceforge.net/project/plantuml/plantuml.8002.jar"
sha1 "1a415831941c0f3f8715e6859c1b13f91ec43b5d"
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