2013-09-21 01:17:30 +02:00
|
|
|
# Created by: Michael Johnson <ahze@FreeBSD.org>
|
2005-09-11 23:27:57 +02:00
|
|
|
# $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
|
2011-07-24 23:36:52 +02:00
|
|
|
PORTREVISION= 1
|
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
|
|
|
|
2010-07-26 02:03:14 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-09-11 23:27:57 +02:00
|
|
|
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.
|
2014-01-28 17:47:07 +01:00
|
|
|
LIB_DEPENDS= libqdbm.so.14:${PORTSDIR}/databases/qdbm
|
2005-09-11 23:27:57 +02:00
|
|
|
|
2013-04-27 20:25:24 +02:00
|
|
|
USES= iconv
|
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
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
2005-09-11 23:27:57 +02:00
|
|
|
|
2012-06-11 07:21:56 +02:00
|
|
|
OPTIONS_DEFINE= LZO MECAB
|
|
|
|
LZO_DESC= Enable lzo support
|
|
|
|
MECAB_DESC= Enable mecab support
|
2006-12-08 14:16:35 +01:00
|
|
|
|
2014-01-28 17:47:07 +01:00
|
|
|
LZO_CONFIGURE_ENABLE= lzo
|
|
|
|
LZO_LIB_DEPENDS= liblzo2.so:${PORTSDIR}/archivers/lzo2
|
2006-12-08 14:16:35 +01:00
|
|
|
|
2014-01-28 17:47:07 +01:00
|
|
|
MECAB_CONFIGURE_ENABLE= mecab
|
|
|
|
MECAB_LIB_DEPENDS= libmecab.so:${PORTSDIR}/japanese/mecab
|
|
|
|
MECAB_RUN_DEPENDS= ${LOCALBASE}/lib/mecab/dic/ipadic/matrix.bin:${PORTSDIR}/japanese/mecab-ipadic
|
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
|
|
|
|
2014-01-28 17:47:07 +01:00
|
|
|
.include <bsd.port.mk>
|