# $Id: Portfile 92753 2012-05-05 21:13:35Z ryandesign@macports.org $

PortSystem      1.0
PortGroup       php 1.0

php.setup       mongo 1.2.10 pecl
php.branches    5.4 5.3
categories      php databases devel
license         Apache-2.0
platforms       darwin
maintainers     ryandesign

description     Mongo Database Driver

long_description \
    This package provides an interface for communicating with the Mongo \
    database in PHP.

checksums       rmd160  8d8be40cced8df92dc675d1471bc6fb1fe25ad9a \
                sha256  6a0c5b3b2307e77f8774556fa88a8a5ef8f6b10ee07ea6e1f38c27b66fa85f66

if {${name} != ${subport}} {
    depends_build-append    port:mongodb
    patchfiles-append       patch-config.m4.diff
}
