freebsd-ports/databases/php5-redis/Makefile
2014-01-03 00:46:47 +00:00

39 lines
814 B
Makefile

# Created by: Benedikt Niessen <ports@niessen.ch>
# $FreeBSD$
PORTNAME= redis
PORTVERSION= 2.2.4
CATEGORIES= databases
MASTER_SITES= https://github.com/nicolasff/phpredis/tarball/${PORTVERSION}/
PKGNAMEPREFIX= php5-
DISTNAME= nicolasff-phpredis-${PORTVERSION}-0-g${GITVERSION}
MAINTAINER= m.tsatsenko@gmail.com
COMMENT= PHP5-Extension for Redis
LICENSE= PHP301
GITVERSION= 0f0661e
WRKSRC= ${WRKDIR}/nicolasff-phpredis-${GITVERSION}
USE_PHP= session
USE_PHP_BUILD= yes
USE_PHPEXT= yes
DEFAULT_PHP_VER=5
PHP_MODNAME= redis
OPTIONS_DEFINE= IGBINARY
IGBINARY_DESC= Build with Igbinary serializer
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIGBINARY}
USE_PHP+= igbinary
CONFIURE_ARGS+= --enable-redis-igbinary
.else
CONFIURE_ARGS+= --disable-redis-igbinary
.endif
.include <bsd.port.mk>