source: trunk/dports/gnome/py27-gtkhtml2/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-gtkhtml2
7version             2.25.3
8revision            2
9
10categories          gnome python
11license             LGPL
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-pygtk\
35                                        port:libgtkhtml
36
37patchfiles          patch-configure.diff
38
39configure.args-append   --disable-allbindings --enable-gtkhtml2
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}/gtkhtml2/Makefile.in \
59    }
60}
61
62livecheck.type      gnome-with-unstable
63livecheck.name      ${myname}
Note: See TracBrowser for help on using the repository browser.