blob: e29409d9728d21f29326fa72ce1d94dd52300539 (
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
|
PORTNAME= cmocka
PORTVERSION= 1.1.5
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 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.7.0 \
libdata/pkgconfig/cmocka.pc
OPTIONS_DEFINE= STATIC
STATIC_CMAKE_BOOL= WITH_STATIC_LIB
STATIC_PLIST_FILES= lib/libcmocka.a
post-install-STATIC-on:
@${MV} "${STAGEDIR}${PREFIX}/lib/libcmocka-static.a" "${STAGEDIR}${PREFIX}/lib/libcmocka.a"
.include <bsd.port.mk>
|