# $Id$ PortSystem 1.0 name sphinx version 0.9.8 categories textproc net maintainers brett@macports.org openmaintainer platforms darwin description Sphinx is a full-text search engine long_description \ Sphinx is a full-text search engine, meant to provide fast, size-efficient and relevant \ fulltext search functions to other applications. Sphinx was specially designed to integrate \ well with SQL databases and scripting languages. Currently built-in data sources \ support fetching data either via direct connection to MySQL, or from an XML pipe. homepage http://www.sphinxsearch.com master_sites ${homepage}/downloads/ distfiles sphinx-${version}.tar.gz checksums sha1 0f82e56a9181b3aeaeef65e9ba82fbf6fbe632d6 depends_lib port:mysql5 configure.args --mandir=${prefix}/share/man \ --datadir=${prefix}/share/doc \ --with-mysql-includes=${prefix}/include/mysql5/mysql \ --with-mysql-libs=${prefix}/lib/mysql5/mysql test.run yes variant postgres description {Enable PostgreSQL support for old PgSQL 8.2} { depends_lib-append port:postgresql82 depends_lib-delete port:mysql5 configure.args-append --with-pgsql configure.args-append --with-pgsql-includes=${prefix}/include/postgresql82 configure.args-append --with-pgsql-libs=${prefix}/lib/postgresql82 configure.args-delete --with-mysql-includes } variant postgresql83 description {Enable PostgreSQL support for newer PgSQL v8.3} { depends_lib-append port:postgresql83 depends_lib-delete port:mysql5 configure.args-append --with-pgsql configure.args-append --with-pgsql-includes=${prefix}/include/postgresql83 configure.args-append --with-pgsql-libs=${prefix}/lib/postgresql83 configure.args-delete --with-mysql-includes }