2005-09-11 23:27:57 +02:00
|
|
|
# New ports collection makefile for: hyperestraier
|
|
|
|
# Date created: 2005-09-11
|
|
|
|
# Whom: Michael Johnson <ahze@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2006-10-31 00:57:50 +01:00
|
|
|
# $MCom: ports-stable/textproc/hyperestraier/Makefile,v 1.3 2006/10/17 11:45:45 ahze Exp $
|
2005-09-11 23:27:57 +02:00
|
|
|
|
|
|
|
PORTNAME= hyperestraier
|
2008-03-26 13:23:39 +01:00
|
|
|
PORTVERSION= 1.4.13
|
2005-09-11 23:27:57 +02:00
|
|
|
CATEGORIES= textproc
|
2009-08-22 02:37:17 +02:00
|
|
|
MASTER_SITES= SF
|
2005-09-11 23:27:57 +02:00
|
|
|
|
|
|
|
MAINTAINER= ahze@FreeBSD.org
|
|
|
|
COMMENT= A full-text search system
|
|
|
|
|
2007-12-21 13:45:45 +01:00
|
|
|
BUILD_DEPENDS= qdbm>=1.8.77:${PORTSDIR}/databases/qdbm
|
2006-11-15 02:09:19 +01:00
|
|
|
# check configure for min version of qdbm.
|
2006-08-03 01:33:06 +02:00
|
|
|
LIB_DEPENDS= qdbm.14:${PORTSDIR}/databases/qdbm
|
2005-09-11 23:27:57 +02:00
|
|
|
|
2005-11-02 01:20:49 +01:00
|
|
|
USE_ICONV= yes
|
2006-09-03 17:21:03 +02:00
|
|
|
USE_LDCONFIG= yes
|
2005-09-11 23:27:57 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-12-08 14:16:35 +01:00
|
|
|
CONFIGURE_ARGS= --enable-bzip2 --disable-zlib
|
2005-09-11 23:27:57 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2005-11-02 01:20:49 +01:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
2005-09-11 23:27:57 +02:00
|
|
|
|
2006-12-08 14:16:35 +01:00
|
|
|
OPTIONS= LZO "Enable lzo support" off \
|
|
|
|
MECAB "Enable mecab support" off
|
|
|
|
|
|
|
|
MAN1= estcall.1 estcmd.1 estconfig.1 estmaster.1 estwaver.1
|
|
|
|
MAN3= estnode.3 estraier.3
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_LZO)
|
|
|
|
CONFIGURE_ARGS+= --enable-lzo
|
|
|
|
LIB_DEPENDS+= lzo2:${PORTSDIR}/archivers/lzo2
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_MECAB)
|
|
|
|
CONFIGURE_ARGS+= --enable-mecab
|
|
|
|
LIB_DEPENDS+= mecab:${PORTSDIR}/japanese/mecab
|
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/lib/mecab/dic/ipadic/matrix.bin:${PORTSDIR}/japanese/mecab-ipadic
|
|
|
|
.endif
|
2005-10-05 20:15:06 +02:00
|
|
|
|
2005-09-11 23:27:57 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
2005-11-19 21:44:58 +01:00
|
|
|
${RM} -f ${WRKSRC}/doc/intro-en.html~ ${WRKSRC}/doc/intro-ja.html~
|
2005-09-11 23:27:57 +02:00
|
|
|
|
2006-12-08 14:16:35 +01:00
|
|
|
.include <bsd.port.post.mk>
|