[46457] trunk/dports/graphics/graphviz-oldgui/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Feb 4 22:04:28 PST 2009


Revision: 46457
          http://trac.macports.org/changeset/46457
Author:   ryandesign at macports.org
Date:     2009-02-04 22:04:28 -0800 (Wed, 04 Feb 2009)
Log Message:
-----------
graphviz-oldgui: suggest to users of Mac OS X 10.5 and later that the graphviz-gui port may be a better choice; see #18175

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

Modified: trunk/dports/graphics/graphviz-oldgui/Portfile
===================================================================
--- trunk/dports/graphics/graphviz-oldgui/Portfile	2009-02-05 05:57:24 UTC (rev 46456)
+++ trunk/dports/graphics/graphviz-oldgui/Portfile	2009-02-05 06:04:28 UTC (rev 46457)
@@ -32,6 +32,12 @@
 depends_run \
     path:bin/neato:graphviz
 
+pre-fetch {
+    if {${os.major} >= 9} {
+        ui_msg "Consider installing graphviz-gui instead of ${name}."
+    }
+}
+
 post-extract {
     # Rename worksrcpath so it doesn't contain spaces; some phases have problems otherwise.
     move "${workpath}/Graphviz 1.13 (v16)" ${worksrcpath}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090204/da270e5a/attachment.html>


More information about the macports-changes mailing list