1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/sysutils/cmocka/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

33 lines
764 B
Makefile

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>