doxygen: use :optional dep for graphviz

This commit is contained in:
Jack Nagel 2015-02-03 20:41:37 -05:00
parent 73c61e26c2
commit 4a7dec2e36
2 changed files with 5 additions and 3 deletions

View file

@ -12,11 +12,13 @@ class Doxygen < Formula
sha1 "a1108f0c553124209cf2b1b65b8cb879a1d8cb47" => :mountain_lion
end
option "with-dot", "Build with dot command support from Graphviz."
option "with-graphviz", "Build with dot command support from Graphviz."
option "with-doxywizard", "Build GUI frontend with qt support."
option "with-libclang", "Build with libclang support."
depends_on "graphviz" if build.with? "dot"
deprecated_option "with-dot" => "with-graphviz"
depends_on "graphviz" => :optional
depends_on "qt" if build.with? "doxywizard"
depends_on "llvm" => "with-clang" if build.with? "libclang"

View file

@ -31,7 +31,7 @@ class Qca < Formula
if build.with? "api-docs"
depends_on "graphviz" => :build
depends_on "doxygen" => [:build, "with-dot"]
depends_on "doxygen" => [:build, "with-graphviz"]
end
def install