# $Id$ PortSystem 1.0 name python30 version 3.0a2 categories lang platforms darwin maintainers mww description An interpreted, object-oriented programming language long_description Python is an interpreted, interactive, object-oriented \ programming language. This version is an ALPHA release! homepage http://www.python.org master_sites http://www.python.org/ftp/python/3.0/ distname Python-${version} extract.suffix .tgz checksums md5 03e5e8676997cb9a27633b6db25ac80c patchfiles patch-setup.py depends_lib port:gettext configure.args --enable-shared --without-readline --enable-ipv6 --disable-tk --disable-framework --enable-toolbox-glue #configure.env-append OPT="${configure.cflags} -g -Wall -Wstrict-prototypes" destroot.target altinstall maninstall post-destroot { # make sure we dont have any file conflicts with python2.x system "cd ${destroot}${prefix}/bin && mv idle idle3.0 && mv pydoc pydoc3.0 && mv smtpd.py smtpd3.0.py" system "cd ${destroot}${prefix}/share/man/man1 && mv python.1 python3.0.1" } platform darwin 8 { configure.compiler gcc-4.0 } livecheck.check regex livecheck.url http://www.python.org/download/releases/3.0/ livecheck.regex /3.0/Python-(\[0-9a-z.\]+)\\.tgz