freebsd-ports/devel/libcbor/Makefile
2023-01-30 20:59:01 +08:00

25 lines
556 B
Makefile

PORTNAME= libcbor
PORTVERSION= 0.10.1
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= CBOR protocol implementation for C and others
WWW= https://github.com/PJK/libcbor
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
LIB_DEPENDS= libcjson.so:devel/libcjson
USES= cmake
CMAKE_OFF= CBOR_CUSTOM_ALLOC COVERAGE HUGE_FUZZ PRINT_FUZZ SANE_MALLOC SANITIZE WITH_EXAMPLES WITH_TESTS
CMAKE_ON= BUILD_SHARED_LIBS CBOR_PRETTY_PRINTER
PLIST_SUB= PORTVERSION=${PORTVERSION}
GH_ACCOUNT= PJK
USE_GITHUB= yes
.include <bsd.port.mk>