summaryrefslogtreecommitdiff
path: root/databases/pecl-redis/Makefile
blob: 7f1e5dd0825370618cab5b24ef5ac507816760be (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
PORTNAME=	redis
DISTVERSION=	6.2.0
CATEGORIES=	databases

MAINTAINER=	wiacek.m@witia.com.pl
COMMENT=	Extension to access Redis
WWW=		https://pecl.php.net/package/redis

LICENSE=	PHP301
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		php:build,pecl
USE_PHP=	session:build

OPTIONS_DEFINE=	IGBINARY
IGBINARY_DESC=	Build with Igbinary serializer

IGBINARY_USE=			PHP=igbinary:build
IGBINARY_CONFIGURE_ENABLE=	redis-igbinary

.include <bsd.port.pre.mk>

post-patch:
.if ${PHP_VER} >= 85
	@${REINPLACE_CMD} -e 's|ext/standard/php_smart_string.h|Zend/zend_smart_string.h|' \
		${WRKSRC}/common.h
.endif

.include <bsd.port.post.mk>