Changeset 81300
- Timestamp:
- 07/28/11 22:30:34 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/python/py-tkinter/Portfile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/python/py-tkinter/Portfile
r80508 r81300 2 2 3 3 PortSystem 1.0 4 PortGroup python 241.04 PortGroup python 1.0 5 5 6 6 name py-tkinter … … 13 13 long_description ${description} 14 14 15 homepage http:// www.python.org/doc/current/lib/module-Tkinter.html15 homepage http://docs.python.org/release/2.4.4/lib/module-Tkinter.html 16 16 master_sites http://www.python.org/ftp/python/${version}/ 17 17 distname Python-${version} 18 18 dist_subdir python24 19 checksums sha1 cb1972a554a458f6a26d3e047b359251865d7c96 19 checksums sha1 cb1972a554a458f6a26d3e047b359251865d7c96 \ 20 rmd160 0687989193dec2ac108142759281be7ddcf7f31e 20 21 use_bzip2 yes 21 22 22 depends_lib-append port:tk 23 python.versions 24 23 24 24 worksrcdir ${worksrcdir}/Modules 25 subport py24-tkinter { 26 depends_lib-append port:tk 25 27 26 extract.post_args "| tar -xf - ${distname}/Modules/_tkinter.c \ 27 ${distname}/Modules/tkappinit.c" 28 post-extract { 29 file copy ${filespath}/setup.py ${worksrcpath} 30 } 28 worksrcdir ${worksrcdir}/Modules 31 29 32 configure { 33 reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py 34 reinplace "s|__TK-VERSION__|8.5|g" ${worksrcpath}/setup.py 30 extract.post_args "| tar -xf - ${distname}/Modules/_tkinter.c \ 31 ${distname}/Modules/tkappinit.c" 32 post-extract { 33 file copy ${filespath}/setup.py ${worksrcpath} 34 } 35 36 configure { 37 reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py 38 reinplace "s|__TK-VERSION__|8.5|g" ${worksrcpath}/setup.py 39 } 35 40 } 36 41
Note: See TracChangeset
for help on using the changeset viewer.

