# -*- 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
# as of version 2.99.1 requires C++14 to build
PortGroup compiler_blacklist_versions 1.0
set branch [join [lrange [split ${version} .] 0 1] .]
maintainers {devans @dbevans} openmaintainer
description Typesafe callback framework for C++
long_description libsigc++ implements a typesafe callback system for standard C++. It allows \
you to define signals and to connect those signals to any callback function, \
either global or a member function, regardless of whether it is static or virtual. \
This is the libsigc++-3.0 API, which installs in parallel with libsigc++-2.0. \
The API is not significantly different, but the implementation is far simpler, \
using variadic templates instead of generating C++ code from .m4 filessystem.
homepage http://libsigc.sourceforge.net/
master_sites gnome:sources/${gname}/${branch}/
distname ${gname}-${version}
checksums rmd160 089a48a4209fe2a7e563d64e012248735d2169ae \
sha256 7628072c0afe5e3d7375877356c6009a9e4933800c1728424b1f2853aa35571c
depends_build port:pkgconfig \
# requires a compiler that supports C++14
compiler.blacklist-append {clang < 700}
configure.perl /usr/bin/perl
configure.args --enable-static \
# Teach glibtool about -stdlib=libc++
set docdir ${prefix}/share/doc/${gname}-3.0
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \
livecheck.type gnome-with-unstable