# -*- 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: Portfile 104928 2013-04-05 08:59:51Z ryandesign@macports.org $

PortSystem              1.0
PortGroup               php 1.1

name                    php-sphinx
version                 1.3.0
categories-append       textproc
platforms               darwin
maintainers             ryandesign openmaintainer
license                 PHP

php.branches            5.3 5.4 5.5
php.pecl                yes

description             PHP bindings for Sphinx full-text search

long_description        ${description}

checksums               rmd160  c607c201a028de500b0d3d2c6a91bccdfd3b2049 \
                        sha256  4a4438257679c99beaeab5ae087cb2717ec8ee0a2be11f177473c7d82c3d47d5

if {${name} != ${subport}} {
    depends_lib-append      port:libsphinxclient
    
    configure.args-append   --with-sphinx=${prefix}
}
