doxygen: rename qt5 to qt.

This commit is contained in:
Mike McQuaid 2017-04-06 09:03:08 +01:00
parent 3e99376b3a
commit 0fe366f126

View file

@ -25,21 +25,22 @@ class Doxygen < Formula
end
option "with-graphviz", "Build with dot command support from Graphviz."
option "with-qt5", "Build GUI frontend with Qt support."
option "with-qt", "Build GUI frontend with Qt support."
option "with-llvm", "Build with libclang support."
deprecated_option "with-dot" => "with-graphviz"
deprecated_option "with-doxywizard" => "with-qt5"
deprecated_option "with-doxywizard" => "with-qt"
deprecated_option "with-libclang" => "with-llvm"
deprecated_option "with-qt5" => "with-qt"
depends_on "cmake" => :build
depends_on "graphviz" => :optional
depends_on "qt5" => :optional
depends_on "qt" => :optional
depends_on "llvm" => :optional
def install
args = std_cmake_args << "-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=#{MacOS.version}"
args << "-Dbuild_wizard=ON" if build.with? "qt5"
args << "-Dbuild_wizard=ON" if build.with? "qt"
args << "-Duse_libclang=ON -DLLVM_CONFIG=#{Formula["llvm"].opt_bin}/llvm-config" if build.with? "llvm"
mkdir "build" do