freebsd-ports/textproc/libsphinxclient/Makefile
Martin Wilke 99b421ff1f Sphinx is a full-text search engine, distributed under GPL version
2. Commercial license is also available for embedded use.

Generally, it's a standalone 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.

As for the name, Sphinx is an acronym which is officially decoded as
SQL Phrase Index.

WWW: http://www.sphinxsearch.com/

PR:		ports/157654
Submitted by:	Max Baryshnikov <mephius at gmail.com>
2011-06-25 09:38:40 +00:00

39 lines
1.1 KiB
Makefile

# New ports collection makefile for: libsphinxclient
# Date created: 2011-06-6
# Whom: Max Baryshnikov <mephius@gmail.com>
#
# $FreeBSD$
#
PORTNAME= libsphinxclient
DISTVERSION= 1.10b
CATEGORIES= textproc databases
MASTER_SITES= http://sphinxsearch.com/files/
DISTNAME= sphinx-1.10-beta
MAINTAINER= mephius@gmail.com
COMMENT= Sphinx Full-Text Search Engine C++ client library
WRKSRC= ${WRKDIR}/${DISTNAME}/api/libsphinxclient
USE_LDCONFIG= yes
LICENSE= GPLv2
USE_AUTOTOOLS= libtool
.include <bsd.port.options.mk>
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CC=${CC}
SUB_LIST+= PORTNAME=${PORTNAME}
do-install:
${INSTALL_LIB} ${WRKSRC}/.libs/libsphinxclient-0.0.1.so ${PREFIX}/lib/libsphinxclient-0.0.1.so
${INSTALL_DATA} ${WRKSRC}/libsphinxclient.la ${PREFIX}/lib/libsphinxclient.la
${INSTALL_DATA} ${WRKSRC}/.libs/libsphinxclient.a ${PREFIX}/lib/libsphinxclient.a
${INSTALL_DATA} ${WRKSRC}/sphinxclient.h ${PREFIX}/include/sphinxclient.h
${LN} -s ${PREFIX}/lib/libsphinxclient-0.0.1.so ${PREFIX}/lib/libsphinxclient.so.0
${LN} -s ${PREFIX}/lib/libsphinxclient-0.0.1.so ${PREFIX}/lib/libsphinxclient.so
.include <bsd.port.mk>