PortGroup php5extension 1.0
php5extension.setup zorba 0.9.9 pecl
php5extension.extensions zorba_api
description PHP support for XQuery
This extension is a wrapper of Zorba library to allow PHP developers to \
homepage http://www.zorba-xquery.com/
checksums md5 68435be7b5be3c7006d524d14f3f7801 \
sha1 6df7b12072359878052253f8ccc783fa72d751fc \
rmd160 2dd8ebb5f312e4bf431a2e1bbc342ddfa3f9c518
lib/libzorba_simplestore.dylib
--with-zorba_api=${prefix}
configure.cppflags-append \
-I${prefix}/include/zorba
# Library files zorba not found
# configure: error: Is the zorba_api distribution installed properly?
reinplace /LIBNAMES/s/zorba/zorba_simplestore/ ${worksrcpath}/config.m4
# Libraries extension is ".dylib" on Darwin, not ".so"
reinplace {s/\.so/\.dylib/} ${worksrcpath}/config.m4
# Header "zorba/zorba.h" is in "${prefix}/include/zorba"
reinplace {s:/include:/include/zorba:} ${worksrcpath}/config.m4
set docdir ${prefix}/share/doc/${name}
xinstall -d ${destroot}${docdir}
xinstall -m 644 -W ${worksrcpath} CREDITS ${destroot}${docdir}
livecheck.regex {(\d+(?:\.\d+)*)</a></th>}