# -*- 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

PortSystem          1.0

name                libgdamm5
set gname           libgdamm
version             4.99.11
license             LGPL-2.1
set branch          [join [lrange [split ${version} .] 0 1] .]

description         C++ wrappers for libgda5.
long_description    ${description}

maintainers         {devans @dbevans} openmaintainer
categories          gnome
 
homepage            http://www.gtkmm.org/
master_sites        gnome:sources/${gname}/${branch}/

dist_subdir         ${gname}
distname            ${gname}-${version}

use_xz              yes

checksums           rmd160  c4a0201b609b7ea1f9fae57d225a19d1caf12882 \
                    sha256  e9820070a1b258fbdfa9b6583d97dfdb1340c90bb353c5f5e21522375609d0bb \
                    size    1605420

depends_build       path:bin/pkg-config:pkgconfig

depends_lib         path:lib/pkgconfig/glibmm-2.68.pc:glibmm \
                    port:libgda5

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

configure.perl      /usr/bin/perl

configure.args      --disable-documentation \
                    --disable-silent-rules

variant docs description {Install documentation} {
        configure.args-replace --disable-documentation --enable-documentation
}

default_variants    +docs

livecheck.type      gnome-with-unstable
livecheck.name      ${gname}