freebsd-ports/textproc/hyperestraier/Makefile

42 lines
1.2 KiB
Makefile
Raw Normal View History

# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
# $MCom: ports-stable/textproc/hyperestraier/Makefile,v 1.3 2006/10/17 11:45:45 ahze Exp $
PORTNAME= hyperestraier
2008-03-26 13:23:39 +01:00
PORTVERSION= 1.4.13
2011-07-24 23:36:52 +02:00
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= SF
MAINTAINER= ports@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
# check configure for min version of qdbm.
LIB_DEPENDS= libqdbm.so.14:${PORTSDIR}/databases/qdbm
USES= iconv
2006-09-03 17:21:03 +02:00
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-bzip2 --disable-zlib
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
2012-06-11 07:21:56 +02:00
OPTIONS_DEFINE= LZO MECAB
LZO_DESC= Enable lzo support
MECAB_DESC= Enable mecab support
LZO_CONFIGURE_ENABLE= lzo
LZO_LIB_DEPENDS= liblzo2.so:${PORTSDIR}/archivers/lzo2
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
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~
.include <bsd.port.mk>