freebsd-ports/devel/libcbor/Makefile
Sunpoet Po-Chuan Hsieh 586450383e Add libcbor 0.5.0
libcbor is a C library for parsing and generating CBOR, the general-purpose
schema-less binary data format.

Main features:
- Complete RFC conformance
- Robust C99 implementation
- Layered architecture offers both control and convenience
- Flexible memory management
- No shared global state - threading friendly
- Proper handling of UTF-8
- Full support for streams & incremental processing
- Extensive documentation and test suite
- No runtime dependencies, small footprint

WWW: http://libcbor.org/
2019-02-15 23:25:09 +00:00

28 lines
596 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= libcbor
PORTVERSION= 0.5.0
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= CBOR protocol implementation for C and others
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 WITH_TESTS
CMAKE_ON= CBOR_PRETTY_PRINTER
GH_ACCOUNT= PJK
USE_GITHUB= yes
post-patch:
@${REINPLACE_CMD} -e 's|-flto||; /subdirs(examples)/d' ${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>