Changeset View
Changeset View
Standalone View
Standalone View
devel/pecl-swoole/Makefile
# Created by: vanilla@ | # Created by: vanilla@ | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= swoole | PORTNAME= swoole | ||||
PORTVERSION= 1.9.14 | PORTVERSION= 1.9.14 | ||||
CATEGORIES= devel net | CATEGORIES= devel net | ||||
MAINTAINER= vanilla@FreeBSD.org | MAINTAINER= vanilla@FreeBSD.org | ||||
COMMENT= Asynchronous & concurrent & distributed networking framework | COMMENT= Asynchronous & concurrent & distributed networking framework | ||||
LICENSE= APACHE20 | LICENSE= APACHE20 | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
BROKEN_powerpc64= fails to build: swoole_config.h: error GCC 4.4 or later required | BROKEN_powerpc64= fails to build: swoole_config.h: error GCC 4.4 or later required | ||||
USES= execinfo php:pecl ssl | USES= php:pecl ssl | ||||
CFLAGS+= -I${LOCALBASE}/include | CFLAGS+= -I${LOCALBASE}/include | ||||
LDFLAGS+= -L${LOCALBASE}/lib | LDFLAGS+= -L${LOCALBASE}/lib | ||||
USE_PHP= pcre | USE_PHP= pcre | ||||
OPTIONS_DEFINE= HTTP2 REDIS RING_BUFFER SOCKETS | OPTIONS_DEFINE= HTTP2 REDIS RING_BUFFER SOCKETS | ||||
HTTP2_LIB_DEPENDS= libnghttp2.so:www/libnghttp2 | HTTP2_LIB_DEPENDS= libnghttp2.so:www/libnghttp2 | ||||
HTTP2_CONFIGURE_ON= --enable-http2 --enable-openssl | HTTP2_CONFIGURE_ON= --enable-http2 --enable-openssl | ||||
REDIS_LIB_DEPENDS= libhiredis.so:databases/hiredis | REDIS_LIB_DEPENDS= libhiredis.so:databases/hiredis | ||||
REDIS_CONFIGURE_ON= --enable-async-redis | REDIS_CONFIGURE_ON= --enable-async-redis | ||||
RING_BUFFER_DESC= Use ring buffer pool | RING_BUFFER_DESC= Use ring buffer pool | ||||
RING_BUFFER_CONFIGURE_ON= --enable-ringbuffer | RING_BUFFER_CONFIGURE_ON= --enable-ringbuffer | ||||
SOCKETS_USE= PHP=sockets:build | SOCKETS_USE= PHP=sockets:build | ||||
SOCKETS_DESC= Use native php sockets extension | SOCKETS_DESC= Use native php sockets extension | ||||
SOCKETS_CONFIGURE_ON= --enable-sockets | SOCKETS_CONFIGURE_ON= --enable-sockets | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |