aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2004-08-29 22:02:23 +0800
committersem <sem@FreeBSD.org>2004-08-29 22:02:23 +0800
commit71f69a063992a5197f0f1f24b38682b23501cdff (patch)
treeb020a9aa621f2e0cf9737d5e323cf4affb051fa3 /www
parent6b61413757d3cfca59bd485d15356f812faefabd (diff)
downloadfreebsd-ports-gnome-71f69a063992a5197f0f1f24b38682b23501cdff.tar.gz
freebsd-ports-gnome-71f69a063992a5197f0f1f24b38682b23501cdff.tar.zst
freebsd-ports-gnome-71f69a063992a5197f0f1f24b38682b23501cdff.zip
Add option to enable a full-text search system (japanese)
Bump PORTREVISION PR: ports/71091 Submitted by: maintainer
Diffstat (limited to 'www')
-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