diff options
author | daichi <daichi@FreeBSD.org> | 2012-05-23 09:27:59 +0800 |
---|---|---|
committer | daichi <daichi@FreeBSD.org> | 2012-05-23 09:27:59 +0800 |
commit | 2379892aa9b841569af4e67ad359435bd8490f16 (patch) | |
tree | 49b8a685bfbbd059dda854aa3398c923524b38aa /japanese/fcitx-mozc | |
parent | 265614646f472fe1009d2c49930d620102b8a0f4 (diff) | |
download | freebsd-ports-gnome-2379892aa9b841569af4e67ad359435bd8490f16.tar.gz freebsd-ports-gnome-2379892aa9b841569af4e67ad359435bd8490f16.tar.zst freebsd-ports-gnome-2379892aa9b841569af4e67ad359435bd8490f16.zip |
fixed some path issues
Submitted by: Zhihao Yuan <lichray@gmail.com>
Diffstat (limited to 'japanese/fcitx-mozc')
-rw-r--r-- | japanese/fcitx-mozc/Makefile | 7 | ||||
-rw-r--r-- | japanese/fcitx-mozc/pkg-message | 31 |
2 files changed, 37 insertions, 1 deletions
diff --git a/japanese/fcitx-mozc/Makefile b/japanese/fcitx-mozc/Makefile index fa15513bb52f..9c51c8402011 100644 --- a/japanese/fcitx-mozc/Makefile +++ b/japanese/fcitx-mozc/Makefile @@ -8,10 +8,15 @@ PKGNAMEPREFIX= ja-fcitx- PKGNAMESUFFIX= COMMENT= Mozc engine for Fcitx -DATADIR= ${PREFIX}/share/fcitx-${PORTNAME} +DATADIR= ${PREFIX}/share/fcitx/${PORTNAME} MASTERDIR= ${.CURDIR}/../../japanese/mozc-server +PKGMESSAGE= ${.CURDIR}/pkg-message BUILD_MOZC_LIST= fcitx_mozc +post-install: + @${CAT} ${PKGMESSAGE} + @${ECHO_CMD} To display this message again, type ${PKG_INFO} -D ${PKGNAME} + .include "${MASTERDIR}/Makefile" diff --git a/japanese/fcitx-mozc/pkg-message b/japanese/fcitx-mozc/pkg-message new file mode 100644 index 000000000000..d34f647d6130 --- /dev/null +++ b/japanese/fcitx-mozc/pkg-message @@ -0,0 +1,31 @@ +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. |