Changeset 34702
- Timestamp:
- 03/03/08 05:54:28 (16 months ago)
- Files:
-
- 1 modified
-
trunk/dports/lang/python30/Portfile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/lang/python30/Portfile
r34616 r34702 4 4 5 5 name python30 6 version 3.0a 26 version 3.0a3 7 7 categories lang 8 8 platforms darwin … … 16 16 distname Python-${version} 17 17 extract.suffix .tgz 18 checksums md5 03e5e8676997cb9a27633b6db25ac80c 19 patchfiles patch-setup.py 18 checksums md5 ec525b7e7fe4383e8394fab721663252 19 patchfiles patch-setup.py \ 20 patch-Makefile.pre.in.diff 20 21 21 22 depends_lib port:gettext 23 configure.args --without-readline --enable-shared --enable-ipv6 --disable-tk --enable-framework=${prefix}/Library/Frameworks 22 24 23 configure.args --enable-shared --without-readline --enable-ipv6 --disable-tk --disable-framework --enable-toolbox-glue 24 #configure.env-append OPT="${configure.cflags} -g -Wall -Wstrict-prototypes" 25 destroot.target frameworkinstall maninstall libpython3.0.dylib 25 26 26 destroot.target altinstall maninstall27 27 post-destroot { 28 # make sure we dont have any file conflicts with python2.x 29 system "cd ${destroot}${prefix}/bin && mv idle idle3.0 && mv pydoc pydoc3.0 && mv smtpd.py smtpd3.0.py" 30 system "cd ${destroot}${prefix}/share/man/man1 && mv python.1 python3.0.1" 28 system "cd ${destroot}${prefix}/bin && \ 29 rm idle pydoc python python-config pythonw smtpd.py" 30 system "cd ${destroot}${prefix}/share/man/man1 && \ 31 ln -sf ${prefix}/Library/Frameworks/Python.framework/Versions/3.0/share/man/man1/python.1 python3.0.1" 32 system "cd ${destroot}${prefix}/lib && \ 33 ln -sf ${prefix}/Library/Frameworks/Python.framework/Versions/3.0/libpython3.0.dylib" 31 34 32 # install select file for python_select33 35 xinstall -m 755 -d ${destroot}${prefix}/etc/select/python 34 36 xinstall -m 644 ${filespath}/python30 ${destroot}${prefix}/etc/select/python/ 37 35 38 } 36 39

