# -*- 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$ PortSystem 1.0 PortGroup php5extension 1.0 php5extension.setup oracle 5.3.27 bundled php5extension.ini oracle.ini php5extension.extensions oci8 pdo_oci categories-append databases platforms darwin maintainers ryandesign license PHP-3.01 description a PHP interface to Oracle, including the oci8 \ and pdo_oci extensions long_description ${description} checksums rmd160 c2887004859f32b25229ffe52d86270c8de194b7 \ sha256 e12db21c623b82a2244c4dd9b06bb75af20868c1b748a105a6829a5acc36b287 depends_lib-append port:oracle-instantclient set lib_dir ${prefix}/lib/oracle pre-configure { regexp {\.dylib\.(.+)$} [glob -directory ${lib_dir} libclntsh.dylib.*] -> library_version configure.args-append --with-oci8=instantclient,${lib_dir} \ --with-pdo-oci=instantclient,${lib_dir},${library_version} } use_parallel_build yes