Ticket #16727: Portfile-sphinx.diff
File Portfile-sphinx.diff, 2.5 KB (added by pete@…, 16 years ago) |
---|
-
Portfile
old new 13 13 Sphinx is a full-text search engine, meant to provide fast, size-efficient and relevant \ 14 14 fulltext search functions to other applications. Sphinx was specially designed to integrate \ 15 15 well with SQL databases and scripting languages. Currently built-in data sources \ 16 support fetching data either via direct connection to MySQL , or from an XML pipe.16 support fetching data either via direct connection to MySQL or PostgreSQL, or from an XML pipe. 17 17 18 18 homepage http://www.sphinxsearch.com 19 19 master_sites ${homepage}/downloads/ 20 20 distfiles sphinx-${version}.tar.gz 21 21 checksums sha1 0f82e56a9181b3aeaeef65e9ba82fbf6fbe632d6 22 22 23 depends_lib port:mysql524 23 configure.args --mandir=${prefix}/share/man \ 25 24 --datadir=${prefix}/share/doc \ 26 --with-mysql-includes=${prefix}/include/mysql5/mysql \ 27 --with-mysql-libs=${prefix}/lib/mysql5/mysql 25 --without-mysql \ 26 --without-pgsql 27 28 default_variants +mysql 28 29 29 30 test.run yes 30 31 31 variant postgres description {Enable PostgreSQL support for old PgSQL 8.2} { 32 variant mysql description {Enable MySQL support} { 33 depends_lib-append port:mysql5 34 configure.args-append --with-mysql 35 configure.args-append --with-mysql-includes=${prefix}/include/mysql5/mysql 36 configure.args-append --with-mysql-libs=${prefix}/lib/mysql5/mysql 37 configure.args-delete --without-mysql 38 } 39 40 variant postgresql82 description {Enable PostgreSQL 8.2 support} { 32 41 depends_lib-append port:postgresql82 33 depends_lib-delete port:mysql534 42 configure.args-append --with-pgsql 35 43 configure.args-append --with-pgsql-includes=${prefix}/include/postgresql82 36 44 configure.args-append --with-pgsql-libs=${prefix}/lib/postgresql82 37 configure.args-delete --with -mysql-includes45 configure.args-delete --without-pgsql 38 46 } 39 47 40 variant postgresql83 description {Enable PostgreSQL support for newer PgSQL v8.3} {48 variant postgresql83 description {Enable PostgreSQL 8.3 support} { 41 49 depends_lib-append port:postgresql83 42 depends_lib-delete port:mysql543 configure.args-append --without-mysql44 50 configure.args-append --with-pgsql 45 51 configure.args-append --with-pgsql-includes=${prefix}/include/postgresql83 46 52 configure.args-append --with-pgsql-libs=${prefix}/lib/postgresql83 47 configure.args-delete --with-mysql-includes 48 configure.args-delete --with-mysql-libs 53 configure.args-delete --without-pgsql 49 54 }