freebsd-ports/sysutils/cmocka/Makefile
Mathieu Arnold 9de6aff58e Add a fixup-lib-pkgconfig target to move files in lib/pkgconfig into
libdata/pkgconfig.

Fix ports that where installing the file in the wrong place.

PR:		218067
Submitted by:	mat
Exp-run by:	antoine
Reviewed by:	rene, antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D10129
2017-06-06 16:38:00 +00:00

31 lines
668 B
Makefile

# $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>