New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79722


Ignore:
Timestamp:
06/23/11 17:38:26 (4 years ago)
Author:
blair@…
Message:

ice-python27: new port based off the ice-python26 port.

Location:
trunk/dports/devel/ice-python27
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/ice-python27/Portfile

    r79707 r79722  
    33PortSystem 1.0 
    44 
    5 name            ice-python26 
     5name            ice-python27 
    66version         3.4.2 
    77set branch      [join [lrange [split ${version} .] 0 1] .] 
     
    3939platforms       darwin 
    4040 
    41 depends_lib     port:python26 \ 
     41depends_lib     port:python27 \ 
    4242                port:ice-cpp 
    4343 
     
    6262                CXX="${configure.cxx}" \ 
    6363                ICE_HOME="${prefix}" \ 
    64                 PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.6" \ 
    65                 PYTHON_VERSION=python2.6 \ 
     64                PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.7" \ 
     65                PYTHON_VERSION=python2.7 \ 
    6666                OPTIMIZE="yes" \ 
    6767                all 
     
    6969test.run        yes 
    7070test.env        ICE_HOME=${prefix} 
    71 test.cmd        ${prefix}/bin/python2.6 
     71test.cmd        ${prefix}/bin/python2.7 
    7272test.target     allTests.py 
    7373 
     
    7676                CXX="${configure.cxx}" \ 
    7777                ICE_HOME="${prefix}" \ 
    78                 PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.6" \ 
    79                 PYTHON_VERSION=python2.6 \ 
     78                PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.7" \ 
     79                PYTHON_VERSION=python2.7 \ 
    8080                OPTIMIZE="yes" \ 
    8181                install 
     
    8585        set docdir ${sharedir}/doc/${name} 
    8686 
    87         set python_root ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6 
    88         set python26_dir ${python_root}/lib/python2.6 
    89         set site_packages_dir ${python26_dir}/site-packages 
     87        set python_root ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7 
     88        set python27_dir ${python_root}/lib/python2.7 
     89        set site_packages_dir ${python27_dir}/site-packages 
    9090 
    9191        delete ${destroot}${prefix}/slice 
     
    9393        xinstall -m 755 -d ${docdir} 
    9494 
    95         file mkdir ${python26_dir} 
     95        file mkdir ${python27_dir} 
    9696        file rename ${destroot}${prefix}/python ${site_packages_dir} 
    9797 
    98         set cmd "${prefix}/bin/python2.6 \ 
    99                 ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/compileall.py \ 
     98        set cmd "${prefix}/bin/python2.7 \ 
     99                ${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/compileall.py \ 
    100100                ${site_packages_dir}" 
    101101        ui_debug ${cmd} 
    102102        system ${cmd} 
    103103 
    104         set cmd "${prefix}/bin/python2.6 -O \ 
    105                 ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/compileall.py \ 
     104        set cmd "${prefix}/bin/python2.7 -O \ 
     105                ${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/compileall.py \ 
    106106                ${site_packages_dir}" 
    107107        ui_debug ${cmd} 
Note: See TracChangeset for help on using the changeset viewer.