source: trunk/dports/gnome/py27-gdl/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.9 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                py27-gdl
7version             2.25.3
8
9categories          gnome python
10license             LGPL-2.1+
11platforms           darwin
12maintainers         nomaintainer
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:py27-gnome \
34                    port:gdl
35
36patchfiles          patch-configure.diff\
37                    patch-gdl-gdl-defs.diff
38
39configure.args-append   --disable-allbindings --enable-gdl
40
41set python.branch   2.7
42set python.prefix   ${frameworks_dir}/Python.framework/Versions/${python.branch}
43set python.bin      ${python.prefix}/bin/python${python.branch}
44
45configure.args-append       --prefix=${python.prefix}
46configure.pkg_config_path   ${python.prefix}/lib/pkgconfig
47
48configure.python        ${python.bin}
49configure.env-append    PYGTK_CODEGEN=${python.prefix}/bin/pygobject-codegen-2.0
50
51post-destroot {
52        file delete "${destroot}/${python.prefix}/lib/pkgconfig/gnome-python-extras-2.0.pc"
53}
54
55platform darwin 9 {
56    post-patch {
57        reinplace "s|-export-symbols-regex.*||g" \
58            ${worksrcpath}/gdl/Makefile.in
59    }
60}
61
62livecheck.type      gnome-with-unstable
63livecheck.name      ${myname}
Note: See TracBrowser for help on using the repository browser.