# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 91881 2012-04-12 09:33:16Z ryandesign@macports.org $

PortSystem              1.0
PortGroup               github 1.0
PortGroup               php5extension 1.0

github.setup            nicolasff phpredis 2.2.1
php5extension.setup     redis ${version}
categories-append       database
platforms               darwin
maintainers             ryandesign

description             an API for communicating with a Redis database from PHP

long_description        ${name} is ${description}.

checksums               rmd160  08119647e5f8cfd59c9c8e052bbf08b42f0892ec \
                        sha256  ef72e795c7d9038e8a4b83a948e6952eb9e424cf4b8313bfa6403176701efd3a

if {${configure.compiler} == "clang"} {
    configure.compiler llvm-gcc-4.2
}

configure.args-append   --enable-redis

use_parallel_build      yes
