# $Id: Portfile 64458 2010-03-06 17:54:57Z ryandesign@macports.org $

PortSystem                      1.0
PortGroup                       php5extension 1.0

php5extension.setup             {odbc pdo_odbc} 5.3.2 bundled
categories-append               databases
platforms                       darwin
maintainers                     ryandesign

description                     a PHP interface for accessing databases via \
                                Open DataBase Connectivity (ODBC)

long_description                ${description}

checksums                       md5     46f500816125202c48a458d0133254a4 \
                                sha1    79ea4ee3da3a7542d1e348ac963a5b38bcbb4b6b \
                                rmd160  60a8aac0d51511ecaf8dcad9d31bdf072c0c99cf

depends_lib-append              port:unixODBC

patchfiles-append               patch-unixODBC.diff

configure.args-append           --with-unixODBC=${prefix} \
                                --with-pdo-odbc=unixODBC,${prefix}

use_parallel_build              yes
