# -*- 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 108160 2013-07-15 03:06:59Z ryandesign@macports.org $

PortSystem              1.0
PortGroup               php5extension 1.0

php5extension.setup     ldap 5.3.27 bundled
categories-append       databases
platforms               darwin
maintainers             ryandesign
license                 PHP-3.01

description             a PHP interface to LDAP

long_description        ${name} is ${description}, the Lightweight Directory \
                        Access Protocol, which is used to access Directory \
                        Servers.

checksums               rmd160  c2887004859f32b25229ffe52d86270c8de194b7 \
                        sha256  e12db21c623b82a2244c4dd9b06bb75af20868c1b748a105a6829a5acc36b287

depends_lib-append      port:openldap \
                        port:cyrus-sasl2

configure.args-append   --with-ldap=${prefix} \
                        --with-ldap-sasl=${prefix}

use_parallel_build      yes
