diff --git a/chinese/auto-tw-l10n/Makefile b/chinese/auto-tw-l10n/Makefile index 9d6bb59bbf27..270fd17ceb2e 100644 --- a/chinese/auto-tw-l10n/Makefile +++ b/chinese/auto-tw-l10n/Makefile @@ -3,6 +3,7 @@ PORTNAME= auto-tw-l10n PORTVERSION= 1.14 +PORTREVISION= 1 CATEGORIES= chinese MASTER_SITES= LOCAL/sunpoet @@ -14,6 +15,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..a8f365d49494 --- /dev/null +++ b/chinese/auto-tw-l10n/files/patch-dot.xinitrc @@ -0,0 +1,9 @@ +--- dot.xinitrc.orig 2015-03-10 22:38:42.063200000 +0800 ++++ dot.xinitrc 2015-03-10 22:38:50.506224000 +0800 +@@ -1,6 +1,3 @@ +-# KDE4 +-#export PATH=/usr/local/kde4/bin:$PATH +- + export TERM=xterm + + export XMODIFIERS='@im=xcin'