1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name gnome-python26-extras |
---|
7 | version 2.25.3 |
---|
8 | |
---|
9 | categories gnome python |
---|
10 | platforms darwin |
---|
11 | maintainers wanadoo.fr:neric27 openmaintainer |
---|
12 | |
---|
13 | description "Extra" Python modules for some GNOME Desktop libraries. |
---|
14 | long_description ${description} |
---|
15 | |
---|
16 | homepage http://www.pygtk.org/ |
---|
17 | |
---|
18 | set myname gnome-python-extras |
---|
19 | set branch [join [lrange [split ${version} .] 0 1] .] |
---|
20 | |
---|
21 | master_sites gnome:sources/${myname}/${branch} |
---|
22 | distfiles ${myname}-${version}.tar.bz2 |
---|
23 | |
---|
24 | checksums md5 9f3b7ec5c57130b96061cb486b79c076 \ |
---|
25 | sha1 e69e5288466c960ed6f985bb10c9969b21ed85a4 \ |
---|
26 | rmd160 e09bc0152512e2caa61626a7dc788d7336f24e46 |
---|
27 | |
---|
28 | use_bzip2 yes |
---|
29 | |
---|
30 | depends_lib port:py26-gnome \ |
---|
31 | port:gdl \ |
---|
32 | port:libgda4 \ |
---|
33 | port:libgtkhtml \ |
---|
34 | port:gtkspell2 |
---|
35 | |
---|
36 | patchfiles patch-pygobject \ |
---|
37 | patch-configure.diff |
---|
38 | |
---|
39 | worksrcdir ${myname}-${version} |
---|
40 | |
---|
41 | set python.branch 2.6 |
---|
42 | set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch} |
---|
43 | set python.bin ${python.prefix}/bin/python${python.branch} |
---|
44 | |
---|
45 | configure.args-append --prefix=${python.prefix} |
---|
46 | #configure.args-append --includedir=${python_prefix}/include/python2.6 |
---|
47 | configure.pkg_config_path ${python.prefix}/lib/pkgconfig |
---|
48 | |
---|
49 | configure.python ${python.bin} |
---|
50 | |
---|
51 | platform darwin 9 { |
---|
52 | post-patch { |
---|
53 | reinplace "s|-export-symbols-regex.*||g" \ |
---|
54 | ${worksrcpath}/egg/recent/Makefile.in \ |
---|
55 | ${worksrcpath}/egg/tray/Makefile.in \ |
---|
56 | ${worksrcpath}/gda/Makefile.in \ |
---|
57 | ${worksrcpath}/gdl/Makefile.in \ |
---|
58 | ${worksrcpath}/gksu/Makefile.in \ |
---|
59 | ${worksrcpath}/gksu2/Makefile.in \ |
---|
60 | ${worksrcpath}/gtkhtml2/Makefile.in \ |
---|
61 | ${worksrcpath}/gtkspell/Makefile.in |
---|
62 | reinplace "s|-export-symbols-regex.*|\\\\|g" \ |
---|
63 | ${worksrcpath}/gtkmozembed/Makefile.in |
---|
64 | } |
---|
65 | } |
---|
66 | |
---|
67 | livecheck.check regex |
---|
68 | livecheck.url http://ftp.gnome.org/pub/gnome/sources/${myname}/${branch}/ |
---|
69 | livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)} |
---|