Ticket #31741: py-crypto.diff

File py-crypto.diff, 843 bytes (added by blb@…, 13 years ago)

Diff to Portfile

  • Portfile

     
    55
    66name             py-crypto
    77version          2.4
     8revision         1
    89
    910categories       python security
    1011license          public-domain PSF
     
    2930test.run         yes
    3031test.target      test
    3132
    32 post-destroot {
    33   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    34   xinstall -m 644 -W ${worksrcpath} ACKS ChangeLog COPYRIGHT README TODO \
    35     ${destroot}${prefix}/share/doc/${name}
     33if {${name} != ${subport}} {
     34  post-destroot {
     35    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
     36    xinstall -m 644 -W ${worksrcpath} ACKS ChangeLog COPYRIGHT README TODO \
     37      ${destroot}${prefix}/share/doc/${subport}
     38  }
    3639}
    3740
    3841livecheck.type   regex