pkgsrc/textproc/sphinxsearch/options.mk
fhajny 901e6229d7 Import sphinxsearch-2.1.6 based on wip/sphinxsearch.
Sphinx is an open source full text search server, designed from the ground up
with performance, relevance (aka search quality), and integration simplicity
in mind. Sphinx lets you either batch index and search data stored in an SQL
database, NoSQL storage, or just files quickly and easily - or index and
search data on the fly, working with Sphinx pretty much as with a database
server.
2014-03-05 13:44:23 +00:00

23 lines
561 B
Makefile

# $NetBSD: options.mk,v 1.1 2014/03/05 13:44:23 fhajny Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.sphinx-search
PKG_OPTIONS_NONEMPTY_SETS= db
PKG_OPTIONS_SET.db= mysql pgsql
PKG_SUPPORTED_OPTIONS= #
PKG_SUGGESTED_OPTIONS= mysql
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mmysql)
CONFIGURE_ARGS+= --with-mysql
. include "../../mk/mysql.buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-mysql
.endif
.if !empty(PKG_OPTIONS:Mpgsql)
CONFIGURE_ARGS+= --with-pgsql
. include "../../mk/pgsql.buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-pgsql
.endif