Files
ports/devel/msgpack-c/Makefile
T
Adam Weinberger 0d152de12d devel/msgpack-c: Update to 5.0.0
The cmake package name has been changed from `msgpack' to `msgpackc'
which might break consumers.
2023-01-10 10:13:15 -07:00

35 lines
669 B
Makefile

PORTNAME= msgpack
PORTVERSION= 5.0.0
DISTVERSIONPREFIX= c-
CATEGORIES= devel
PKGNAMESUFFIX= -c
MAINTAINER= adamw@FreeBSD.org
COMMENT= Efficient binary serialization, like JSON but smaller and faster
WWW= https://msgpack.org/
LICENSE= BSL
LICENSE_FILE= ${WRKSRC}/LICENSE_1_0.txt
TEST_DEPENDS= googletest>0:devel/googletest
USES= cmake pathfix
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_PROJECT= msgpack-c
CMAKE_OFF= MSGPACK_BUILD_EXAMPLES
TEST_TARGET= test
.include <bsd.port.options.mk>
.if ${ARCH} == "sparc64"
# required for __sync _* atomic operations on sparc
USE_GCC= yes
.endif
pre-test:
cd ${WRKSRC} && ${CMAKE_BIN} . && ${MAKE_CMD}
.include <bsd.port.mk>