# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 67328 2010-05-06 04:46:05Z ryandesign@macports.org $

PortSystem              1.0
PortGroup               php5extension 1.0

php5extension.setup     solr 0.9.10 pecl
categories-append       devel
platforms               darwin
maintainers             ryandesign openmaintainer

description             a PHP interface to Apache Solr

long_description        ${name} is an extremely fast, light-weight, feature-rich \
                        library that allows PHP developers to communicate easily \
                        and efficiently with Apache Solr server instances.

checksums               md5     2643d40594f5ad8a19c4d7ffdab6a42b \
                        sha1    fe7a9d778c8c3b1fd930de65174c0357ae9e2a23 \
                        rmd160  88da1f396bd501178a59db284bfe0644b429bfd0

depends_build-append    port:curl \
                        port:libxml2

depends_lib-append      port:php5-curl

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

use_parallel_build      yes

livecheck.regex         {>(\d+(?:\.\d+)*(?:p\d+)?)</a></th>}
