libsigc++ implements a full callback system for use in widget libraries, abstract interfaces, and general programming. Originally part of the Gtk-- widget set, libsigc++ is now a separate library to provide for more general use. It is the most complete library of its kind with the ability to connect an abstract callback to a class method, function, or function object. It contains adaptor classes for connection of dissimilar callbacks and has an ease of use unmatched by other C++ callback libraries. This is major version 3 of the library.
32 lines
831 B
Makefile
32 lines
831 B
Makefile
# $NetBSD: Makefile,v 1.1 2019/11/07 13:17:42 wiz Exp $
|
|
|
|
DISTNAME= libsigc++-3.0.0
|
|
PKGNAME= ${DISTNAME:S/-/3-/}
|
|
CATEGORIES= devel gnome
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libsigc++/${PKGVERSION_NOREV:R}/}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://libsigc.sourceforge.net/
|
|
COMMENT= Type-safe callback system for C++ programs
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
USE_LANGUAGES= c c++11
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gm4 gmake perl:build
|
|
GNU_CONFIGURE= yes
|
|
PKGCONFIG_OVERRIDE= sigc++.pc.in
|
|
|
|
GCC_REQD+= 4.8
|
|
|
|
TEST_TARGET= check
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")
|
|
CONFIGURE_ARGS+= --disable-threads
|
|
.endif
|
|
|
|
BUILDLINK_API_DEPENDS.mm-common+= mm-common>=0.9.10
|
|
.include "../../devel/mm-common/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|