aboutsummaryrefslogtreecommitdiff
path: root/www/kazehakase
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2004-08-29 14:02:23 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2004-08-29 14:02:23 +0000
commit50ebe8ef3d2c7439ffc529bfbc018f479b621e34 (patch)
treee5a01dcb8be777b412317ad977de1e55666102fa /www/kazehakase
parent55f60f49836c8a9189dea9171d14d908c6662530 (diff)
downloadports-50ebe8ef3d2c7439ffc529bfbc018f479b621e34.tar.gz
ports-50ebe8ef3d2c7439ffc529bfbc018f479b621e34.zip
Add option to enable a full-text search system (japanese)
Bump PORTREVISION PR: ports/71091 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=117565
Diffstat (limited to 'www/kazehakase')
-rw-r--r--www/kazehakase/Makefile10
-rw-r--r--www/kazehakase/files/patch-configure0
2 files changed, 10 insertions, 0 deletions
diff --git a/www/kazehakase/Makefile b/www/kazehakase/Makefile
index d8cf593a0e00..fe9f5b33db6a 100644
--- a/www/kazehakase/Makefile
+++ b/www/kazehakase/Makefile
@@ -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
diff --git a/www/kazehakase/files/patch-configure b/www/kazehakase/files/patch-configure
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/www/kazehakase/files/patch-configure
+++ /dev/null