diff --git a/chinese/auto-tw-l10n/Makefile b/chinese/auto-tw-l10n/Makefile index 79b473335cc9..39ecc0cc2c4a 100644 --- a/chinese/auto-tw-l10n/Makefile +++ b/chinese/auto-tw-l10n/Makefile @@ -3,6 +3,7 @@ PORTNAME= auto-tw-l10n PORTVERSION= 1.15 +PORTREVISION= 1 CATEGORIES= chinese MASTER_SITES= LOCAL/sunpoet @@ -15,6 +16,9 @@ USES= tar:xz SUB_FILES= pkg-message +pre-install: + @${FIND} ${WRKSRC} -name "*.orig" -delete + do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/skel/zh_TW.UTF-8/ ${INSTALL_DATA} ${WRKSRC}/* ${STAGEDIR}${PREFIX}/share/skel/zh_TW.UTF-8/ diff --git a/chinese/auto-tw-l10n/files/patch-dot.xinitrc b/chinese/auto-tw-l10n/files/patch-dot.xinitrc new file mode 100644 index 000000000000..a5e685e275a4 --- /dev/null +++ b/chinese/auto-tw-l10n/files/patch-dot.xinitrc @@ -0,0 +1,26 @@ +--- dot.xinitrc.orig 2016-04-30 18:04:47 UTC ++++ dot.xinitrc +@@ -4,19 +4,23 @@ export XMODIFIERS='@im=xcin' + #export XMODIFIERS='@im=SCIM' + #export XMODIFIERS='@im=oxim' + #export XMODIFIERS=@im=ibus ++#export XMODIFIERS='@im=fcitx' + + #export GTK_IM_MODULE=xcin + export GTK_IM_MODULE=xim + #export GTK_IM_MODULE=scim + #export GTK_IM_MODULE=oxim + #export GTK_IM_MODULE=ibus ++#export GTK_IM_MODULE=fcitx + + export QT_IM_MODULE=xim ++#export QT_IM_MODULE=fcitx + + export GCIN_XIM=xcin + + # Input Method + exec gcin & ++#exec fcitx & + #exec xcin2.5 & + #scim -d & + #exec oxim &