graphviz: support pdf output with pango/cairo

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Wannes Meert 2011-03-10 16:06:37 +01:00 committed by Adam Vandenberg
parent 2e7b8116cb
commit ee101c9181

View file

@ -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.