source: trunk/dports/gnome/goocanvas2/Portfile

Last change on this file was 132100, checked in by devans@…, 2 years ago

goocanvas2: use gobject_introspection portgroup.

  • 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 132100 2015-01-23 13:38:43Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           gobject_introspection 1.0
6
7name                goocanvas2
8set gname           goocanvas
9version             2.0.2
10revision            2
11set branch          [join [lrange [split ${version} .] 0 1] .]
12description         A Cairo Canvas Widget for GTK+ version 3
13long_description    GooCanvas is a canvas widget for GTK+ version 3 that uses the cairo 2D library \
14                    for drawing.
15maintainers         devans openmaintainer
16categories          gnome
17license             LGPL
18platforms           darwin
19homepage            https://wiki.gnome.org/Projects/GooCanvas
20master_sites        gnome:sources/${gname}/${branch}/
21
22distname            ${gname}-${version}
23
24use_xz              yes
25
26checksums           rmd160  4441441652a407bd493504c050b989c0990b0413 \
27                    sha256  f20e5fbef8d1a2633033edbd886dd13146a1b948d1813a9c353a80a29295d1d0
28
29depends_build       port:pkgconfig \
30                    port:gettext
31
32depends_lib         port:gtk3
33
34patchfiles          patch-configure.diff
35
36gobject_introspection yes
37
38configure.args      --enable-python=no
39
40# doesn't support python3 yet
41
42variant python27 conflicts python34 description {Build Python bindings using Python 2.7} {
43    set python_prefix           ${frameworks_dir}/Python.framework/Versions/2.7
44    configure.args-replace      --enable-python=no --enable-python=yes
45    configure.python            ${prefix}/bin/python2.7
46    configure.pkg_config_path   ${python_prefix}/lib/pkgconfig
47    depends_lib-append          port:py27-gobject3
48}
49
50default_variants +python27
51
52livecheck.type      gnome
53livecheck.name      ${gname}
Note: See TracBrowser for help on using the repository browser.