aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/fcitx
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-04-05 22:42:55 +0800
committerleeym <leeym@FreeBSD.org>2003-04-05 22:42:55 +0800
commitf9e55167647b75170cce5b9fe3e24ea51b793f36 (patch)
treecb912db8b13e0fb2905194b31cda8788912af6b7 /chinese/fcitx
parentfe57685b7a5e5a0112b47a9c32f5354af8a2caaa (diff)
downloadfreebsd-ports-gnome-f9e55167647b75170cce5b9fe3e24ea51b793f36.tar.gz
freebsd-ports-gnome-f9e55167647b75170cce5b9fe3e24ea51b793f36.tar.zst
freebsd-ports-gnome-f9e55167647b75170cce5b9fe3e24ea51b793f36.zip
modify tools.c and set default locale to zh_CN.EUC
bump PORTREVISION PR: 50620 Submitted by: Statue <statue@freebsd.sinica.edu.tw>
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}