117f4fd534
- Bump PORTREVISION for package change Changes: https://github.com/DaveGamble/cJSON/commits/master Reference: https://github.com/DaveGamble/cJSON/commit/5cc0e39f42dfe28cb8541f95fa2c513f0d550210 https://github.com/DaveGamble/cJSON/commit/b2890c8d76bbb64e710585ebc0a917196b9c67e7 https://github.com/DaveGamble/cJSON/commit/fb16e5cf358798aabb049655975cde8427101056
48 lines
987 B
Makefile
48 lines
987 B
Makefile
PORTNAME= libcjson
|
|
PORTVERSION= 1.7.19
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Ultralightweight JSON parser in ANSI C
|
|
WWW= https://github.com/DaveGamble/cJSON
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= cmake:testing cpe compiler:c11
|
|
|
|
CMAKE_OFF= CJSON_OVERRIDE_BUILD_SHARED_LIBS \
|
|
ENABLE_CJSON_TEST \
|
|
ENABLE_CUSTOM_COMPILER_FLAGS \
|
|
ENABLE_HIDDEN_SYMBOLS \
|
|
ENABLE_SAFE_STACK \
|
|
ENABLE_SANITIZERS
|
|
CMAKE_ON= BUILD_SHARED_AND_STATIC_LIBS \
|
|
BUILD_SHARED_LIBS \
|
|
CJSON_BUILD_SHARED_LIBS \
|
|
ENABLE_CJSON_UNINSTALL \
|
|
ENABLE_CJSON_UTILS \
|
|
ENABLE_CJSON_VERSION_SO \
|
|
ENABLE_LOCALES \
|
|
ENABLE_PUBLIC_SYMBOLS \
|
|
ENABLE_TARGET_EXPORT
|
|
CMAKE_TESTING_ON= \
|
|
ENABLE_CJSON_TEST \
|
|
ENABLE_SAFE_STACK
|
|
USE_CSTD= c11
|
|
USE_LDCONFIG= yes
|
|
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= DaveGamble
|
|
GH_PROJECT= cJSON
|
|
GH_TAGNAME= fb16e5c
|
|
|
|
CPE_VENDOR= davegamble
|
|
CPE_PRODUCT= cjson
|
|
|
|
.include <bsd.port.mk>
|