diff options
author | leeym <leeym@FreeBSD.org> | 2003-08-09 20:27:24 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2003-08-09 20:27:24 +0800 |
commit | 38270ffdd54da222cf5f1a51f8e87e8707b14b39 (patch) | |
tree | 9cc993c92bfdcb88e627d3e3aa9cd71f1247eedb /chinese | |
parent | 662f50719f8a277440d109f369533c1873cc35d3 (diff) | |
download | freebsd-ports-gnome-38270ffdd54da222cf5f1a51f8e87e8707b14b39.tar.gz freebsd-ports-gnome-38270ffdd54da222cf5f1a51f8e87e8707b14b39.tar.zst freebsd-ports-gnome-38270ffdd54da222cf5f1a51f8e87e8707b14b39.zip |
patch for zh_CN.EUC.
PR: 54877
Submitted by: Statue <statue@freebsd.sinica.edu.tw>
Approved by: Kuang-che Wu <kcwu@kcwu.homeip.net>
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/xcin25/Makefile | 8 | ||||
-rw-r--r-- | chinese/xcin25/pkg-plist | 16 |
2 files changed, 15 insertions, 9 deletions
diff --git a/chinese/xcin25/Makefile b/chinese/xcin25/Makefile index e5c9c4d2fd4a..99a555d31809 100644 --- a/chinese/xcin25/Makefile +++ b/chinese/xcin25/Makefile @@ -31,8 +31,9 @@ RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/local/kc15f.pcf.gz:${PORTSDIR}/chinese/kcf WRKSRC= ${WRKDIR}/xcin USE_X_PREFIX= yes -GNU_CONFIGURE= yes +USE_LIBTOOL= yes INSTALLS_SHLIB= yes +USE_REINPLACE= yes CONFIGURE_ARGS= --prefix=${PREFIX} \ --x-libraries=${X11BASE}/lib \ --with-xcin-dir=${PREFIX}/lib/X11/xcin25 \ @@ -64,6 +65,11 @@ post-extract: post-patch: @cd ${WRKSRC}/src/Cinput/chewing; ${SH} ./patch_chewing + ${REINPLACE_CMD} -e "s,@euc,@euccn,g" \ + -e "s,@gb2312,@euccn,g" \ + ${WRKSRC}/etc/xcinrc.FREEBSD + ${REINPLACE_CMD} -e "s,euc ,euccn ,g" \ + ${WRKSRC}/cin/gb/Makefile.in post-install: .if !defined(NOPORTDOCS) diff --git a/chinese/xcin25/pkg-plist b/chinese/xcin25/pkg-plist index 581ed407b342..ec66cf3fe999 100644 --- a/chinese/xcin25/pkg-plist +++ b/chinese/xcin25/pkg-plist @@ -52,13 +52,13 @@ lib/X11/xcin25/tab/big5/sys.tab lib/X11/xcin25/tab/big5/telecode.tab lib/X11/xcin25/tab/ch_index.dat lib/X11/xcin25/tab/dict.dat -lib/X11/xcin25/tab/euc/default.phr -lib/X11/xcin25/tab/euc/jtcj_gb.tab -lib/X11/xcin25/tab/euc/pinyin.tab -lib/X11/xcin25/tab/euc/phonegb2.tab -lib/X11/xcin25/tab/euc/shuangpin.tab -lib/X11/xcin25/tab/euc/sys.tab -lib/X11/xcin25/tab/euc/wubizixing.tab +lib/X11/xcin25/tab/euccn/default.phr +lib/X11/xcin25/tab/euccn/jtcj_gb.tab +lib/X11/xcin25/tab/euccn/pinyin.tab +lib/X11/xcin25/tab/euccn/phonegb2.tab +lib/X11/xcin25/tab/euccn/shuangpin.tab +lib/X11/xcin25/tab/euccn/sys.tab +lib/X11/xcin25/tab/euccn/wubizixing.tab lib/X11/xcin25/tab/fonetree.dat lib/X11/xcin25/tab/ph_index.dat lib/X11/xcin25/tab/us_freq.dat @@ -78,6 +78,6 @@ share/locale/zh_TW.Big5/LC_MESSAGES/xcin.mo %%PORTDOCS%%@dirrm lib/X11/xcin25/doc @dirrm lib/X11/xcin25/bin @dirrm lib/X11/xcin25/tab/big5 -@dirrm lib/X11/xcin25/tab/euc +@dirrm lib/X11/xcin25/tab/euccn @dirrm lib/X11/xcin25/tab @dirrm lib/X11/xcin25 |