source: trunk/dports/gnome/py27-gdl/Portfile

Last change on this file was 115235, checked in by devans@…, 4 years ago

various ports: rebuild to remove references to libpng15.

  • 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 115235 2013-12-29 19:42:00Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                py27-gdl
7version             2.25.3
8revision            1
9
10categories          gnome python
11license             LGPL-2.1+
12platforms           darwin
13maintainers         nomaintainer
14
15description         "Extra" Python modules for some GNOME Desktop libraries.
16long_description    ${description}
17
18homepage            http://www.pygtk.org/
19
20set myname          gnome-python-extras
21set branch          [join [lrange [split ${version} .] 0 1] .]
22
23master_sites        gnome:sources/${myname}/${branch}
24distname            ${myname}-${version}
25dist_subdir         ${myname}
26
27checksums           md5     9f3b7ec5c57130b96061cb486b79c076 \
28                    sha1    e69e5288466c960ed6f985bb10c9969b21ed85a4 \
29                    rmd160  e09bc0152512e2caa61626a7dc788d7336f24e46
30
31use_bzip2           yes
32
33depends_build       port:pkgconfig
34depends_lib         port:py27-gnome \
35                    port:gdl
36
37patchfiles          patch-configure.diff\
38                    patch-gdl-gdl-defs.diff
39
40configure.args-append   --disable-allbindings --enable-gdl
41
42set python.branch   2.7
43set python.prefix   ${frameworks_dir}/Python.framework/Versions/${python.branch}
44set python.bin      ${python.prefix}/bin/python${python.branch}
45
46configure.args-append       --prefix=${python.prefix}
47configure.pkg_config_path   ${python.prefix}/lib/pkgconfig
48
49configure.python        ${python.bin}
50configure.env-append    PYGTK_CODEGEN=${python.prefix}/bin/pygobject-codegen-2.0
51
52post-destroot {
53        file delete "${destroot}/${python.prefix}/lib/pkgconfig/gnome-python-extras-2.0.pc"
54}
55
56platform darwin 9 {
57    post-patch {
58        reinplace "s|-export-symbols-regex.*||g" \
59            ${worksrcpath}/gdl/Makefile.in
60    }
61}
62
63livecheck.type      gnome-with-unstable
64livecheck.name      ${myname}
Note: See TracBrowser for help on using the repository browser.