1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/textproc/estraier/Makefile
Sergey Matveychuk 55f60f4983 Estraier is a full-text search system for personal use. Full-text search means
functions to search lots of documents for some documents including specified
words. The principal purpose of Estraier is to realize a full-text search
system of a web site. It functions similarly to Google, but for a personal
web site or sites in an intranet.

PR:		ports/71090
Submitted by:	Michael Johnson <ahze@ahze.net>
2004-08-29 13:57:59 +00:00

58 lines
1.3 KiB
Makefile

# New ports collection makefile for: estraier
# Date created: 2004-08-28
# Whom: Michael Johnson <ahze@ahze.net>
#
# $FreeBSD$
#
PORTNAME= estraier
PORTVERSION= 1.2.23
CATEGORIES= japanese textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ahze@ahze.net
COMMENT= A full-text search system for personal use
LIB_DEPENDS= qdbm.3:${PORTSDIR}/databases/qdbm
USE_ICONV= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
CONFIGURE_ARGS= --with-sysqdbm \
--enable-dlfilter
OPTIONS= CHASEN "Japanese Morphological Analysis Support" On \
MECAB "Part-of-Speech and Morphological Analyzer" On \
KAKASI "Language processing filter/converter" On
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_CHASEN)
LIB_DEPENDS+= chasen.0:${PORTSDIR}/japanese/chasen-base
CONFIGURE_ARGS+= --enable-chasen
.endif
.if ${ARCH} == i386 && !defined(WITHOUT_MECAB)
LIB_DEPENDS+= mecab.0:${PORTSDIR}/japanese/mecab
CONFIGURE_ARGS+= --enable-mecab
.endif
.if !defined(WITHOUT_KAKASI)
LIB_DEPENDS+= kakasi.3:${PORTSDIR}/japanese/kakasi
CONFIGURE_ARGS+= --enable-kakasi
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-O2|${CFLAGS}|' ${WRKSRC}/configure ${WRKSRC}/Makefile.in
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's|MYDOCS|#|' ${WRKSRC}/Makefile.in
.endif
.include <bsd.port.post.mk>