aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-08-09 12:27:24 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-08-09 12:27:24 +0000
commit08014e349da7735d41979777da97c591fa029e54 (patch)
tree0dfc20c40e446e2991e70748b009a2d3da3cff1a /chinese
parent3e229ed755157cfad0593fde768675c0ddf25a42 (diff)
downloadports-08014e349da7735d41979777da97c591fa029e54.tar.gz
ports-08014e349da7735d41979777da97c591fa029e54.zip
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/xcin25/Makefile8
-rw-r--r--chinese/xcin25/pkg-plist16
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