freebsd-ports/databases/php5-redis/Makefile
Pawel Pekala 114e6d6be9 Update to version 2.2.3
PR:		ports/179994
Submitted by:	Takashi Kato <townwear@gmail.com>
Approved by:	maintainer
2013-07-03 17:52:47 +00:00

40 lines
819 B
Makefile

# Created by: Benedikt Niessen <ports@niessen.ch>
# $FreeBSD$
#
PORTNAME= redis
PORTVERSION= 2.2.3
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= af48a77
FETCH_ARGS= -pRr
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
.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>