source: trunk/dports/gnome/py26-eggtrayicon/Portfile @ 104738

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

py*-{eggtrayicon,gda,gdl}: switch to gnome livecheck group

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 104738 2013-04-01 22:22:16Z cal@macports.org $
3
4PortSystem          1.0
5
6name                py26-eggtrayicon
7version             2.25.3
8revision            1
9
10categories          gnome python
11platforms           darwin
12maintainers         elelay
13
14description         "Extra" Python modules for some GNOME Desktop libraries.
15long_description    ${description}
16
17homepage            http://www.pygtk.org/
18
19set myname          gnome-python-extras
20set branch          [join [lrange [split ${version} .] 0 1] .]
21
22master_sites        gnome:sources/${myname}/${branch}
23distname            ${myname}-${version}
24dist_subdir         ${myname}
25
26checksums           md5     9f3b7ec5c57130b96061cb486b79c076 \
27                    sha1    e69e5288466c960ed6f985bb10c9969b21ed85a4 \
28                    rmd160  e09bc0152512e2caa61626a7dc788d7336f24e46
29
30use_bzip2           yes
31
32depends_build       port:pkgconfig
33depends_lib         port:py26-pygtk
34
35patchfiles          patch-configure.diff
36
37configure.args-append   --disable-allbindings --enable-eggtray
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=${python.prefix}/bin/pygobject-codegen-2.0
48
49post-destroot {
50        file delete "${destroot}/${python.prefix}/lib/pkgconfig/gnome-python-extras-2.0.pc"
51}
52
53platform darwin 9 {
54    post-patch {
55        reinplace "s|-export-symbols-regex.*||g" \
56            ${worksrcpath}/egg/tray/Makefile.in \
57    }
58}
59
60livecheck.type      gnome-with-unstable
61livecheck.name      ${myname}
Note: See TracBrowser for help on using the repository browser.