source: trunk/dports/lang/python22/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4
5name                    python22
6version                 2.2.3
7revision                2
8categories              lang
9maintainers             ekman.cx:pat
10description             An interpreted, object-oriented programming language
11platforms               darwin
12master_sites    ftp://ftp.python.org/pub/python/${version}/
13distname                Python-${version}
14extract.suffix  .tgz
15checksums               md5 169f89f318e252dac0c54dd1b165d229
16patchfiles              patch-unixccompiler.py patch-Makefile.pre.in patch-setup.py
17
18configure.args  --disable-tk
19
20test.run                no
21test.target             check
22
23destroot.destdir        prefix=${destroot}${prefix}
24
25variant nothreads {
26        configure.args-append   --without-threads
27}
28
29platform puredarwin {
30        configure.args-append  --disable-toolbox-glue
31}
32
33platform darwin x86 {
34        configure.args-append  --disable-toolbox-glue
35}
36
37variant tk {
38        configure.args-delete   --disable-tk
39        depends_lib-append              lib:libtk:tk
40}
41
42post-destroot {
43        file delete ${destroot}${prefix}/bin/python
44        file rename ${destroot}${prefix}/bin/pydoc \
45                ${destroot}${prefix}/bin/pydoc2.2
46        file rename ${destroot}${prefix}/share/man/man1/python.1 \
47                ${destroot}${prefix}/share/man/man1/python22.1
48}
Note: See TracBrowser for help on using the repository browser.