svn commit: r408283 - in head/devel: . pecl-json_post
Vanilla I. Shu
vanilla at FreeBSD.org
Sat Feb 6 04:53:39 UTC 2016
Author: vanilla
Date: Sat Feb 6 04:53:37 2016
New Revision: 408283
URL: https://svnweb.freebsd.org/changeset/ports/408283
Log:
Add pecl-json_post 1.0.1, JSON POST handler in PHP.
PR: 206885
Submitted by: Gasol Wu <gasol.wu at gmail.com>
Added:
head/devel/pecl-json_post/
head/devel/pecl-json_post/Makefile (contents, props changed)
head/devel/pecl-json_post/distinfo (contents, props changed)
head/devel/pecl-json_post/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sat Feb 6 04:42:41 2016 (r408282)
+++ head/devel/Makefile Sat Feb 6 04:53:37 2016 (r408283)
@@ -3687,6 +3687,7 @@
SUBDIR += pecl-inotify
SUBDIR += pecl-intl
SUBDIR += pecl-jsmin
+ SUBDIR += pecl-json_post
SUBDIR += pecl-jsonc
SUBDIR += pecl-jsond
SUBDIR += pecl-jsonnet
Added: head/devel/pecl-json_post/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/pecl-json_post/Makefile Sat Feb 6 04:53:37 2016 (r408283)
@@ -0,0 +1,22 @@
+# Created by: Gasol Wu <gasol.wu at gmail.com>
+# $FreeBSD$
+
+PORTNAME= json_post
+PORTVERSION= 1.0.1
+CATEGORIES= devel
+MASTER_SITES= http://pecl.php.net/get/
+PKGNAMEPREFIX= pecl-
+DIST_SUBDIR= PECL
+
+MAINTAINER= gasol.wu at gmail.com
+COMMENT= JSON POST handler in PHP
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= tar:tgz
+USE_PHP= json
+USE_PHP_BUILD= yes
+USE_PHPEXT= yes
+
+.include <bsd.port.mk>
Added: head/devel/pecl-json_post/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/pecl-json_post/distinfo Sat Feb 6 04:53:37 2016 (r408283)
@@ -0,0 +1,2 @@
+SHA256 (PECL/json_post-1.0.1.tgz) = c802451b1db79243a0d690051163d2a8801f5429e490644907fa1c9ece990e71
+SIZE (PECL/json_post-1.0.1.tgz) = 4712
Added: head/devel/pecl-json_post/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/pecl-json_post/pkg-descr Sat Feb 6 04:53:37 2016 (r408283)
@@ -0,0 +1,6 @@
+This extension provides a PHP content type handler for "application/json" and
+"text/json" to PHP's form data parser. If the `Content-Type` of an incoming
+request is `text/json`, the JSON contents of the request body will by parsed
+into `$_POST`.
+
+WWW: https://pecl.php.net/package/json_post
More information about the svn-ports-head
mailing list