[36111] trunk/dports/graphics/graphviz-devel/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Apr 17 23:30:21 PDT 2008


Revision: 36111
          http://trac.macosforge.org/projects/macports/changeset/36111
Author:   ryandesign at macports.org
Date:     2008-04-17 23:30:21 -0700 (Thu, 17 Apr 2008)

Log Message:
-----------
graphviz-devel: add variant to build the Smyrna large graph viewer

Modified Paths:
--------------
    trunk/dports/graphics/graphviz-devel/Portfile

Modified: trunk/dports/graphics/graphviz-devel/Portfile
===================================================================
--- trunk/dports/graphics/graphviz-devel/Portfile	2008-04-18 06:20:47 UTC (rev 36110)
+++ trunk/dports/graphics/graphviz-devel/Portfile	2008-04-18 06:30:21 UTC (rev 36111)
@@ -66,6 +66,12 @@
         MACOSX_DEPLOYMENT_TARGET=10.4
 }
 
+platform darwin 9 {
+    # http://developer.apple.com/qa/qa2007/qa1567.html
+    configure.ldflags-append \
+        "-dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"
+}
+
 depends_lib \
     lib:libX11.6:XFree86 \
     port:cairo \
@@ -217,6 +223,23 @@
         --enable-tcl
 }
 
+variant smyrna description {Include the Smyrna large graph viewer} {
+    configure.args-delete \
+        --without-smyrna \
+        --without-gtk \
+        --without-gtkglext \
+        --without-glade
+    configure.args-append \
+        --with-smyrna \
+        --with-gtk \
+        --with-gtkglext \
+        --with-glade
+    depends_lib-append \
+        port:gtk2 \
+        port:gtkglext \
+        port:libglade2
+}
+
 variant no_pangocairo description {Remove pangocairo support (no antialiased bitmapped output; no PDF output)} {
     depends_lib-delete \
         port:cairo \
@@ -234,7 +257,7 @@
         --without-x
 }
 
-variant gui description {Include the Pixelglow Graphviz GUI} {
+variant gui description {Include the Pixelglow graph viewer} {
     distfiles-append \
         graphviz-1.13-v16.tgz:guiapp
     checksums-append \

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080417/0356fcce/attachment.html


More information about the macports-changes mailing list