1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python25 1.0 |
---|
5 | |
---|
6 | name py25-tkinter |
---|
7 | version 2.5.4 |
---|
8 | categories python graphics |
---|
9 | platforms darwin |
---|
10 | maintainers mww |
---|
11 | description Python bindings to the Tk widget set |
---|
12 | long_description ${description} |
---|
13 | |
---|
14 | homepage http://www.python.org/doc/current/lib/module-Tkinter.html |
---|
15 | master_sites http://www.python.org/ftp/python/${version}/ |
---|
16 | distname Python-${version} |
---|
17 | dist_subdir python25 |
---|
18 | checksums sha1 0f2e819d6381f72f26c734e00a6780b3933ea404 |
---|
19 | use_bzip2 yes |
---|
20 | |
---|
21 | depends_lib-append port:tcl port:tk |
---|
22 | |
---|
23 | worksrcdir ${worksrcdir}/Modules |
---|
24 | |
---|
25 | extract.post_args "| tar -xf - ${distname}/Modules/_tkinter.c \ |
---|
26 | ${distname}/Modules/tkappinit.c" |
---|
27 | post-extract { |
---|
28 | file copy ${filespath}/setup.py ${worksrcpath} |
---|
29 | } |
---|
30 | |
---|
31 | configure { |
---|
32 | reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py |
---|
33 | reinplace "s|__TK-VERSION__|8.4|g" ${worksrcpath}/setup.py |
---|
34 | } |
---|
35 | |
---|
36 | livecheck.check regex |
---|
37 | livecheck.url http://www.python.org/download/releases/ |
---|
38 | livecheck.regex Python (2.5\[0-9\.\]+) |
---|