2023-08-16 22:26:55 +00:00
|
|
|
COMMENT= JSON implementation in C
|
|
|
|
|
2023-09-08 05:21:37 +00:00
|
|
|
DISTNAME= json-c-0.17
|
2023-08-16 22:26:55 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
2023-09-08 05:21:37 +00:00
|
|
|
WANTLIB = m
|
|
|
|
|
|
|
|
SHARED_LIBS= json-c 2.1
|
2023-08-16 22:26:55 +00:00
|
|
|
|
|
|
|
HOMEPAGE= https://github.com/json-c/json-c/wiki
|
|
|
|
|
|
|
|
# MIT
|
|
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
|
2023-09-22 16:24:11 +00:00
|
|
|
SITES = https://s3.amazonaws.com/json-c_releases/releases/
|
2023-08-16 22:26:55 +00:00
|
|
|
|
|
|
|
MODULES= devel/cmake
|
|
|
|
|
|
|
|
CONFIGURE_ARGS= -DDISABLE_WERROR=ON
|
|
|
|
|
|
|
|
# evertyhing except tests
|
|
|
|
ALL_TARGET = json-c json-c-static
|
|
|
|
|
|
|
|
# build whatever is left (ca. 56 C test files)
|
|
|
|
pre-test:
|
|
|
|
@${MODCMAKE_BUILD_TARGET}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|