New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82067


Ignore:
Timestamp:
08/07/11 02:26:51 (4 years ago)
Author:
jmr@…
Message:

py-distribute: disable post-destroot in the stub

File:
1 edited

Legend:

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

    r82063 r82067  
    3030python.link_binaries no 
    3131 
    32 post-destroot { 
    33    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 
    34    xinstall -m 644 -W ${worksrcpath} CHANGES.txt CONTRIBUTORS.txt \ 
    35       DEVGUIDE.txt README.txt ${destroot}${prefix}/share/doc/${name} 
    36    if {$subport == "py25-distribute"} { 
    37       delete "${destroot}${prefix}/bin/easy_install" 
    38    } else { 
    39       ln -s "${python.prefix}/bin/easy_install-${python.branch}" "${destroot}${prefix}/bin/" 
    40    } 
     32if {$subport != $name} { 
     33    post-destroot { 
     34       xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 
     35       xinstall -m 644 -W ${worksrcpath} CHANGES.txt CONTRIBUTORS.txt \ 
     36          DEVGUIDE.txt README.txt ${destroot}${prefix}/share/doc/${name} 
     37       if {$subport == "py25-distribute"} { 
     38          delete "${destroot}${prefix}/bin/easy_install" 
     39       } else { 
     40          ln -s "${python.prefix}/bin/easy_install-${python.branch}" "${destroot}${prefix}/bin/" 
     41       } 
     42    } 
    4143} 
    4244 
Note: See TracChangeset for help on using the changeset viewer.