mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
badf8438fa
- Use USES=pathfix to fix .pc installation Changes: https://github.com/PJK/libcbor/releases
26 lines
598 B
Makefile
26 lines
598 B
Makefile
PORTNAME= libcbor
|
|
PORTVERSION= 0.11.0
|
|
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 pathfix
|
|
|
|
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 CMAKE_SKIP_INSTALL_ALL_DEPENDENCY
|
|
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
|
|
|
GH_ACCOUNT= PJK
|
|
USE_GITHUB= yes
|
|
|
|
.include <bsd.port.mk>
|