summaryrefslogtreecommitdiff
path: root/devel/libsigc++/Makefile
blob: 1b8e9c1665322e1c85fb518b6ee2db92400dbe10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# $NetBSD: Makefile,v 1.30 2008/10/16 21:49:12 wiz Exp $

DISTNAME=	libsigc++-2.2.3
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GNOME:=sources/libsigc++/2.2/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	bsieker@freenet.de
HOMEPAGE=	http://libsigc.sourceforge.net/
COMMENT=	Type-safe callback system for C++ programs

PKG_DESTDIR_SUPPORT=	user-destdir

USE_LANGUAGES=		c c++
USE_LIBTOOL=		yes
USE_TOOLS+=		gm4 gmake
GNU_CONFIGURE=		yes

CONFLICTS+=		libsigc++2-[0-9]*

# supported according to the file README
GCC_REQD+=		3.2
# use something that can extract long filenames in GNU format on NetBSD 1.6.x
EXTRACT_USING=		bsdtar

PKGCONFIG_OVERRIDE=	sigc++-2.0.pc.in

.include "../../mk/pthread.buildlink3.mk"

.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")
CONFIGURE_ARGS+=	--disable-threads
.endif

INSTALLATION_DIRS= include/sigc++-2.0/sigc++/adaptors/lambda/macros \
	include/sigc++-2.0/sigc++/adaptors/macros \
	include/sigc++-2.0/sigc++/functors/macros \
	include/sigc++-2.0/sigc++/macros

.include "../../mk/bsd.pkg.mk"