Add option to enable a full-text search system (japanese)
Bump PORTREVISION PR: ports/71091 Submitted by: maintainer
This commit is contained in:
parent
55f60f4983
commit
50ebe8ef3d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117565
2 changed files with 10 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= kazehakase
|
||||
PORTVERSION= 0.1.9
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}/11115/
|
||||
|
@ -49,6 +50,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_C
|
|||
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
||||
|
||||
OPTIONS= MIGEMO "Enable Migemo (Japanese incremental search)" Off \
|
||||
ESTRAIER "Enable a full-text search system (Japanese)" Off \
|
||||
IMAGEMAGICK "Enable Thumbnail support (EXPERIMENTAL!)" Off
|
||||
|
||||
FLASHPLAYER= ${LOCALBASE}/lib/libflashplayer.so.1
|
||||
|
@ -61,6 +63,10 @@ WITH_MIGEMO= yes
|
|||
.endif
|
||||
.endif
|
||||
|
||||
.if exists(${LOCALBASE}/bin/estxview)
|
||||
WITH_ESTRAIER= yes
|
||||
.endif
|
||||
|
||||
.if exists(${LOCALBASE}/bin/convert)
|
||||
WITH_IMAGEMAGICK=yes
|
||||
.endif
|
||||
|
@ -74,6 +80,10 @@ CONFIUGURE_ARGS+= --enable-migemo
|
|||
.endif
|
||||
.endif
|
||||
|
||||
.if defined(WITH_ESTRAIER)
|
||||
RUN_DEPENDS+= estxview:${PORTSDIR}/japanese/estraier
|
||||
.endif
|
||||
|
||||
.if defined(WITH_IMAGEMAGICK)
|
||||
RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
|
||||
.endif
|
||||
|
|
Loading…
Reference in a new issue