1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/databases/php55-redis/Makefile
Martin Wilke 59975d569b This extension provides an API for communicating with Redis database,
a persistent key-value database with built-in net interface written
in ANSI-C for Posix systems.

It is a fork of alfonsojimenez's phpredis, adding many methods and
fixing a lot of issues.

WWW: https://github.com/nicolasff/phpredis

PR:		ports/189414
Submitted by:	Arjan Koole <arjan@blackoak.net>
2014-06-04 11:49:48 +00:00

39 lines
799 B
Makefile

# Created by: Arjan Koole <arjan@blackoak.net>
# $FreeBSD$
PORTNAME= redis
PORTVERSION= 2.2.4
CATEGORIES= databases
MASTER_SITES= https://github.com/nicolasff/phpredis/tarball/${PORTVERSION}/
PKGNAMEPREFIX= php55-
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=55
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>