aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/senna/Makefile
blob: bbb5e15c557afad2afd131803f4ce782eba66e87 (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
# New ports collection makefile for:    Senna
# Date created:     May 1 2005
# Whom:         Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   senna
PORTVERSION=    0.${SNAPDATE}
PORTREVISION=   2
CATEGORIES= textproc
MASTER_SITES=   http://dist.bsdlab.org/ \
        http://dev.razil.jp/archive/senna/
DISTNAME=   ${PORTNAME}-${SNAPDATE}-svn

MAINTAINER= kuriyama@FreeBSD.org
COMMENT=    Embeddable Fulltext Search Engine

LIB_DEPENDS=    mecab:${PORTSDIR}/japanese/mecab

USE_AUTOTOOLS=  automake:14 autoconf:259 libtool:15
USE_GMAKE=  YES
INSTALLS_SHLIB= YES
CONFIGURE_ARGS= --with-sennahome=${SENNA_HOME}
CONFIGURE_ENV=  LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
MAKE_ARGS=  CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}"
WRKSRC=     ${WRKDIR}/${PORTNAME}

SNAPDATE=   20060130
SENNA_HOME?=    /var/senna

.include <bsd.port.mk>