freebsd-ports/devel/pecl-swoole/Makefile
2016-10-26 03:52:04 +00:00

28 lines
691 B
Makefile

# Created by: vanilla@
# $FreeBSD$
PORTNAME= swoole
PORTVERSION= 1.8.13
CATEGORIES= devel net
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
DIST_SUBDIR= PECL
MAINTAINER= vanilla@FreeBSD.org
COMMENT= Asynchronous & concurrent & distributed networking framework
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= php:ext ssl tar:tgz
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_PHP= pcre
OPTIONS_DEFINE= HTTP2 REDIS
HTTP2_LIB_DEPENDS= libnghttp2.so:www/nghttp2
HTTP2_CONFIGURE_ON= --enable-http2 --enable-openssl
REDIS_LIB_DEPENDS= libhiredis.so:databases/hiredis
REDIS_CONFIGURE_ON= --enable-async-redis --enable-coroutine
.include <bsd.port.mk>