[83765] trunk/dports/python
jmr at macports.org
jmr at macports.org
Sat Sep 10 10:57:35 PDT 2011
Revision: 83765
http://trac.macports.org/changeset/83765
Author: jmr at macports.org
Date: 2011-09-10 10:57:34 -0700 (Sat, 10 Sep 2011)
Log Message:
-----------
py-appscript, py25-appscript: update post-destroot so it doesn't fail with the current version. This was left out of the clearly untested r75142.
Revision Links:
--------------
http://trac.macports.org/changeset/75142
Modified Paths:
--------------
trunk/dports/python/py-appscript/Portfile
trunk/dports/python/py25-appscript/Portfile
Modified: trunk/dports/python/py-appscript/Portfile
===================================================================
--- trunk/dports/python/py-appscript/Portfile 2011-09-10 17:56:16 UTC (rev 83764)
+++ trunk/dports/python/py-appscript/Portfile 2011-09-10 17:57:34 UTC (rev 83765)
@@ -27,8 +27,12 @@
checksums md5 da82d98d613c0f7d907ca128ac4bac68 \
sha1 0fa2b72470c48b9331c8051abb8b74b33b8fd3d8
-post-destroot {
- file copy ${worksrcpath}/sample ${destroot}${prefix}/share/doc/${name}/sample
- file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}/doc
+post-destroot {
+ foreach subdir {appscript_2x appscript_3x} {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/${subdir}
+ file copy ${worksrcpath}/${subdir}/sample \
+ ${destroot}${prefix}/share/doc/${name}/${subdir}/sample
+ file copy ${worksrcpath}/${subdir}/doc \
+ ${destroot}${prefix}/share/doc/${name}/${subdir}/doc
+ }
}
-
Modified: trunk/dports/python/py25-appscript/Portfile
===================================================================
--- trunk/dports/python/py25-appscript/Portfile 2011-09-10 17:56:16 UTC (rev 83764)
+++ trunk/dports/python/py25-appscript/Portfile 2011-09-10 17:57:34 UTC (rev 83765)
@@ -26,6 +26,11 @@
sha1 0fa2b72470c48b9331c8051abb8b74b33b8fd3d8
post-destroot {
- file copy ${worksrcpath}/sample ${destroot}${prefix}/share/doc/${name}/sample
- file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}/doc
+ foreach subdir {appscript_2x appscript_3x} {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/${subdir}
+ file copy ${worksrcpath}/${subdir}/sample \
+ ${destroot}${prefix}/share/doc/${name}/${subdir}/sample
+ file copy ${worksrcpath}/${subdir}/doc \
+ ${destroot}${prefix}/share/doc/${name}/${subdir}/doc
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110910/b0842344/attachment.html>
More information about the macports-changes
mailing list