[80885] trunk/dports/graphics

ryandesign at macports.org ryandesign at macports.org
Tue Jul 19 22:29:40 PDT 2011


Revision: 80885
          http://trac.macports.org/changeset/80885
Author:   ryandesign at macports.org
Date:     2011-07-19 22:29:39 -0700 (Tue, 19 Jul 2011)
Log Message:
-----------
graphviz, graphviz-devel: remove code for easing upgrades from > 2-year-old versions; see #18272

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

Modified: trunk/dports/graphics/graphviz/Portfile
===================================================================
--- trunk/dports/graphics/graphviz/Portfile	2011-07-20 05:09:16 UTC (rev 80884)
+++ trunk/dports/graphics/graphviz/Portfile	2011-07-20 05:29:39 UTC (rev 80885)
@@ -312,13 +312,6 @@
     system "GVBINDIR=${destroot}${prefix}/lib/graphviz DYLD_LIBRARY_PATH=${destroot}${prefix}/lib ${destroot}${prefix}/bin/dot -c"
 }
 
-pre-install {
-    # Remove old configuration files left behind by old versions of this port.
-    foreach file [glob -nocomplain -directory ${prefix}/lib/graphviz config*] {
-        delete ${file}
-    }
-}
-
 livecheck.type                  regex
 livecheck.url                   ${homepage}Download_source.php
 livecheck.regex                 ${my_name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)\\.tar

Modified: trunk/dports/graphics/graphviz-devel/Portfile
===================================================================
--- trunk/dports/graphics/graphviz-devel/Portfile	2011-07-20 05:09:16 UTC (rev 80884)
+++ trunk/dports/graphics/graphviz-devel/Portfile	2011-07-20 05:29:39 UTC (rev 80885)
@@ -307,13 +307,6 @@
     system "GVBINDIR=${destroot}${prefix}/lib/graphviz DYLD_LIBRARY_PATH=${destroot}${prefix}/lib ${destroot}${prefix}/bin/dot -c"
 }
 
-pre-install {
-    # Remove old configuration files left behind by old versions of this port.
-    foreach file [glob -nocomplain -directory ${prefix}/lib/graphviz config*] {
-        delete ${file}
-    }
-}
-
 livecheck.type                  regex
 livecheck.url                   ${homepage}Download_source.php
 livecheck.regex                 ${my_name}-(\[0-9\]+\\.\[0-9\]*\[13579\](\\.\[0-9\]+)*)\\.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110719/e62123a6/attachment.html>


More information about the macports-changes mailing list