blob: 7b74a3fd3b96edaa29b8f59ebb5faccc6d4f982e (
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
40
41
42
43
|
# $NetBSD: Makefile,v 1.37 2014/04/09 07:27:05 obache Exp $
#
DISTNAME= cutter-1.2.3
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cutter/}
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://cutter.sourceforge.net/
COMMENT= Unit Testing Framework for C and C++
LICENSE= gnu-lgpl-v3
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake intltool pkg-config xgettext msgmerge msgfmt
USE_LANGUAGES= c c++
USE_PKGLOCALEDIR= yes
PKGCONFIG_OVERRIDE+= cppcutter.pc.in
PKGCONFIG_OVERRIDE+= cutter.pc.in
PKGCONFIG_OVERRIDE+= gcutter.pc.in
PKGCONFIG_OVERRIDE+= gdkcutter-pixbuf.pc.in
PKGCONFIG_OVERRIDE+= libcutter.pc.in
PKGCONFIG_OVERRIDE+= soupcutter.pc.in
TEST_TARGET= check
.include "options.mk"
.include "../../mk/compiler.mk"
# PR#lib/39986
.if !empty(CC_VERSION:Mgcc*) && !empty(MACHINE_PLATFORM:MNetBSD-[0-5].*-*)
LDFLAGS.NetBSD+= -lgcc_s
.endif
# needed to use C code with C++ exception
.if !empty(CC_VERSION:Mgcc*) || !empty(CC_VERSION:Mclang*)
CFLAGS+= -fexceptions
.endif
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.16.0
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|