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

ryandesign at macports.org ryandesign at macports.org
Mon Feb 9 12:10:57 PST 2009


Revision: 46653
          http://trac.macports.org/changeset/46653
Author:   ryandesign at macports.org
Date:     2009-02-09 12:10:54 -0800 (Mon, 09 Feb 2009)
Log Message:
-----------
graphviz-devel:

 * update to 2.21.20090209.0545
 * enable ipsep-cola (#18413)
 * remove +gui variant in favor of graphviz-gui port (#18177)

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

Modified: trunk/dports/graphics/graphviz-devel/Portfile
===================================================================
--- trunk/dports/graphics/graphviz-devel/Portfile	2009-02-09 17:52:52 UTC (rev 46652)
+++ trunk/dports/graphics/graphviz-devel/Portfile	2009-02-09 20:10:54 UTC (rev 46653)
@@ -5,15 +5,15 @@
 name                    graphviz-devel
 set my_name             graphviz
 # keep version in sync between graphviz-devel and graphviz-gui-devel
-version                 2.21.20090202.1215
+version                 2.21.20090209.0545
 categories              graphics
 maintainers             ryandesign
 homepage                http://www.graphviz.org/
+master_sites            ${homepage}pub/graphviz/development/SOURCES/
 platforms               darwin
 use_parallel_build      yes
 dist_subdir             ${my_name}
 distname                ${my_name}-${version}
-distfiles               ${distname}${extract.suffix}:source
 
 description \
     Graph visualization software from AT&T and Bell Labs
@@ -30,15 +30,10 @@
     programs (for non-interactive use) can use the +no_x11 \
     variant to build graphviz without its display routines.
 
-master_sites \
-    ${homepage}pub/graphviz/development/SOURCES/:source \
-    http://www.pixelglow.com/downloads/:guiapp
-
 checksums \
-    ${distname}${extract.suffix} \
-        md5     c5b5f26e89b80dc2a1fa9b1cef1e4050 \
-        sha1    e99b17df509d32eb261178f9428fdad7853bf168 \
-        rmd160  eb6d8374fce4b05ea43a18368e2711839828602d
+    md5     b97d9489b1e3f0775834da38ff32e6c7 \
+    sha1    a7bb7e435a6f041a744b3c41829833b44b293c6c \
+    rmd160  d96165fbf5aeab9db6fa2820648ca2b46a288e5e
 
 platform darwin 6 {
     pre-fetch {
@@ -87,7 +82,7 @@
     --without-devil \
     --without-smyrna \
     --with-digcola \
-    --without-ipsepcola \
+    --with-ipsepcola \
     --without-rsvg \
     --with-pangocairo \
     --without-glitz \
@@ -361,41 +356,13 @@
         --without-x
 }
 
-variant gui description {Include the Pixelglow graph viewer} {
-    distfiles-append \
-        graphviz-1.13-v16.tgz:guiapp
-    checksums-append \
-        graphviz-1.13-v16.tgz \
-            md5 a3278f993ef3ce021043a17b16a9fd5f \
-            sha1 87ee05a99088a98aef4937d72c3bb6cf488e3074 \
-            rmd160 35eac7c7013bddc0d1f107fcaf8e9c7d1e078231
-    post-extract {
-        copy "${workpath}/Graphviz 1.13 (v16)/Graphviz.app" ${worksrcpath}
-        delete ${worksrcpath}/Graphviz.app/Contents/Frameworks
-        system "cd ${worksrcpath}/Graphviz.app/Contents/Resources/English.lproj && iconv -f utf-16 -t utf-8 InfoPlist.strings > InfoPlist.strings.utf8"
-    }
-    patchfiles-append \
-        patch-gv-extension.diff
-    post-patch {
-        reinplace "s|1\.13|${version}|g" \
-            ${worksrcpath}/Graphviz.app/Contents/Info.plist \
-            ${worksrcpath}/Graphviz.app/Contents/Resources/Info.plist \
-            ${worksrcpath}/Graphviz.app/Contents/Resources/English.lproj/InfoPlist.strings.utf8
-        system "cd ${worksrcpath}/Graphviz.app/Contents/Resources/English.lproj && iconv -f utf-8 -t utf-16 InfoPlist.strings.utf8 > InfoPlist.strings"
-        delete ${worksrcpath}/Graphviz.app/Contents/Resources/English.lproj/InfoPlist.strings.utf8
-    }
-    post-destroot {
-        set apppath ${destroot}${applications_dir}
-        set macospath ${apppath}/Graphviz.app/Contents/MacOS
-        set dispatcher graphviz-dispatcher.php
-        xinstall -d ${apppath}
-        copy ${worksrcpath}/Graphviz.app ${apppath}
-        xinstall -m 755 ${filespath}/${dispatcher}.in ${macospath}/${dispatcher}
-        reinplace "s%@PREFIX@%${prefix}%g" ${macospath}/${dispatcher}
-        foreach prog {acyclic bcomps ccomps circo cvtgxl dijkstra dot gc gvcolor gvpack gvpr neato nop sccmap tred twopi unflatten} {
-            delete ${macospath}/${prog}
-            ln -s ${dispatcher} ${macospath}/${prog}
+variant gui description {Obsolete; install graphviz-gui port instead} {
+    pre-configure {
+        set newport graphviz-gui-devel
+        if {${os.major} < 9} {
+            set newport graphviz-oldgui
         }
+        ui_msg "The +gui variant is obsolete. Please install the ${newport} port instead."
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090209/66fdcf30/attachment.html>


More information about the macports-changes mailing list