[37722] trunk/dports/graphics/graphviz/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Jun 20 16:16:10 PDT 2008


Revision: 37722
          http://trac.macosforge.org/projects/macports/changeset/37722
Author:   ryandesign at macports.org
Date:     2008-06-20 16:16:10 -0700 (Fri, 20 Jun 2008)
Log Message:
-----------
graphviz: update to 2.20.0, and add variant to build the Smyrna large graph viewer (as in graphviz-devel r36111)

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

Modified: trunk/dports/graphics/graphviz/Portfile
===================================================================
--- trunk/dports/graphics/graphviz/Portfile	2008-06-20 22:51:25 UTC (rev 37721)
+++ trunk/dports/graphics/graphviz/Portfile	2008-06-20 23:16:10 UTC (rev 37722)
@@ -4,7 +4,7 @@
 
 name                    graphviz
 set my_name             graphviz
-version                 2.18
+version                 2.20.0
 categories              graphics
 maintainers             ryandesign
 homepage                http://www.graphviz.org/
@@ -35,9 +35,9 @@
 
 checksums \
     ${distname}${extract.suffix} \
-        md5 7df2705482c86fc7a9ee5f0446ed0b9e \
-        sha1 b638181cf776bc4bb1fa8f95525a3943feb18b4a \
-        rmd160 2c7f23af1a9e480ab6cc5f5f39edad7a5da3ceae
+        md5 5b134ba53321caba3c9eaf51167b77ef \
+        sha1 ebc53abbade70e1745b421a0aeda2369271a337c \
+        rmd160 304e3f7e36e54c911e9c144c31c725d34b8b8a68
 
 platform darwin 6 {
     pre-fetch {
@@ -67,6 +67,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 \
@@ -218,6 +224,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 \
@@ -235,7 +258,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/20080620/6294258b/attachment.htm 


More information about the macports-changes mailing list