# Created by: vanilla@ # $FreeBSD: head/devel/pecl-swoole/Makefile 568947 2021-03-22 10:17:43Z danfe $ PORTNAME= swoole PORTVERSION= 4.6.4 CATEGORIES= devel net MAINTAINER= vanilla@FreeBSD.org COMMENT= Asynchronous, concurrent, and distributed networking framework LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c11 localbase:ldflags php:pecl ssl USE_PHP= hash:build pcre CONFIGURE_ARGS+= --enable-mysqlnd OPTIONS_DEFINE= HTTP2 SOCKETS JSON CURL HTTP2_CONFIGURE_ON= --enable-http2 --enable-openssl SOCKETS_USE= PHP=sockets:build SOCKETS_DESC= Use native php sockets extension SOCKETS_CONFIGURE_ON= --enable-sockets CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_ON= --enable-swoole-curl JSON_CONFIGURE_ON= --enable-swoole-json .include