mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
fdc72ecd4d
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/157655 Submitted by: Max Baryshnikov <mephius at gmail.com>
37 lines
704 B
Makefile
37 lines
704 B
Makefile
# New ports collection makefile for: pecl-sphinx
|
|
# Date created: 2011-06-6
|
|
# Whom: Max Baryshnikov <mephius@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sphinx
|
|
DISTVERSION= 1.1.0
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://pecl.php.net/get/
|
|
PKGNAMEPREFIX= pecl-
|
|
EXTRACT_SUFX= .tgz
|
|
DIST_SUBDIR= PECL
|
|
|
|
MAINTAINER= mephius@gmail.com
|
|
COMMENT= Sphinx search engine php client
|
|
|
|
LIB_DEPENDS= sphinxclient.0:${PORTSDIR}/textproc/libsphinxclient
|
|
|
|
USE_PHP= yes
|
|
IGNORE_WITH_PHP=4
|
|
USE_PHPEXT= yes
|
|
PHP_MODNAME= sphinx
|
|
|
|
SUB_FILES= pkg-message
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
CFLAGS= -I${LOCALBASE}/include
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|