a1993564e0
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now flavored. They will automatically get flavors (php56, php70, php71, php72) depending of the versions they support (set with IGNORE_WITH_PHP). As a consequence, ports using USES=pear and USES=horde are also flavored. PR: 226242 Submitted by: mat Exp-run by: antoine Approved by: portmgr Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D14208
24 lines
633 B
Makefile
24 lines
633 B
Makefile
# Created by: John Chen <johnpupu@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= yar
|
|
DISTVERSION= 2.0.4
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= johnpupu@gmail.com
|
|
COMMENT= Yar (Yet another RPC framework) is a light, concurrent RPC framework
|
|
|
|
LICENSE= PHP301
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
IGNORE_WITH_PHP=56
|
|
|
|
USES= localbase php:pecl
|
|
USE_PHP= json:build curl:build
|
|
|
|
OPTIONS_DEFINE= MSGPACK
|
|
MSGPACK_DESC= Enable MSGPACK module
|
|
MSGPACK_BUILD_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/msgpack.so:devel/pecl-msgpack@${PHP_FLAVOR}
|
|
MSGPACK_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/msgpack.so:devel/pecl-msgpack@${PHP_FLAVOR}
|
|
|
|
.include <bsd.port.mk>
|