1 | # $Id: Portfile,v 1.13 2005/03/08 08:26:40 blb Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name py-gtk2 |
---|
5 | version 2.6.2 |
---|
6 | revision 0 |
---|
7 | categories python x11 |
---|
8 | maintainers darwinports@opendarwin.org |
---|
9 | description PyGTK2 is the Python binding to GTK+ 2.x |
---|
10 | long_description \ |
---|
11 | PyGTK contains modules that allow you to use gtk in Python programs. \ |
---|
12 | At present, it is a fairly complete set of bindings. |
---|
13 | |
---|
14 | homepage http://www.pygtk.org/ |
---|
15 | master_sites gnome:sources/pygtk/2.6 |
---|
16 | distname pygtk-${version} |
---|
17 | use_bzip2 yes |
---|
18 | checksums md5 0d4dca0564fc867a976808d18443f059 |
---|
19 | |
---|
20 | depends_lib path:${prefix}/bin/python:python24 lib:libgtk.2:gtk2 |
---|
21 | |
---|
22 | post-destroot { |
---|
23 | xinstall -m 755 -d ${destroot}/${prefix}/share/doc/${name} \ |
---|
24 | ${destroot}/${prefix}/share/${name} |
---|
25 | xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL \ |
---|
26 | MAPPING NEWS PKG-INFO README THREADS TODO \ |
---|
27 | ${destroot}/${prefix}/share/doc/${name} |
---|
28 | file copy ${worksrcpath}/examples ${destroot}/${prefix}/share/pygtk/2.0 |
---|
29 | eval file delete \ |
---|
30 | [glob ${destroot}/${prefix}/share/pygtk/2.0/examples/Makefile*] |
---|
31 | |
---|
32 | } |
---|
33 | |
---|
34 | variant glade { |
---|
35 | depends_lib-append lib:libglade-2:libglade2 |
---|
36 | } |
---|
37 | |
---|