blob: 071760b60f353f27446b4c6f1f7bce7ce415c5a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Created by: Max Baryshnikov <mephius@gmail.com>
# $FreeBSD$
PORTNAME= libsphinxclient
DISTVERSION= 2.0.5
CATEGORIES= textproc databases
MASTER_SITES= http://sphinxsearch.com/files/
DISTNAME= sphinx-${PORTVERSION}-release
MAINTAINER= mephius@gmail.com
COMMENT= Sphinx Full-Text Search Engine C++ client library
LICENSE= GPLv2
WRKSRC= ${WRKDIR}/${DISTNAME}/api/libsphinxclient
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool
MAKE_JOBS_UNSAFE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CC=${CC}
SUB_LIST+= PORTNAME=${PORTNAME}
NO_STAGE= yes
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>
|