summaryrefslogtreecommitdiff
path: root/chinese/fcitx
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-04-05 14:42:55 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-04-05 14:42:55 +0000
commit8b5b847bd392ba96887f43d698aee315da0a9fd5 (patch)
tree7f0b5ed9cf95b2aef7410b767015a5f214d63b3c /chinese/fcitx
parentJabber MSN-Transport module (diff)
modify tools.c and set default locale to zh_CN.EUC
bump PORTREVISION PR: 50620 Submitted by: Statue <statue@freebsd.sinica.edu.tw>
Notes
Notes: svn path=/head/; revision=78304
Diffstat (limited to 'chinese/fcitx')
-rw-r--r--chinese/fcitx/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/chinese/fcitx/Makefile b/chinese/fcitx/Makefile
index 372af7061c3d..c244727eedba 100644
--- a/chinese/fcitx/Makefile
+++ b/chinese/fcitx/Makefile
@@ -7,6 +7,7 @@
PORTNAME= fcitx
PORTVERSION= 1.8.2
+PORTREVISION= 1
CATEGORIES= chinese
MASTER_SITES= http://www.linuxsir.com.cn/fcitx/
@@ -16,15 +17,15 @@ COMMENT= A simple and fast GBK Chinese XIM server
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
USE_XLIB= yes
-USE_REINPLACE= yes
+USE_REINPLACE= yes
post-patch:
@${REINPLACE_CMD} -e 's#usr/share#usr/local/share#g' ${WRKSRC}/Makefile ${WRKSRC}/ime.h
@${REINPLACE_CMD} -e 's#usr/bin#usr/local/bin#g' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's#zh_CN.GB2312#zh_CN.EUC#g' ${WRKSRC}/window.c
@${REINPLACE_CMD} -e 's#zh_CN.gb2312#zh_CN.EUC#g' ${WRKSRC}/xim.c
- @${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
- ${WRKSRC}/IMdkit/lib/IMConn.c
+ @${REINPLACE_CMD} -e 's#zh_CN.GBK#zh_CN.EUC#g' ${WRKSRC}/tools.c
+ @${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' ${WRKSRC}/IMdkit/lib/IMConn.c
post-install:
@${CAT} ${PKGMESSAGE}