New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #16334: python25-Portfile.diff

File python25-Portfile.diff, 1.8 KB (added by mcalhoun@…, 3 years ago)
  • Portfile

    old new  
    3434 
    3535configure.args          --enable-shared \ 
    3636                        --enable-framework=${frameworks_dir} \ 
    37                         --mandir=${prefix}/share/man \ 
    3837                        --without-readline \ 
    3938                        --disable-tk \ 
    4039                        --enable-ipv6 
     
    7675        set framewdir  ${framewpath}/Versions/${branch} 
    7776 
    7877        foreach dir { lib include } { 
    79             file rename ${destroot}${framewdir}/${dir}/python${branch} ${destroot}${prefix}/${dir} 
    80             ln -s ${prefix}/${dir}/python${branch} ${destroot}${framewdir}/${dir}/python${branch} 
     78            ln -s ${framewdir}/${dir}/python${branch} ${destroot}${prefix}/${dir}/python${branch} 
    8179        } 
    8280 
    8381        ln -s ${framewdir}/Python ${destroot}${prefix}/lib/libpython${branch}.dylib 
    8482 
    85         file rename ${destroot}${prefix}/share/man/man1/python.1 ${destroot}${prefix}/share/man/man1/python${branch}.1 
     83        ln -s ${framewdir}/share/man/man1/python.1 ${destroot}${prefix}/share/man/man1/python${branch}.1 
    8684 
    8785        # delete symlinks without version suffix, use python_select instead to choose version 
    8886        foreach bin { python pythonw idle pydoc smtpd.py python-config } { 
    8987            file delete ${destroot}${prefix}/bin/${bin} 
    9088        } 
    91         foreach bin [list python${branch} pythonw${branch} idle${branch} pydoc${branch} smtpd${branch}.py python${branch}-config] { 
    92             file rename -force ${destroot}${framewdir}/bin/${bin} ${destroot}${prefix}/bin 
    93             ln -s ${prefix}/bin/${bin} ${destroot}${framewdir}/bin/${bin} 
    94         } 
    9589 
    9690        foreach dir { Headers Resources Python Versions/Current } { 
    9791            file delete ${destroot}${framewpath}/${dir}