source: trunk/dports/python/py-gtk2/Portfile @ 33474

Last change on this file since 33474 was 33474, checked in by gui_dos@…, 11 years ago

py-gobject, py-cairo, py-gtk2: sync with the py25-* counterparts

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 33474 2008-01-27 15:58:35Z gui_dos@macports.org $
2
3PortSystem      1.0
4
5name            py-gtk2
6set my_name     pygtk
7version         2.12.1
8set branch      [join [lrange [split ${version} .] 0 1] .]
9categories      python x11
10maintainers     nomaintainer
11description     PyGTK is the Python binding to GTK+ 2.x
12
13long_description \
14    PyGTK contains modules that allow you to use gtk in Python programs. \
15    At present, it is a fairly complete set of bindings.
16
17homepage        http://www.pygtk.org/
18master_sites    gnome:sources/${my_name}/${branch}/
19distname        ${my_name}-${version}
20use_bzip2       yes
21
22checksums       md5 a816346d750d61e3fa67a200e4292694 \
23                sha1 7a7d095f53829895174640d693c4e4af16122d98 \
24                rmd160 c368deab52524248593b77984e93f18150efa0f4
25
26depends_lib     port:python24 \
27                port:atk \
28                port:cairo \
29                port:pango \
30                port:gtk2 \
31                port:libglade2 \
32                port:py-cairo \
33                port:py-gobject
34
35configure.args  --disable-glibtest
36
37configure.python    ${prefix}/bin/python2.4
38
39platform darwin 7 {
40    configure.cflags-append -I${x11prefix}/include
41}
42
43platform darwin 9 {
44    post-patch {
45        reinplace "s| -export-symbols-regex.*||g" \
46            ${worksrcpath}/Makefile.in \
47            ${worksrcpath}/gtk/Makefile.in
48    }
49}
50
51livecheck.check regex
52livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${my_name}/${branch}/
53livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.