aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cmocka/Makefile
blob: d2eaacaa276b04c2faab8cf31ac0a1b99cf48761 (plain) (blame)
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
# $FreeBSD$

PORTNAME=   cmocka
PORTVERSION=    1.1.0
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.0 \
        libdata/pkgconfig/cmocka.pc

OPTIONS_DEFINE= STATIC

STATIC_CMAKE_BOOL=  WITH_STATIC_LIB
STATIC_PLIST_FILES= lib/libcmocka.a

.include <bsd.port.mk>