ports/databases/php5-redis/Makefile
Olli Hauer 862a7b9253 - fix DEFAULT_VERSIONS usage
(do not overwrite make.conf settings)
2014-09-23 22:24:19 +00:00

40 lines
696 B
Makefile

# Created by: Benedikt Niessen <ports@niessen.ch>
# $FreeBSD$
PORTNAME= redis
PORTVERSION= 2.2.5
CATEGORIES= databases
PKGNAMEPREFIX= php5-
MAINTAINER= m.tsatsenko@gmail.com
COMMENT= PHP5-Extension for Redis
LICENSE= PHP301
GITVERSION= 0f0661e
USE_PHP= session
USE_PHP_BUILD= yes
USE_PHPEXT= yes
DEFAULT_VERSIONS+=php=5
USE_GITHUB= yes
GH_ACCOUNT= nicolasff
GH_PROJECT= phpredis
GH_COMMIT= 8dac89e
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>