aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-03-04 21:49:20 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-03-04 21:49:20 +0800
commit7d7073559b9c9c2fb24b67295c40fe184b71c149 (patch)
treed9bbc7d5494646aac291e3995a5ace2645daaa5d /www
parent9ce47eac689d172683b657630a561d29b2ce0327 (diff)
downloadfreebsd-ports-gnome-7d7073559b9c9c2fb24b67295c40fe184b71c149.tar.gz
freebsd-ports-gnome-7d7073559b9c9c2fb24b67295c40fe184b71c149.tar.zst
freebsd-ports-gnome-7d7073559b9c9c2fb24b67295c40fe184b71c149.zip
Add pecl-yar1 1.2.5 (copied from pecl-yar)
- Use USES=localbase - Update MSGPACK option - While I'm here, update IGNORE_WITH_PHP PR: 217522 Submitted by: John Chen <johnpupu@gmail.com> (maintainer)
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/pecl-yar1/Makefile26
-rw-r--r--www/pecl-yar1/distinfo2
-rw-r--r--www/pecl-yar1/pkg-descr4
4 files changed, 33 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 488d8e64123f..eda1be1da5f5 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1461,6 +1461,7 @@
SUBDIR += pecl-yaf
SUBDIR += pecl-yaf2
SUBDIR += pecl-yar
+ SUBDIR += pecl-yar1
SUBDIR += perlbal
SUBDIR += pglogd
SUBDIR += phalcon
diff --git a/www/pecl-yar1/Makefile b/www/pecl-yar1/Makefile
new file mode 100644
index 000000000000..d1371965088d
--- /dev/null
+++ b/www/pecl-yar1/Makefile
@@ -0,0 +1,26 @@
+# Created by: John Chen <johnpupu@gmail.com>
+# $FreeBSD$
+
+PORTNAME= yar
+PORTVERSION= 1.2.5
+PORTREVISION= 1
+CATEGORIES= www
+MASTER_SITES= http://pecl.php.net/get/
+PKGNAMEPREFIX= pecl-
+DIST_SUBDIR= PECL
+
+MAINTAINER= johnpupu@gmail.com
+COMMENT= Yar (Yet another RPC framework) is a light, concurrent RPC framework
+
+LICENSE= PHP301
+
+USES= localbase php:ext tar:tgz
+USE_PHP= json:build curl:build
+IGNORE_WITH_PHP=70 71
+
+OPTIONS_DEFINE= MSGPACK
+MSGPACK_DESC= Enable MSGPACK module
+MSGPACK_BUILD_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/msgpack.so:devel/pecl-msgpack0
+MSGPACK_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/msgpack.so:devel/pecl-msgpack0
+
+.include <bsd.port.mk>
diff --git a/www/pecl-yar1/distinfo b/www/pecl-yar1/distinfo
new file mode 100644
index 000000000000..6ca55ee6fd12
--- /dev/null
+++ b/www/pecl-yar1/distinfo
@@ -0,0 +1,2 @@
+SHA256 (PECL/yar-1.2.5.tgz) = b3531c9588567cac3274f37d6eae4120c8bd3bf767ca8a0f7295c2038eec182d
+SIZE (PECL/yar-1.2.5.tgz) = 38595
diff --git a/www/pecl-yar1/pkg-descr b/www/pecl-yar1/pkg-descr
new file mode 100644
index 000000000000..46940b58c955
--- /dev/null
+++ b/www/pecl-yar1/pkg-descr
@@ -0,0 +1,4 @@
+Yar (Yet another RPC framework) is a light, concurrent RPC framework,
+supports multi package protocols (json, msgpack)
+
+WWW: https://pecl.php.net/package/yar