[45507] trunk/dports/python
jmr at macports.org
jmr at macports.org
Fri Jan 16 12:45:09 PST 2009
Revision: 45507
http://trac.macports.org/changeset/45507
Author: jmr at macports.org
Date: 2009-01-16 12:45:09 -0800 (Fri, 16 Jan 2009)
Log Message:
-----------
py*-pyobjc2: don't install .svn directories with the docs
Modified Paths:
--------------
trunk/dports/python/py-pyobjc2/Portfile
trunk/dports/python/py25-pyobjc2/Portfile
trunk/dports/python/py26-pyobjc2/Portfile
Modified: trunk/dports/python/py-pyobjc2/Portfile
===================================================================
--- trunk/dports/python/py-pyobjc2/Portfile 2009-01-16 20:29:20 UTC (rev 45506)
+++ trunk/dports/python/py-pyobjc2/Portfile 2009-01-16 20:45:09 UTC (rev 45507)
@@ -40,10 +40,15 @@
xinstall -m 644 -W ${worksrcpath} HISTORIC.txt Install.html Install.txt \
License.txt NEWS.html NEWS.txt ReadMe.txt ReadMe.html \
${destroot}${prefix}/share/doc/${name}
- file copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}/html
- file delete ${destroot}${prefix}/share/doc/${name}/examples
- file copy ${worksrcpath}/Examples \
+ copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}/html
+ delete ${destroot}${prefix}/share/doc/${name}/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/Portfile
===================================================================
--- trunk/dports/python/py25-pyobjc2/Portfile 2009-01-16 20:29:20 UTC (rev 45506)
+++ trunk/dports/python/py25-pyobjc2/Portfile 2009-01-16 20:45:09 UTC (rev 45507)
@@ -6,6 +6,7 @@
name py25-pyobjc2
version 2.0
+revision 1
categories python devel
maintainers jmr openmaintainer
platforms darwin
@@ -37,10 +38,15 @@
xinstall -m 644 -W ${worksrcpath} HISTORIC.txt Install.html Install.txt \
License.txt NEWS.html NEWS.txt ReadMe.txt ReadMe.html \
${destroot}${prefix}/share/doc/${name}
- file copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}/html
- file delete ${destroot}${prefix}/share/doc/${name}/examples
- file copy ${worksrcpath}/Examples \
+ copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}/html
+ delete ${destroot}${prefix}/share/doc/${name}/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/Portfile
===================================================================
--- trunk/dports/python/py26-pyobjc2/Portfile 2009-01-16 20:29:20 UTC (rev 45506)
+++ trunk/dports/python/py26-pyobjc2/Portfile 2009-01-16 20:45:09 UTC (rev 45507)
@@ -37,10 +37,15 @@
xinstall -m 644 -W ${worksrcpath} HISTORIC.txt Install.html Install.txt \
License.txt NEWS.html NEWS.txt ReadMe.txt ReadMe.html \
${destroot}${prefix}/share/doc/${name}
- file copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}/html
- file delete ${destroot}${prefix}/share/doc/${name}/examples
- file copy ${worksrcpath}/Examples \
+ copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}/html
+ delete ${destroot}${prefix}/share/doc/${name}/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/feb111b9/attachment.html>
More information about the macports-changes
mailing list