27 lines
481 B
Makefile
27 lines
481 B
Makefile
|
COMMENT= JSON implementation in C
|
||
|
|
||
|
DISTNAME= json-c-0.16
|
||
|
CATEGORIES= devel
|
||
|
|
||
|
SHARED_LIBS= json-c 2.0
|
||
|
|
||
|
HOMEPAGE= https://github.com/json-c/json-c/wiki
|
||
|
|
||
|
# MIT
|
||
|
PERMIT_PACKAGE= Yes
|
||
|
|
||
|
MASTER_SITES = https://s3.amazonaws.com/json-c_releases/releases/
|
||
|
|
||
|
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>
|