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

ryandesign at macports.org ryandesign at macports.org
Tue Jan 27 22:54:03 PST 2009


Revision: 46063
          http://trac.macports.org/changeset/46063
Author:   ryandesign at macports.org
Date:     2009-01-27 22:54:02 -0800 (Tue, 27 Jan 2009)
Log Message:
-----------
graphviz-devel: We don't really need the .DS_Store files to get installed

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

Modified: trunk/dports/graphics/graphviz-oldgui/Portfile
===================================================================
--- trunk/dports/graphics/graphviz-oldgui/Portfile	2009-01-28 06:12:04 UTC (rev 46062)
+++ trunk/dports/graphics/graphviz-oldgui/Portfile	2009-01-28 06:54:02 UTC (rev 46063)
@@ -35,6 +35,11 @@
 post-extract {
     move "${workpath}/Graphviz 1.13 (v16)" ${worksrcpath}
     delete ${worksrcpath}/Graphviz.app/Contents/Frameworks
+    fs-traverse item ${worksrcpath} {
+        if {".DS_Store" == [file tail ${item}] && [file isfile ${item}]} {
+            delete ${item}
+        }
+    }
     system "cd ${worksrcpath}/Graphviz.app/Contents/Resources/English.lproj && ${prefix}/bin/iconv -f utf-16 -t utf-8 InfoPlist.strings > InfoPlist.strings.utf8"
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090127/cd9e786c/attachment-0001.html>


More information about the macports-changes mailing list