blob: 2eb4625a32f7896bbcba9f284085c4d05350c52c (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# New ports collection makefile for: estraier
# Date created: 2004-08-28
# Whom: Michael Johnson <ahze@ahze.net>
#
# $FreeBSD$
#
PORTNAME= estraier
PORTVERSION= 1.2.29
PORTREVISION= 3
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://estraier.sourceforge.net/
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ahze@FreeBSD.org
COMMENT= A full-text search system for personal use
LIB_DEPENDS= qdbm.14:${PORTSDIR}/databases/qdbm
USE_ICONV= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-sysqdbm \
--enable-dlfilter \
--enable-devel
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/include ${PTHREAD_LIBS}"
OPTIONS= CHASEN "Japanese Morphological Analysis Support" Off \
MECAB "Part-of-Speech and Morphological Analyzer" Off \
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(WITH_MECAB)
LIB_DEPENDS+= mecab.1:${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
.include <bsd.port.post.mk>
|