New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82445


Ignore:
Timestamp:
08/13/11 16:30:39 (4 years ago)
Author:
blb@…
Message:

py2*-asn1: unify

Location:
trunk/dports/python
Files:
2 deleted
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-asn1/Portfile

    r81248 r82445  
    22 
    33PortSystem          1.0 
    4 PortGroup           python26 1.0 
     4PortGroup           python 1.0 
    55 
    6 name                py26-asn1 
     6name                py-asn1 
    77epoch               1 
    88version             0.0.13 
     
    2525                    rmd160  3f34c796a2d1149f53c8604bc62caac0c3ab9beb 
    2626 
    27 post-destroot { 
    28    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 
    29    xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE README THANKS TODO \ 
    30       ${destroot}${prefix}/share/doc/${name} 
    31    xinstall -m 644 -W ${worksrcpath}/doc pyasn1-tutorial.html \ 
    32       ${destroot}${prefix}/share/doc/${name} 
     27if {${name} != ${subport}} { 
     28   post-destroot { 
     29      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} 
     30      xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE README THANKS TODO \ 
     31         ${destroot}${prefix}/share/doc/${subport} 
     32      xinstall -m 644 -W ${worksrcpath}/doc pyasn1-tutorial.html \ 
     33         ${destroot}${prefix}/share/doc/${subport} 
     34   } 
    3335} 
     36 
     37python.default_version   27 
     38python.versions          25 26 27 
    3439 
    3540livecheck.type      regex 
Note: See TracChangeset for help on using the changeset viewer.