2020-08-17 22:17:15 +02:00
|
|
|
# $NetBSD: Makefile,v 1.71 2020/08/17 20:18:23 leot Exp $
|
2010-12-21 12:27:57 +01:00
|
|
|
#
|
|
|
|
|
2014-05-31 10:10:48 +02:00
|
|
|
DISTNAME= cutter-1.2.4
|
2020-08-17 22:17:15 +02:00
|
|
|
PKGREVISION= 28
|
2010-12-21 12:27:57 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cutter/}
|
|
|
|
|
2015-03-15 18:30:24 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2020-03-20 12:57:22 +01:00
|
|
|
HOMEPAGE= http://cutter.sourceforge.net/
|
2010-12-21 12:27:57 +01:00
|
|
|
COMMENT= Unit Testing Framework for C and C++
|
|
|
|
LICENSE= gnu-lgpl-v3
|
|
|
|
|
2019-11-03 11:39:04 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_TOOLS+= gmake intltool pkg-config xgettext msgmerge msgfmt
|
|
|
|
USE_LANGUAGES= c c++
|
2010-12-21 12:27:57 +01:00
|
|
|
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"
|
|
|
|
|
2013-06-17 12:03:41 +02:00
|
|
|
.include "../../mk/compiler.mk"
|
2014-02-08 13:14:32 +01:00
|
|
|
# PR#lib/39986
|
|
|
|
.if !empty(CC_VERSION:Mgcc*) && !empty(MACHINE_PLATFORM:MNetBSD-[0-5].*-*)
|
2010-12-21 12:27:57 +01:00
|
|
|
LDFLAGS.NetBSD+= -lgcc_s
|
2013-06-17 12:03:41 +02:00
|
|
|
.endif
|
2010-12-21 12:27:57 +01:00
|
|
|
|
|
|
|
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.16.0
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|