Ticket #13974: Portfile

File Portfile, 1.3 KB (added by gui-dos (Guido Soranzio), 16 years ago)

This is an updated Portfile working also in Leopard

Line 
1# $Id: Portfile 29253 2007-09-19 07:15:51Z nox@macports.org $
2
3PortSystem 1.0
4
5name            py25-gnome
6version         2.20.1
7categories      python gnome
8platforms       darwin
9maintainers     pguyot@kallisys.net
10description     gnome-python is a set of python interfaces to gnome-libs.
11long_description    ${description}
12
13homepage        http://www.pygtk.org/
14master_sites    gnome:sources/gnome-python/[strsed ${version} {/\.[0-9]*$//}]/
15use_bzip2       yes
16distname        gnome-python-${version}
17checksums       md5 f05d67b0f288728e703faa8f74995358 \
18                sha1 654419b0082d101d76ecc79d9fe47b0d8ea5461b \
19                rmd160 aaedae48dd151af28622dbcd00afcf527b6ce5ba
20
21depends_lib     port:libzvt \
22                port:py25-gtk \
23                port:py25-orbit
24
25build.args      PYTHON_LDFLAGS= PYTHON_LIBS=
26
27configure.python ${prefix}/bin/python2.5
28
29platform darwin 9 {
30        post-patch {
31                reinplace "s| -export-symbols-regex.*||g" \
32                        ${worksrcpath}/bonobo/Makefile.am \
33                        ${worksrcpath}/bonobo/Makefile.in \
34                        ${worksrcpath}/gconf/Makefile.am \
35                        ${worksrcpath}/gconf/Makefile.in \
36                        ${worksrcpath}/gnome/Makefile.am \
37                        ${worksrcpath}/gnome/Makefile.in \
38                        ${worksrcpath}/gnomecanvas/Makefile.am \
39                        ${worksrcpath}/gnomecanvas/Makefile.in \
40                        ${worksrcpath}/gnomevfs/Makefile.am \
41                        ${worksrcpath}/gnomevfs/Makefile.in
42        }
43}
44
45livecheck.check md5
46livecheck.url   ftp://ftp.gnome.org/pub/GNOME/sources/gnome-python/
47livecheck.md5   0cc88801d2019c3ec94f296cda5f57f9