Ticket #14488: Portfile.3

File Portfile.3, 972 bytes (added by mf2k (Frank Schima), 15 years ago)

Updated py25-tkinter portfile

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