mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
31 lines
539 B
Makefile
31 lines
539 B
Makefile
COMMENT = ultralightweight JSON parser in ANSI C
|
|
|
|
GH_ACCOUNT = DaveGamble
|
|
GH_PROJECT = cJSON
|
|
GH_TAGNAME = v1.7.19
|
|
|
|
PKGNAME = ${DISTNAME:L}
|
|
|
|
SHARED_LIBS += cjson 0.0 # 0.0
|
|
|
|
CATEGORIES = devel
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += m
|
|
|
|
MODULES = devel/cmake
|
|
DEBUG_PACKAGES = ${BUILD_PACKAGES}
|
|
|
|
MODCMAKE_POLICY_VERSION_OVERRIDE = Yes
|
|
|
|
# everything except tests (needs changing or removing if building cJSON_Utils)
|
|
ALL_TARGET = cjson
|
|
|
|
# build whatever is left (ca. 43 C test files)
|
|
pre-test:
|
|
@${MODCMAKE_BUILD_TARGET}
|
|
|
|
.include <bsd.port.mk>
|