summaryrefslogtreecommitdiff
path: root/devel/cmocka/Makefile
blob: 48d212c3bd61152a6fde9820ef494df42df2e714 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $NetBSD: Makefile,v 1.4 2016/08/06 15:03:30 mef Exp $

DISTNAME=	cmocka-1.0.1
CATEGORIES=	devel
MASTER_SITES=	https://cmocka.org/files/1.0/
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://cmocka.org/files/1.0/
COMMENT=	Unit testing framework for C supporing mock objects
LICENSE=	apache-2.0

USE_CMAKE=	yes
WRKSRC=		${WRKDIR}/${DISTNAME}/build
CMAKE_ARG_PATH=	${WRKDIR}/${DISTNAME}

post-extract:
		mkdir -p ${WRKSRC}
		rm -f ${WRKDIR}/${DISTNAME}/CMakeCache.txt

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