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

PortSystem              1.0
PortGroup               php5extension 1.0

php5extension.setup     xmlrpc 5.3.2 bundled
categories-append       textproc
platforms               darwin
maintainers             ryandesign

description             a PHP extension for writing XML-RPC clients and servers

long_description        ${description}

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

depends_build-append    port:libiconv \
                        port:libxml2

depends_lib-append      port:expat

configure.args-append   --with-iconv-dir=${prefix} \
                        --with-libexpat-dir=${prefix} \
                        --with-libxml-dir=${prefix}

pre-configure {
    configure.cppflags-append [exec ${prefix}/bin/xml2-config --cflags]
}

use_parallel_build      yes
