2016-12-01 23:24:27 +01:00
|
|
|
# $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 \
|
|
|
|
lib/pkgconfig/cmocka.pc
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= STATIC
|
|
|
|
|
2016-12-03 18:31:40 +01:00
|
|
|
STATIC_CMAKE_BOOL= WITH_STATIC_LIB
|
2016-12-01 23:24:27 +01:00
|
|
|
STATIC_PLIST_FILES= lib/libcmocka.a
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|