source: trunk/dports/gnome/py26-gtkhtml2/Portfile @ 126945

Last change on this file since 126945 was 123655, checked in by elelay@…, 5 years ago

gnome-python26-extras, etc.: nomaintainer

  • 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 123655 2014-08-12 06:00:57Z elelay@macports.org $
3
4PortSystem          1.0
5
6name                py26-gtkhtml2
7version             2.25.3
8revision            2
9
10categories          gnome python
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:py26-pygtk\
34                                        port:libgtkhtml
35
36patchfiles          patch-configure.diff
37
38configure.args-append   --disable-allbindings --enable-gtkhtml2
39
40set python.branch   2.6
41set python.prefix   ${frameworks_dir}/Python.framework/Versions/${python.branch}
42set python.bin      ${python.prefix}/bin/python${python.branch}
43
44configure.args-append       --prefix=${python.prefix}
45configure.pkg_config_path   ${python.prefix}/lib/pkgconfig
46
47configure.python        ${python.bin}
48configure.env-append    PYGTK_CODEGEN=${python.prefix}/bin/pygobject-codegen-2.0
49
50post-destroot {
51        file delete "${destroot}/${python.prefix}/lib/pkgconfig/gnome-python-extras-2.0.pc"
52}
53
54platform darwin 9 {
55    post-patch {
56        reinplace "s|-export-symbols-regex.*||g" \
57            ${worksrcpath}/gtkhtml2/Makefile.in \
58    }
59}
60
61livecheck.type      gnome-with-unstable
62livecheck.name      ${myname}
Note: See TracBrowser for help on using the repository browser.