# $Id$ PortSystem 1.0 PortGroup python25 1.0 name py25-tkinter version 2.5.1 categories python graphics platforms darwin maintainers mww description Python bindings to the Tk widget set long_description ${description} homepage http://www.python.org/doc/current/lib/module-Tkinter.html master_sites http://www.python.org/ftp/python/${version}/ distname Python-${version} dist_subdir python25 checksums sha1 993a66bd2dabb0c4f33ca98372576315ef113df6 use_bzip2 yes depends_lib-append port:tcl port:tk worksrcdir ${worksrcdir}/Modules extract.post_args "| tar -xf - ${distname}/Modules/_tkinter.c \ ${distname}/Modules/tkappinit.c" post-extract { file copy ${filespath}/setup.py ${worksrcpath} } configure { reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py reinplace "s|__TK-VERSION__|8.4|g" ${worksrcpath}/setup.py } livecheck.check regex livecheck.url http://www.python.org/download/releases/ livecheck.regex Python (2.5\[0-9\.\]+)