[45510] trunk/dports/python

jmr at macports.org jmr at macports.org
Fri Jan 16 12:59:09 PST 2009


Revision: 45510
          http://trac.macports.org/changeset/45510
Author:   jmr at macports.org
Date:     2009-01-16 12:59:09 -0800 (Fri, 16 Jan 2009)
Log Message:
-----------
py*-pyobjc2-cocoa: don't install .svn dirs with the docs

Modified Paths:
--------------
    trunk/dports/python/py-pyobjc2-cocoa/Portfile
    trunk/dports/python/py25-pyobjc2-cocoa/Portfile
    trunk/dports/python/py26-pyobjc2-cocoa/Portfile

Modified: trunk/dports/python/py-pyobjc2-cocoa/Portfile
===================================================================
--- trunk/dports/python/py-pyobjc2-cocoa/Portfile	2009-01-16 20:54:22 UTC (rev 45509)
+++ trunk/dports/python/py-pyobjc2-cocoa/Portfile	2009-01-16 20:59:09 UTC (rev 45510)
@@ -6,6 +6,7 @@
 
 name            py-pyobjc2-cocoa
 version         2.0
+revision        1
 categories      python devel
 maintainers     jmr openmaintainer
 platforms       darwin
@@ -31,8 +32,13 @@
     xinstall -m 644 -W ${worksrcpath} \
         LICENSE.txt README.txt \
         ${destroot}${prefix}/share/doc/${name}
-    file copy ${worksrcpath}/Examples \
+    copy ${worksrcpath}/Examples \
         ${destroot}${prefix}/share/doc/${name}/examples
+    fs-traverse dir ${destroot}${prefix}/share/doc/${name} {
+        if {[file isdirectory $dir] && [file tail dir] == ".svn"} {
+            delete $dir
+        }
+    }
 }
 
 livecheck.check none

Modified: trunk/dports/python/py25-pyobjc2-cocoa/Portfile
===================================================================
--- trunk/dports/python/py25-pyobjc2-cocoa/Portfile	2009-01-16 20:54:22 UTC (rev 45509)
+++ trunk/dports/python/py25-pyobjc2-cocoa/Portfile	2009-01-16 20:59:09 UTC (rev 45510)
@@ -6,6 +6,7 @@
 
 name            py25-pyobjc2-cocoa
 version         2.0
+revision        1
 categories      python devel
 maintainers     jmr openmaintainer
 platforms       darwin
@@ -33,8 +34,13 @@
     xinstall -m 644 -W ${worksrcpath} \
         LICENSE.txt README.txt \
         ${destroot}${prefix}/share/doc/${name}
-    file copy ${worksrcpath}/Examples \
+    copy ${worksrcpath}/Examples \
         ${destroot}${prefix}/share/doc/${name}/examples
+    fs-traverse dir ${destroot}${prefix}/share/doc/${name} {
+        if {[file isdirectory $dir] && [file tail dir] == ".svn"} {
+            delete $dir
+        }
+    }
 }
 
 livecheck.check none

Modified: trunk/dports/python/py26-pyobjc2-cocoa/Portfile
===================================================================
--- trunk/dports/python/py26-pyobjc2-cocoa/Portfile	2009-01-16 20:54:22 UTC (rev 45509)
+++ trunk/dports/python/py26-pyobjc2-cocoa/Portfile	2009-01-16 20:59:09 UTC (rev 45510)
@@ -6,6 +6,7 @@
 
 name            py26-pyobjc2-cocoa
 version         2.0
+revision        1
 categories      python devel
 maintainers     jmr openmaintainer
 platforms       darwin
@@ -31,8 +32,13 @@
     xinstall -m 644 -W ${worksrcpath} \
         LICENSE.txt README.txt \
         ${destroot}${prefix}/share/doc/${name}
-    file copy ${worksrcpath}/Examples \
+    copy ${worksrcpath}/Examples \
         ${destroot}${prefix}/share/doc/${name}/examples
+    fs-traverse dir ${destroot}${prefix}/share/doc/${name} {
+        if {[file isdirectory $dir] && [file tail dir] == ".svn"} {
+            delete $dir
+        }
+    }
 }
 
 livecheck.check none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090116/bafc55b8/attachment-0001.html>


More information about the macports-changes mailing list