summaryrefslogtreecommitdiff
path: root/sysutils/cmocka/Makefile
blob: f697256d6d6ed93b5f5157e6a8ac9621d4c2766e (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
# $FreeBSD$

PORTNAME=	cmocka
PORTVERSION=	1.1.1
PORTREVISION=	1
CATEGORIES=	sysutils
MASTER_SITES=	https://cmocka.org/files/1.1/ \
		LOCAL/dteske

MAINTAINER=	dteske@FreeBSD.org
COMMENT=	Unit testing framework for C with support for mock objects

LICENSE=	APACHE20

USES=		cmake:outsource tar:xz
USE_LDCONFIG=	yes

PLIST_FILES=	include/cmocka.h \
		include/cmocka_pbc.h \
		lib/cmake/cmocka/cmocka-config-version.cmake \
		lib/cmake/cmocka/cmocka-config.cmake \
		lib/libcmocka.so \
		lib/libcmocka.so.0 \
		lib/libcmocka.so.0.4.1 \
		libdata/pkgconfig/cmocka.pc

OPTIONS_DEFINE=	STATIC

STATIC_CMAKE_BOOL=	WITH_STATIC_LIB
STATIC_PLIST_FILES=	lib/libcmocka.a

.include <bsd.port.mk>