New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82449


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

py2*-freebase: unify

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

Legend:

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

    r81249 r82449  
    22 
    33PortSystem          1.0 
    4 PortGroup           python26 1.0 
    5 name                py26-freebase 
     4PortGroup           python 1.0 
     5name                py-freebase 
    66epoch               1 
    77version             1.0.8 
     
    2828                    rmd160  f7ec4ba8c1918c60852724ff79e72e36800658e8 
    2929 
    30 post-destroot { 
    31    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \ 
    32       ${destroot}${prefix}/share/examples/${name} 
    33    xinstall -m 644 -W ${worksrcpath} COPYRIGHT README \ 
    34       ${destroot}${prefix}/share/doc/${name} 
    35    eval file copy [glob ${worksrcpath}/examples/*] \ 
    36       ${destroot}${prefix}/share/examples/${name} 
     30if {${name} != ${subport}} { 
     31   post-destroot { 
     32      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} \ 
     33         ${destroot}${prefix}/share/examples/${subport} 
     34      xinstall -m 644 -W ${worksrcpath} COPYRIGHT README \ 
     35         ${destroot}${prefix}/share/doc/${subport} 
     36      eval file copy [glob ${worksrcpath}/examples/*] \ 
     37         ${destroot}${prefix}/share/examples/${subport} 
     38   } 
    3739} 
     40 
     41python.default_version   27 
     42python.versions     25 26 27 
    3843 
    3944livecheck.url       [lindex ${master_sites} 0] 
Note: See TracChangeset for help on using the changeset viewer.