From 2f27726a380f1fbe80607cf1ea3629f1d51b0c19 Mon Sep 17 00:00:00 2001 From: Wannes Meert Date: Thu, 10 Mar 2011 16:06:37 +0100 Subject: graphviz: support pdf output with pango/cairo Signed-off-by: Adam Vandenberg --- Library/Formula/graphviz.rb | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Library') 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. -- cgit v1.2.3