aboutsummaryrefslogtreecommitdiff
path: root/japanese/fcitx-mozc
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2015-02-14 22:12:20 +0000
committerHiroki Sato <hrs@FreeBSD.org>2015-02-14 22:12:20 +0000
commit322a6f18a560d5eb8daa32eafafab73374cc5399 (patch)
treec77b509f5dba08adef07bd00841abc106b259a30 /japanese/fcitx-mozc
parent6eedd38cb125010ad24b6b53cad13b044cb60e81 (diff)
downloadports-322a6f18a560d5eb8daa32eafafab73374cc5399.tar.gz
ports-322a6f18a560d5eb8daa32eafafab73374cc5399.zip
Update to 2.16.2051.102.
- fcitx-mozc has been updated to 2.16.2037.102.2 patch. - mozc_server_* scripts have been replaced with a single mozc script.
Notes
Notes: svn path=/head/; revision=379025
Diffstat (limited to 'japanese/fcitx-mozc')
-rw-r--r--japanese/fcitx-mozc/Makefile4
-rw-r--r--japanese/fcitx-mozc/files/pkg-message.in8
-rw-r--r--japanese/fcitx-mozc/pkg-message31
3 files changed, 11 insertions, 32 deletions
diff --git a/japanese/fcitx-mozc/Makefile b/japanese/fcitx-mozc/Makefile
index 5c450c1a00c6..a1a43690e51b 100644
--- a/japanese/fcitx-mozc/Makefile
+++ b/japanese/fcitx-mozc/Makefile
@@ -7,7 +7,9 @@ COMMENT= Mozc engine for Fcitx
DATADIR= ${PREFIX}/share/fcitx/${PORTNAME}
MASTERDIR= ${.CURDIR}/../../japanese/mozc-server
-PKGMESSAGE= ${.CURDIR}/pkg-message
+FILESDIR= ${.CURDIR}/files
+SUB_FILES= pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
BUILD_MOZC_LIST= fcitx_mozc
diff --git a/japanese/fcitx-mozc/files/pkg-message.in b/japanese/fcitx-mozc/files/pkg-message.in
new file mode 100644
index 000000000000..e76eb3120804
--- /dev/null
+++ b/japanese/fcitx-mozc/files/pkg-message.in
@@ -0,0 +1,8 @@
+To activate fcitx-mozc, please add the following into ~/.xinitrc,
+~/.xsession, or ~/.kde4/env (for KDE4):
+
+export GTK_IM_MODULE=fcitx
+export QT_IM_MODULE=xim
+export XMODIFIERS=@im=fcitx
+%%PREFIX%%/bin/mozc start
+fcitx -r -d
diff --git a/japanese/fcitx-mozc/pkg-message b/japanese/fcitx-mozc/pkg-message
deleted file mode 100644
index d34f647d6130..000000000000
--- a/japanese/fcitx-mozc/pkg-message
+++ /dev/null
@@ -1,31 +0,0 @@
-fcitx-mozc installation finished. To use fcitx-mozc, please do the following:
-
-If you are using bash or zsh, please add following lines to your $HOME/.bashrc or
-$HOME/.zshrc:
-
-export GTK_IM_MODULE=xim
-export QT_IM_MODULE=xim
-export XMODIFIERS=@im=fcitx
-mozc_server_start
-fcitx
-
-If you are using tcsh, please add following lines to your $HOME/.cshrc:
-
-setenv GTK_IM_MODULE xim
-setenv QT_IM_MODULE xim
-setenv XMODIFIERS @im=fcitx
-mozc_server_start
-fcitx
-
-If you are using KDE4, you may create a shell script in $HOME/.kde4/env,
-and add following lines:
-
-#!/bin/sh
-export GTK_IM_MODULE=xim
-export QT_IM_MODULE=xim
-export XMODIFIERS=@im=fcitx
-mozc_server_start
-fcitx
-
-You can replace the `xim` above with `fcitx` if you built fcitx with
-the corresponding IM module.