# $Id: Portfile 55174 2009-08-07 07:38:05Z ryandesign@macports.org $

PortSystem              1.0
PortGroup               php5extension 1.0

php5extension.setup     openssl 5.3.0 bundled
categories-append       devel security
platforms               darwin
maintainers             ryandesign

description             a PHP interface to OpenSSL signature-generation \
                        and -verification and data-encryption and \
                        -decryption functions

long_description        ${description}

checksums               md5     846760cd655c98dfd86d6d97c3d964b0 \
                        sha1    934700941d216c453376e3bf24347041cf12c6dc \
                        rmd160  9a71b74052b0ca515f2ddf95c051b47a73d33f44

post-extract {
    move ${build.dir}/config0.m4 ${build.dir}/config.m4
}

configure.args-append   --with-openssl=${prefix}

platform macosx {
    configure.args-append --with-kerberos=/usr
}

use_parallel_build      yes
