source: trunk/dports/gnome/gnome-python26-extras/Portfile @ 66506

Last change on this file since 66506 was 66506, checked in by elelay@…, 7 years ago

updated maintainer to macports handle

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
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: Portfile 66506 2010-04-15 16:47:39Z elelay@macports.org $
3
4PortSystem          1.0
5
6name                gnome-python26-extras
7version             2.25.3
8
9categories          gnome python
10platforms           darwin
11maintainers         elelay
12
13description         "Extra" Python modules for some GNOME Desktop libraries.
14long_description    ${description}
15
16homepage            http://www.pygtk.org/
17
18set myname          gnome-python-extras
19set branch          [join [lrange [split ${version} .] 0 1] .]
20
21master_sites        gnome:sources/${myname}/${branch}
22distname            ${myname}-${version}
23
24checksums           md5     9f3b7ec5c57130b96061cb486b79c076 \
25                    sha1    e69e5288466c960ed6f985bb10c9969b21ed85a4 \
26                    rmd160  e09bc0152512e2caa61626a7dc788d7336f24e46
27
28use_bzip2           yes
29
30depends_lib         port:py26-gnome \
31                    port:gdl \
32                    port:libgda4 \
33                    port:libgtkhtml \
34                    port:gtkspell2
35
36patchfiles          patch-pygobject \
37                    patch-configure.diff
38
39set python.branch   2.6
40set python.prefix   ${frameworks_dir}/Python.framework/Versions/${python.branch}
41set python.bin      ${python.prefix}/bin/python${python.branch}
42
43configure.args-append       --prefix=${python.prefix}
44configure.pkg_config_path   ${python.prefix}/lib/pkgconfig
45
46configure.python        ${python.bin}
47configure.env-append    PYGTK_CODEGEN=${frameworks_dir}/Python.framework/Versions/2.6/bin/pygtk-codegen-2.0
48
49platform darwin 9 {
50    post-patch {
51        reinplace "s|-export-symbols-regex.*||g" \
52            ${worksrcpath}/egg/recent/Makefile.in \
53            ${worksrcpath}/egg/tray/Makefile.in \
54            ${worksrcpath}/gda/Makefile.in \
55            ${worksrcpath}/gdl/Makefile.in \
56            ${worksrcpath}/gksu/Makefile.in \
57            ${worksrcpath}/gksu2/Makefile.in \
58            ${worksrcpath}/gtkhtml2/Makefile.in \
59            ${worksrcpath}/gtkspell/Makefile.in
60        reinplace "s|-export-symbols-regex.*|\\\\|g" \
61            ${worksrcpath}/gtkmozembed/Makefile.in
62    }
63}
64
65livecheck.type      regex
66livecheck.url       http://ftp.gnome.org/pub/gnome/sources/${myname}/${branch}/
67livecheck.regex     {LATEST-IS-(\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.