Revision
87563
Author
devans@macports.org
Date
2011-11-25 11:56:00 -0800 (Fri, 25 Nov 2011)

Log Message

gegl: move graphviz support to variant.

Modified Paths

Diff

Modified: trunk/dports/graphics/gegl/Portfile (87562 => 87563)


--- trunk/dports/graphics/gegl/Portfile	2011-11-25 19:31:44 UTC (rev 87562)
+++ trunk/dports/graphics/gegl/Portfile	2011-11-25 19:56:00 UTC (rev 87563)
@@ -5,6 +5,7 @@
 
 name            gegl
 version         0.1.8
+revision        1
 license         {GPL-3+ LGPL-3+}
 set branch      [join [lrange [split ${version} .] 0 1] .]
 categories      graphics
@@ -40,7 +41,6 @@
     port:libopenraw \
     port:librsvg \
     path:lib/pkgconfig/sdl.pc:libsdl \
-    path:bin/dot:graphviz \
     path:lib/libavcodec.dylib:ffmpeg \
     port:libspiro \
     port:lensfun
@@ -49,6 +49,7 @@
 
 configure.args  --disable-docs \
                 --enable-introspection=no \
+                --without-graphviz \
                 --without-vala \
                 --without-umfpack
 
@@ -72,6 +73,11 @@
     configure.args-append --enable-workshop
 }
 
+variant graphviz description {Build with graphviz support} {
+    depends_lib-append    path:bin/dot:graphviz
+    configure.args-delete --without-graphviz
+}
+
 variant vala description {Enable Vala bindings} {
     depends_lib-append    port:vala
     configure.args-delete --without-vala