Bug 200676 - [NEW PORT] devel/pecl-JsonNet: Google JsonNet for PHP
Summary: [NEW PORT] devel/pecl-JsonNet: Google JsonNet for PHP
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-06 14:11 UTC by Gasol Wu
Modified: 2015-10-28 18:05 UTC (History)
1 user (show)

See Also:


Attachments
shell archive (3.97 KB, text/plain)
2015-06-06 14:11 UTC, Gasol Wu
no flags Details
testport result (22.02 KB, text/plain)
2015-06-06 14:13 UTC, Gasol Wu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gasol Wu 2015-06-06 14:11:58 UTC
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
Comment 1 Gasol Wu 2015-06-06 14:13:18 UTC
Created attachment 157470 [details]
testport result
Comment 2 Gasol Wu 2015-06-06 14:38:22 UTC
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.
Comment 3 commit-hook freebsd_committer freebsd_triage 2015-10-28 18:05:57 UTC
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