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

name            gnome-vfsmm
version         2.26.0
set branch      [join [lrange [split ${version} .] 0 1] .]
description     ${name} provides C++ wrappers for gnome-vfs
long_description \
                ${description}
maintainers     nomaintainer
categories      gnome
license         {LGPL-2.1+ GPL-2+}

homepage        https://www.gtkmm.org
master_sites    gnome:sources/${name}/${branch}/
use_bzip2       yes

checksums       rmd160  3181c6671c0af2e31c9a06a969e1754cae3167ca \
                sha256  d6a89fc82238bbfd6d3f7e44bcaee73dc197be98635be482a2d2df38ec0446d3 \
                size    628670

depends_build   path:bin/doxygen:doxygen \
                path:bin/dot:graphviz \
                path:bin/pkg-config:pkgconfig

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

# generate_extra_defs.h: error: expected nested-name-specifier before ‘GTypeIsAPointerFunc’
# Undefined symbols: "__Z8get_defsB5cxx11mPFbmE"
compiler.cxx_standard \
                2011
# error: ISO C++17 does not allow dynamic exception specifications
configure.cxxflags-append \
                -std=gnu++11

livecheck.type  gnome
