Skip to content
Permalink
Browse files

py-matplotlib: remove redundant if-statement in post-destroot

  • Loading branch information
reneeotten authored and pmetzger committed Oct 11, 2018
1 parent f8d10c6 commit 279db775f637e57ea4424afbce8b84113358aaa7
Showing with 6 additions and 8 deletions.
  1. +6 −8 python/py-matplotlib/Portfile
@@ -70,14 +70,12 @@ if {${name} ne ${subport}} {
compiler.blacklist gcc-4.0

post-destroot {
if {${name} ne ${subport}} {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} \
${destroot}${prefix}/share/${subport}
xinstall -m 644 -W ${worksrcpath} README.rst matplotlibrc.template \
${destroot}${prefix}/share/doc/${subport}
file copy ${worksrcpath}/examples \
${destroot}${prefix}/share/${subport}
}
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} \
${destroot}${prefix}/share/${subport}
xinstall -m 644 -W ${worksrcpath} README.rst matplotlibrc.template \
${destroot}${prefix}/share/doc/${subport}
file copy ${worksrcpath}/examples \
${destroot}${prefix}/share/${subport}
}

variant webagg description "Enable WebAgg backend" {

0 comments on commit 279db77

Please sign in to comment.
You can’t perform that action at this time.