aboutsummaryrefslogtreecommitdiffstats
path: root/databases/php56-redis/Makefile
blob: 5bc133bc06fc0cd14c76cefc34ac817520cae661 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Created by: Benedikt Niessen <ports@niessen.ch>
# $FreeBSD$

PORTNAME=   redis
PORTVERSION=    2.2.5
CATEGORIES= databases
PKGNAMEPREFIX=  php56-

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=56

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>