blob: cbea49956bdd86ad246214dd7f6683a83eb45843 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
PORTNAME= swoole
PORTVERSION= 6.0.2
CATEGORIES= devel net
MAINTAINER= vanilla@FreeBSD.org
COMMENT= Asynchronous, concurrent, and distributed networking framework
WWW= https://pecl.php.net/package/swoole
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
NOT_FOR_ARCHS= i386 powerpc
NOT_FOR_ARCHS_REASON= upstream drop 32 bits support
USES= compiler:c11 localbase:ldflags php:build,pecl pkgconfig ssl
IGNORE_WITH_PHP= 85
CONFIGURE_ARGS+= --enable-mysqlnd
OPTIONS_DEFINE= BROTLI CARES CURL PGSQL SOCKETS ZSTD
CARES_LIB_DEPENDS= libcares.so:dns/c-ares
CARES_CONFIGURE_ON= --enable-cares
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
CURL_USE= PHP=curl
PGSQL_CONFIGURE_ON= --enable-swoole-pgsql
PGSQL_USES= pgsql
PGSQL_USE= PHP=pdo:build
BROTLI_CONFIGURE_ON= --enable-brotli
BROTLI_CONFIGURE_OFF= --disable-brotli
BROTLI_LIB_DEPENDS= libbrotlicommon.so:archivers/brotli
ZSTD_CONFIGURE_ON= --enable-zstd
ZSTD_CONFIGURE_OFF= --disable-zstd
ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd
.include <bsd.port.mk>
|