source: trunk/dports/gnome/py27-gtkspell/Portfile @ 80071

Last change on this file since 80071 was 80071, checked in by jeremyhu@…, 6 years ago

gnome: Add python27 versions of various gnome ports

Based on python26 versions

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