freebsd-ports/databases/php55-redis/Makefile
Mathieu Arnold 5815027c46 These ports do not build with PHP 7.0, make them as such.
Also, mark those who try to use mysql, which does not exist in PHP 7.0.

Sponsored by:	Absolight
2016-03-13 16:56:42 +00:00

38 lines
670 B
Makefile

# Created by: Arjan Koole <arjan@blackoak.net>
# $FreeBSD$
PORTNAME= redis
PORTVERSION= 2.2.4
CATEGORIES= databases
PKGNAMEPREFIX= php55-
MAINTAINER= m.tsatsenko@gmail.com
COMMENT= PHP5-Extension for Redis
LICENSE= PHP301
USE_GITHUB= yes
GH_ACCOUNT= nicolasff
GH_PROJECT= phpredis
USE_PHP= session
USE_PHP_BUILD= yes
USE_PHPEXT= yes
PHP_DEFAULT= 5.5
IGNORE_WITH_PHP= 56 70
PHP_MODNAME= redis
OPTIONS_DEFINE= IGBINARY
IGBINARY_DESC= Build with Igbinary serializer
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIGBINARY}
USE_PHP+= igbinary
CONFIGURE_ARGS+=--enable-redis-igbinary
.else
CONFIGURE_ARGS+=--disable-redis-igbinary
.endif
.include <bsd.port.mk>