# -*- 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 99046 2012-10-25 01:59:52Z ryandesign@macports.org $ PortSystem 1.0 PortGroup php 1.1 name php-sphinx version 1.2.0 categories-append textproc platforms darwin maintainers ryandesign openmaintainer license PHP php.branches 5.3 5.4 php.pecl yes description PHP bindings for Sphinx full-text search long_description ${description} checksums rmd160 fc4edabc84855bd34afd0a80eb8e3ffb4e7ad6b9 \ sha256 5e6ba4111500749bd80c78c8b3cdb85757b0614e2761032ca4b1795913293a43 if {${name} != ${subport}} { depends_lib-append port:libsphinxclient patchfiles patch-php_sphinx.h.diff post-patch { reinplace "s|@VERSION@|${version}|g" ${worksrcpath}/php_sphinx.h } configure.args-append --with-sphinx=${prefix} }