9f3aa61657
Closes Homebrew/homebrew#31728. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
19 lines
432 B
Ruby
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
|