diff options
| author | Wannes Meert | 2011-03-10 16:06:37 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-13 12:49:50 -0700 |
| commit | 2f27726a380f1fbe80607cf1ea3629f1d51b0c19 (patch) | |
| tree | d1463d81a632470ff0a7e35a2fd9611b934fd283 /Library/Formula/graphviz.rb | |
| parent | f4d0a4de8194376a412833389066a778a92aa8ab (diff) | |
| download | homebrew-2f27726a380f1fbe80607cf1ea3629f1d51b0c19.tar.bz2 | |
graphviz: support pdf output with pango/cairo
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/graphviz.rb')
| -rw-r--r-- | Library/Formula/graphviz.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/Formula/graphviz.rb b/Library/Formula/graphviz.rb index 7279fc47d..84602c601 100644 --- a/Library/Formula/graphviz.rb +++ b/Library/Formula/graphviz.rb @@ -7,6 +7,15 @@ class Graphviz < Formula depends_on 'pkg-config' => :build + if ARGV.include? '--with-pdf' + depends_on 'pango' + depends_on 'cairo' if MACOS_VERSION < 10.6 + end + + def options + [["--with-pdf", "Build with Pango/Cairo to support native PDF output"]] + end + def install ENV.x11 # Various language bindings fail with 32/64 issues. |
