# -*- 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.21 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 84aa653af6fbe66c02a572ad1add3daf6e46bb1e \ sha256 9bd914cb01fc78c06ec5fe7e31100f000cc03325e042fd5a829d8ce80e4478c3 depends_lib-append port:oracle-instantclient configure.args-append --with-oci8=instantclient,${prefix}/lib/oracle \ --with-pdo-oci=instantclient,${prefix}/lib/oracle,10.1 use_parallel_build yes if {${os.platform} == "darwin" && ${os.major} > 10} { # oracle-instantclient 10.2.0.4.0 crashes in 64-bit mode on Lion and up. supported_archs i386 notes-append " On OS X 10.7 Lion and later, ${subport} is only available 32-bit, but php\ runs 64-bit by default. To use the Oracle functions in PHP, you must start\ php in 32-bit mode using the arch command, i.e.: arch -i386 php example.php If using PHP via a web server, configure the web server to start 32-bit. Using php 64-bit while ${subport} is active will result in warning messages\ and the Oracle functions being unavailable. " }