diff options
| author | Xiyue Deng | 2013-01-02 22:34:52 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-01-16 08:39:07 -0800 |
| commit | 68248f8dbacec605df7161f342ca06f9f1e7ef27 (patch) | |
| tree | 0d6cc61ba7b49714973bfbf002781b0f54b82048 /Library/Formula | |
| parent | d88178387e5dbe14b7482871bb7a5a2d266b8508 (diff) | |
| download | homebrew-68248f8dbacec605df7161f342ca06f9f1e7ef27.tar.bz2 | |
doxygen: enable dot and GUI
* Add option and depends on graphviz for dot.
* Add option and depends on qt for GUI support.
Closes #16860.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/doxygen.rb | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Library/Formula/doxygen.rb b/Library/Formula/doxygen.rb index 2c661fee7..8aecdf6fe 100644 --- a/Library/Formula/doxygen.rb +++ b/Library/Formula/doxygen.rb @@ -8,12 +8,15 @@ class Doxygen < Formula head 'https://doxygen.svn.sourceforge.net/svnroot/doxygen/trunk' + option 'with-dot', 'Build with dot command support from Graphviz.' + option 'with-doxywizard', 'Build GUI frontend with qt support.' + + depends_on 'graphviz' if build.include? 'with-dot' + depends_on 'qt' if build.include? 'with-doxywizard' + def install system "./configure", "--prefix", prefix - system "make", "CC=#{ENV.cc}", - "CXX=#{ENV.cxx}", - "CFLAGS=#{ENV.cflags}", - "CXXFLAGS=#{ENV.cflags}" + system "make" # MAN1DIR, relative to the given prefix system "make", "MAN1DIR=share/man/man1", "install" end |
