Created attachment 157469 [details] shell archive The Google JsonNet for PHP. Jsonnet language, from its most basic features to its powerful object model, punctuated with examples drawn from the world of cocktails. These examples are meant to be fun, and although a little contrived, do not restrict our thinking to any one particular application of Jsonnet. WWW: https://pecl.php.net/package/jsonnet Depends on #200671
Created attachment 157470 [details] testport result
It comes with two patches in order to fix build on FreeBSD. 1. Use system jsonnet instead of bundle. 2. pecl-JsonNet 1.0.0 is based on jsonnet 0.7.5. As #200671, The latest version of jsonnet is 0.7.6. pecl-JsonNet won't build on jsonnet 0.7.6 without modify, because JSONNET_VERSION is renamed to LIB_JSONNET_VERSION on 0.7.6, So use function jsonnet_version() instead.
A commit references this bug: Author: pawel Date: Wed Oct 28 18:05:04 UTC 2015 New revision: 400405 URL: https://svnweb.freebsd.org/changeset/ports/400405 Log: The Google JsonNet for PHP. Jsonnet language, from its most basic features to its powerful object model, punctuated with examples drawn from the world of cocktails. These examples are meant to be fun, and although a little contrived, do not restrict our thinking to any one particular application of Jsonnet. WWW: https://pecl.php.net/package/jsonnet PR: 200676 Submitted by: Gasol Wu <gasol.wu@gmail.com> Changes: head/devel/Makefile head/devel/pecl-jsonnet/ head/devel/pecl-jsonnet/Makefile head/devel/pecl-jsonnet/distinfo head/devel/pecl-jsonnet/files/ head/devel/pecl-jsonnet/files/patch-config.m4 head/devel/pecl-jsonnet/files/patch-jsonnet.c head/devel/pecl-jsonnet/pkg-descr