Files
ports/devel/jsoncpp/Makefile
Yuri Victorovich db057df1ce devel/jsoncpp: Update 1.9.2 -> 1.9.3
Add support for "make test".

PR:		246953
Submitted by:	daniel.engberg.lists@pyret.net
2020-06-30 02:16:10 +00:00

27 lines
549 B
Makefile

# Created by: Johan Str??m <johan@stromnet.se>
# $FreeBSD$
PORTNAME= jsoncpp
PORTVERSION= 1.9.3
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= JSON reader and writer library for C++
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler:c++11-lang meson pkgconfig python:3.6+,build,test
USE_GITHUB= yes
GH_ACCOUNT= open-source-parsers
MESON_ARGS= --default-library=both
USE_LDCONFIG= yes
TEST_TARGET= test
post-patch:
@${REINPLACE_CMD} -e 's|python3|${PYTHON_VERSION}|g' \
${PATCH_WRKSRC}/meson.build
.include <bsd.port.mk>