Changeset 79722
- Timestamp:
- 06/23/11 17:38:26 (4 years ago)
- Location:
- trunk/dports/devel/ice-python27
- Files:
-
- 1 edited
- 1 copied
-
. (copied) (copied from trunk/dports/devel/ice-python26)
-
Portfile (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/devel/ice-python27/Portfile
r79707 r79722 3 3 PortSystem 1.0 4 4 5 name ice-python2 65 name ice-python27 6 6 version 3.4.2 7 7 set branch [join [lrange [split ${version} .] 0 1] .] … … 39 39 platforms darwin 40 40 41 depends_lib port:python2 6\41 depends_lib port:python27 \ 42 42 port:ice-cpp 43 43 … … 62 62 CXX="${configure.cxx}" \ 63 63 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 \ 66 66 OPTIMIZE="yes" \ 67 67 all … … 69 69 test.run yes 70 70 test.env ICE_HOME=${prefix} 71 test.cmd ${prefix}/bin/python2. 671 test.cmd ${prefix}/bin/python2.7 72 72 test.target allTests.py 73 73 … … 76 76 CXX="${configure.cxx}" \ 77 77 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 \ 80 80 OPTIMIZE="yes" \ 81 81 install … … 85 85 set docdir ${sharedir}/doc/${name} 86 86 87 set python_root ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2. 688 set python2 6_dir ${python_root}/lib/python2.689 set site_packages_dir ${python2 6_dir}/site-packages87 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 90 90 91 91 delete ${destroot}${prefix}/slice … … 93 93 xinstall -m 755 -d ${docdir} 94 94 95 file mkdir ${python2 6_dir}95 file mkdir ${python27_dir} 96 96 file rename ${destroot}${prefix}/python ${site_packages_dir} 97 97 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 \ 100 100 ${site_packages_dir}" 101 101 ui_debug ${cmd} 102 102 system ${cmd} 103 103 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 \ 106 106 ${site_packages_dir}" 107 107 ui_debug ${cmd}
Note: See TracChangeset
for help on using the changeset viewer.

