Skip to content

Commit

Permalink
py-py2app: work around py34 destroot failure
Browse files Browse the repository at this point in the history
  • Loading branch information
jmroot committed Feb 3, 2017
1 parent 0972118 commit 7a0dc02
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions python/py-py2app/Portfile
Expand Up @@ -29,6 +29,13 @@ python.versions 26 27 33 34 35 36
if {$subport ne $name} {
depends_lib port:py${python.version}-macholib

if {${python.version} == 34} {
# workaround https://trac.macports.org/ticket/53429
pre-destroot {
xinstall -d ${worksrcpath}/doc/_static
}
}

post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} \
${destroot}${prefix}/share/examples/${subport}
Expand Down

0 comments on commit 7a0dc02

Please sign in to comment.