aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/cmigemo/files/patch-compile_config.mk.in
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2011-08-23 01:17:43 +0800
committernobutaka <nobutaka@FreeBSD.org>2011-08-23 01:17:43 +0800
commit495e0e5b7210fe10abb881e1c61747bb63533647 (patch)
treecde730b0946b7c308dd71a15f6aa734e89103abe /japanese/cmigemo/files/patch-compile_config.mk.in
parent03990dfb6b1eac1f5f40d57437cccf703a00e139 (diff)
downloadfreebsd-ports-graphics-495e0e5b7210fe10abb881e1c61747bb63533647.tar.gz
freebsd-ports-graphics-495e0e5b7210fe10abb881e1c61747bb63533647.tar.zst
freebsd-ports-graphics-495e0e5b7210fe10abb881e1c61747bb63533647.zip
Add cmigemo, C implementation of Migemo Japanese incremental search tool.
Diffstat (limited to 'japanese/cmigemo/files/patch-compile_config.mk.in')
-rw-r--r--japanese/cmigemo/files/patch-compile_config.mk.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/japanese/cmigemo/files/patch-compile_config.mk.in b/japanese/cmigemo/files/patch-compile_config.mk.in
new file mode 100644
index 00000000000..bc103f0c566
--- /dev/null
+++ b/japanese/cmigemo/files/patch-compile_config.mk.in
@@ -0,0 +1,24 @@
+--- compile/config.mk.in.orig 2011-02-27 19:45:40.000000000 +0900
++++ compile/config.mk.in 2011-08-17 00:07:28.000000000 +0900
+@@ -18,8 +18,8 @@
+ incdir = $(prefix)/include
+ # WARNING: Directories $(dictdir) and $(docdir) will be deleted whole the
+ # directory when unintall.
+-dictdir = $(prefix)/share/migemo
+-docdir = $(prefix)/doc/migemo
++dictdir = $(prefix)/share/cmigemo
++docdir = $(prefix)/share/doc/ja/cmigemo
+
+ ##############################################################################
+ # Commands
+@@ -33,8 +33,8 @@
+ PERL = perl
+ BUNZIP2 = bzip2 -d
+ GUNZIP = gzip -d
+-FILTER_CP932 = ${PROGRAM_ENCODEFILTER} -s
+-FILTER_EUCJP = ${PROGRAM_ENCODEFILTER} -e
++FILTER_CP932 = iconv -t cp932 -f euc-jp
++FILTER_EUCJP = iconv -t euc-jp -f cp932
+ FILTER_UTF8 = iconv -t utf-8 -f cp932
+ INSTALL = ${PROGRAM_INSTALL} -c
+ INSTALL_PROGRAM = $(INSTALL) -m 755