# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           compiler_blacklist_versions 1.0

name                goocanvasmm2
set gname           goocanvasmm
version             1.90.11
revision            2

categories          gnome devel
license             LGPL-2.1
maintainers         {devans @dbevans} {mascguy @mascguy} openmaintainer

description         C++ wrappers for goocanvas2
long_description    ${description}
homepage            https://wiki.gnome.org/Projects/GooCanvas

set branch          [join [lrange [split ${version} .] 0 1] .]
master_sites        gnome:sources/${gname}/${branch}/
distname            ${gname}-${version}
use_xz              yes

checksums           rmd160  3435391b9f3c8c3eb7a7e87d2db193726a4e71cb \
                    sha256  80ff11873ec0e73d9e38b0eb2ffb1586621f0b804093b990e49fdb546476ed6e \
                    size    1317976

depends_build-append \
                    port:pkgconfig

depends_lib-append \
                    port:gtkmm3 \
                    port:goocanvas2

# requires C++11 as of version 1.90.10
compiler.cxx_standard 2011

# Undefined symbols for architecture x86_64:
#  "std::__1::__vector_base_common<true>::__throw_length_error() const"
compiler.blacklist-append \
                    {clang < 600}

configure.perl      /usr/bin/perl

livecheck.type      gnome
livecheck.name      ${gname}
