py-appscript, py25-appscript: update post-destroot so it doesn't fail with the current version. This was left out of the clearly untested https://trac.macports.org/changeset/75142.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@83765 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
Joshua Root
2011-09-10 17:57:34 +00:00
parent 5ed047aeb1
commit 6bbfa10700
2 changed files with 15 additions and 6 deletions
+8 -4
View File
@@ -27,8 +27,12 @@ depends_lib-append port:py24-distribute
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
}
}
+7 -2
View File
@@ -26,6 +26,11 @@ 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
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
}
}