diff options
Diffstat (limited to 'www/pecl-yar/Makefile')
-rw-r--r-- | www/pecl-yar/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/www/pecl-yar/Makefile b/www/pecl-yar/Makefile new file mode 100644 index 000000000000..434d74da56ed --- /dev/null +++ b/www/pecl-yar/Makefile @@ -0,0 +1,31 @@ +# Created by: John Chen <johnpupu@gmail.com> +# $FreeBSD$ + +PORTNAME= yar +PORTVERSION= 1.2.0 +CATEGORIES= www +MASTER_SITES= http://pecl.php.net/get/ +PKGNAMEPREFIX= pecl- +EXTRACT_SUFX= .tgz +DIST_SUBDIR= PECL + +MAINTAINER= johnpupu@gmail.com +COMMENT= Yar (Yet another RPC framework) is a light, concurrent RPC framework + +LICENSE= PHP301 + +PHP_MODNAME= yar +USE_PHP= json curl +USE_PHPEXT= yes +USE_PHPIZE= yes +USE_PHP_BUILD= yes + +CFLAGS+= -I${LOCALBASE}/include +CONFIGURE_ARGS= --with-php-config=${PREFIX}/bin/php-config + +OPTIONS_DEFINE= MSGPACK +MSGPACK_DESC= Enable MSGPACK module +MSGPACK_BUILD_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/msgpack.so:${PORTSDIR}/devel/pecl-msgpack +MSGPACK_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/msgpack.so:${PORTSDIR}/devel/pecl-msgpack + +.include <bsd.port.mk> |