source: trunk/dports/lang/python30/Portfile @ 29539

Last change on this file since 29539 was 29539, checked in by mww@…, 13 years ago

add livecheck

File size: 1.2 KB
Line 
1# $Id: Portfile 28540 2007-09-03 11:42:45Z mww@macports.org $
2
3PortSystem 1.0
4
5name                    python30
6version                 3.0a1
7categories              lang
8platforms               darwin
9maintainers             mww@macports.org
10description             An interpreted, object-oriented programming language
11long_description        Python is an interpreted, interactive, object-oriented \
12                        programming language. This version is an ALPHA release!
13
14homepage                http://www.python.org
15master_sites            http://www.python.org/ftp/python/3.0/
16distname                Python-${version}
17extract.suffix          .tgz
18checksums               md5 89356ece9bd276e78a9e63cfe4a83a23
19patchfiles              patch-setup.py
20
21depends_lib             port:libiconv
22
23configure.args          --enable-shared --without-readline --enable-ipv6 --disable-tk --disable-framework
24
25destroot.target         install maninstall
26post-destroot {
27        # make sure we dont have any file conflicts with python2.x
28        system "cd ${destroot}${prefix}/bin && rm python-config python"
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"
31}
32
33platform darwin 8 {
34        configure.compiler      gcc-4.0
35}
36
37livecheck.check         regex
38livecheck.url           http://www.python.org/download/releases/3.0/
39livecheck.regex         /3.0/Python-(\[0-9a-z.\]+)\\.tgz
40 
Note: See TracBrowser for help on using the repository browser.