summaryrefslogtreecommitdiff
path: root/inputmethod/xcin
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2002-06-04 08:46:59 +0000
committeruebayasi <uebayasi@pkgsrc.org>2002-06-04 08:46:59 +0000
commit52ba3c12fdd54ef9a51e419d7944ad8d9c5e776b (patch)
treefb3ded455ae5cf6e25bfdad973dc09eb85255482 /inputmethod/xcin
parentae9e8640bcbf8d3a69cd7a271efad9d58e84d864 (diff)
downloadpkgsrc-52ba3c12fdd54ef9a51e419d7944ad8d9c5e776b.tar.gz
Initial import of xcin-2.3.5.pre2.
XCIN is an XIM (X Input Method) server which is widely used in Taiwan to perform Chinese input under X Window system. It is originally developed by Edward Der-Hua Liu (Oct. 1994) and many other programmers in early days; while now it is supported by the XCIN Project.
Diffstat (limited to 'inputmethod/xcin')
-rw-r--r--inputmethod/xcin/DESCR4
-rw-r--r--inputmethod/xcin/Makefile37
-rw-r--r--inputmethod/xcin/PLIST77
-rw-r--r--inputmethod/xcin/distinfo8
-rw-r--r--inputmethod/xcin/patches/patch-aa12
-rw-r--r--inputmethod/xcin/patches/patch-ab13
-rw-r--r--inputmethod/xcin/patches/patch-ac22
-rw-r--r--inputmethod/xcin/patches/patch-ad34
8 files changed, 207 insertions, 0 deletions
diff --git a/inputmethod/xcin/DESCR b/inputmethod/xcin/DESCR
new file mode 100644
index 00000000000..86e79978ff5
--- /dev/null
+++ b/inputmethod/xcin/DESCR
@@ -0,0 +1,4 @@
+XCIN is an XIM (X Input Method) server which is widely used in Taiwan to
+perform Chinese input under X Window system. It is originally developed
+by Edward Der-Hua Liu (Oct. 1994) and many other programmers in early
+days; while now it is supported by the XCIN Project.
diff --git a/inputmethod/xcin/Makefile b/inputmethod/xcin/Makefile
new file mode 100644
index 00000000000..17adbcea0f1
--- /dev/null
+++ b/inputmethod/xcin/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/06/04 08:46:59 uebayasi Exp $
+#
+
+DISTNAME= xcin-2.5.3.pre2
+PKGNAME= xcin-2.5.3rc2
+CATEGORIES= chinese x11
+MASTER_SITES= ftp://xcin.linux.org.tw/pub/xcin/xcin/devel/
+
+MAINTAINER= rxg@netbsd.org
+HOMEPAGE= http://xcin.linux.org.tw/
+COMMENT= Chinese XIM server
+
+USE_PERL5= yes
+USE_X11BASE= yes
+USE_LIBTOOL= yes
+LTCONFIG_OVERRIDE= ${WRKSRC}/script/ltmain.sh
+GNU_CONFIGURE= yes
+
+WRKSRC= ${WRKDIR}/xcin
+
+post-extract:
+ ${MV} ${WRKSRC}/doc/man ${WRKSRC}
+
+post-configure:
+ # this pkg generates libtool script from configure file
+ cd ${WRKSRC} && script/ltmain.sh
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xcin
+ ${CP} -Rf ${WRKSRC}/doc/* ${PREFIX}/share/doc/xcin
+
+.include "../../converters/libiconv/buildlink.mk"
+.include "../../databases/db3/buildlink.mk"
+.include "../../devel/gettext-lib/buildlink.mk"
+.include "../../inputmethod/libtabe/buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/inputmethod/xcin/PLIST b/inputmethod/xcin/PLIST
new file mode 100644
index 00000000000..2ebfe6a4809
--- /dev/null
+++ b/inputmethod/xcin/PLIST
@@ -0,0 +1,77 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/06/04 08:47:00 uebayasi Exp $
+bin/cin2tab
+bin/xcin
+etc/xcinrc
+lib/libxcin.a
+lib/libxcin.la
+lib/libxcin.so
+lib/libxcin.so.0
+lib/libxcin.so.0.0
+lib/xcin/bimsphone.a
+lib/xcin/bimsphone.la
+lib/xcin/bimsphone.so
+lib/xcin/gen_inp.a
+lib/xcin/gen_inp.la
+lib/xcin/gen_inp.so
+lib/xcin/tab/big5/array30.tab
+lib/xcin/tab/big5/bims_pinyin.tab
+lib/xcin/tab/big5/cj.tab
+lib/xcin/tab/big5/default.phr
+lib/xcin/tab/big5/jyutping.tab
+lib/xcin/tab/big5/jyutping0.tab
+lib/xcin/tab/big5/phone.tab
+lib/xcin/tab/big5/pinyin.tab
+lib/xcin/tab/big5/pinyin0.tab
+lib/xcin/tab/big5/simplex.tab
+lib/xcin/tab/big5/sys.tab
+lib/xcin/tab/big5/telecode.tab
+lib/xcin/tab/euccn/default.phr
+lib/xcin/tab/euccn/jtcj_gb.tab
+lib/xcin/tab/euccn/phonegb2.tab
+lib/xcin/tab/euccn/pinyin.tab
+lib/xcin/tab/euccn/shuangpin.tab
+lib/xcin/tab/euccn/sys.tab
+lib/xcin/tab/euccn/wubizixing.tab
+lib/xcin/zh_hex.a
+lib/xcin/zh_hex.la
+lib/xcin/zh_hex.so
+man/man1/xcin.1
+share/doc/xcin/Bugs
+share/doc/xcin/COPYING
+share/doc/xcin/CREDITS
+share/doc/xcin/Changes
+share/doc/xcin/Cin
+share/doc/xcin/CopyRight
+share/doc/xcin/En/README.En
+share/doc/xcin/En/SETUP.En
+share/doc/xcin/En/Usage.En
+share/doc/xcin/En/UserGuide.En
+share/doc/xcin/En/internal/module.En
+share/doc/xcin/En/internal/structer.En
+share/doc/xcin/FAQ
+share/doc/xcin/README
+share/doc/xcin/SETUP
+share/doc/xcin/Todo
+share/doc/xcin/Usage
+share/doc/xcin/UserGuide
+share/doc/xcin/history/Changes-19991011
+share/doc/xcin/internal/IMdkit
+share/doc/xcin/internal/gen_inp
+share/doc/xcin/internal/gui_request
+share/doc/xcin/internal/module
+share/doc/xcin/internal/structer
+share/doc/xcin/modules/bimsphone
+share/doc/xcin/modules/gen_inp
+share/doc/xcin/modules/im_comm
+share/doc/xcin/modules/zh_hex
+${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/xcin.mo
+@dirrm share/doc/xcin/modules
+@dirrm share/doc/xcin/internal
+@dirrm share/doc/xcin/history
+@dirrm share/doc/xcin/En/internal
+@dirrm share/doc/xcin/En
+@dirrm share/doc/xcin
+@dirrm lib/xcin/tab/euccn
+@dirrm lib/xcin/tab/big5
+@dirrm lib/xcin/tab
+@dirrm lib/xcin
diff --git a/inputmethod/xcin/distinfo b/inputmethod/xcin/distinfo
new file mode 100644
index 00000000000..ff262ffef56
--- /dev/null
+++ b/inputmethod/xcin/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/06/04 08:47:00 uebayasi Exp $
+
+SHA1 (xcin-2.5.3.pre2.tar.gz) = 27e4c47e09c44e92e3a3afc9e08134e1485f6795
+Size (xcin-2.5.3.pre2.tar.gz) = 1433915 bytes
+SHA1 (patch-aa) = f192f038e048d7118ea7969b12e424b5ba9903a9
+SHA1 (patch-ab) = 36c4c9e5ec17a45db62fc08c2d07cc0a9ff72ae2
+SHA1 (patch-ac) = b727da5616ee89e23a9aee86a66b287376f39431
+SHA1 (patch-ad) = c39bea80e15a1283e42855ea8ed25cddf8522b56
diff --git a/inputmethod/xcin/patches/patch-aa b/inputmethod/xcin/patches/patch-aa
new file mode 100644
index 00000000000..fba1e836959
--- /dev/null
+++ b/inputmethod/xcin/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/06/04 08:47:00 uebayasi Exp $
+
+--- etc/Makefile.in.orig Mon Mar 26 22:08:24 2001
++++ etc/Makefile.in
+@@ -38,7 +38,6 @@
+
+ install: all
+ if [ ! -d "$(xcin_rcp)" ]; then $(INSTALL) -d $(xcin_rcp); fi
+- if [ -f $(xcin_rcp)/xcinrc ]; then mv $(xcin_rcp)/xcinrc $(xcin_rcp)/xcinrc.old; fi
+ $(INSTALL_DATA) xcinrc $(xcin_rcp)
+
+ clean:
diff --git a/inputmethod/xcin/patches/patch-ab b/inputmethod/xcin/patches/patch-ab
new file mode 100644
index 00000000000..cb1eabd79d6
--- /dev/null
+++ b/inputmethod/xcin/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/06/04 08:47:00 uebayasi Exp $
+
+--- script/Makefile.in.orig Sun Nov 11 20:39:41 2001
++++ script/Makefile.in
+@@ -16,7 +16,7 @@
+ ( cd etc; ${MAKE} install )
+ ( cd cin; ${MAKE} install )
+ ( cd po; ${MAKE} install )
+- ( cd doc/man; ${MAKE} install )
++ ( cd man; ${MAKE} install )
+
+ clean:
+ ( cd src; ${MAKE} clean )
diff --git a/inputmethod/xcin/patches/patch-ac b/inputmethod/xcin/patches/patch-ac
new file mode 100644
index 00000000000..238718aba85
--- /dev/null
+++ b/inputmethod/xcin/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/06/04 08:47:00 uebayasi Exp $
+
+--- configure.orig Tue Nov 27 22:21:17 2001
++++ configure
+@@ -7666,7 +7666,7 @@
+ fi
+ done
+
+- if test $found = n; then
++ if test $found = y; then
+ echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
+ echo "configure:7672: checking for gettext in -lintl" >&5
+ ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
+@@ -8759,7 +8759,7 @@
+ cin/gb/Makefile \
+ etc/Makefile \
+ po/Makefile \
+- doc/man/Makefile"}
++ man/Makefile"}
+ EOF
+ cat >> $CONFIG_STATUS <<\EOF
+ for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
diff --git a/inputmethod/xcin/patches/patch-ad b/inputmethod/xcin/patches/patch-ad
new file mode 100644
index 00000000000..942dd0ef068
--- /dev/null
+++ b/inputmethod/xcin/patches/patch-ad
@@ -0,0 +1,34 @@
+$NetBSD: patch-ad,v 1.1.1.1 2002/06/04 08:47:00 uebayasi Exp $
+
+--- etc/xcinrc.NETBSD.orig Thu Nov 29 21:50:42 2001
++++ etc/xcinrc.NETBSD
+@@ -163,7 +163,7 @@
+ (DEFAULT_IM_SINMD "DEFAULT")
+ (PHRASE "default.phr")
+ (CINPUT (pinyin shuangpin jtcj_gb wubizixing phonegb2
+- array30 zh_hex))
++ zh_hex))
+ (FONTSET "-sony-*-24-*-iso8859-1,-*-medium-r-*-24-*-gb2312.1980-0")
+ (OVERSPOT_FONTSET "-sony-*-16-*-iso8859-1,-*-medium-r-*-16-*-gb2312.1980-0")))
+ ;
+@@ -180,7 +180,7 @@
+ (define jtcj_gb@euccn
+ '((SETKEY 3)))
+
+-(define phonegb2@gb2312
++(define phonegb2@euccn
+ '((SETKEY 4)
+ (END_KEY YES)
+ (BEEP_DUPCHAR YES)))
+@@ -188,11 +188,6 @@
+ (define wubizixing@euccn
+ '((SETKEY 5)))
+
+-(define array30@gb2312
+- '((SETKEY 8)
+- (BEEP_DUPCHAR YES)
+- (DISABLE_SEL_LIST "w")
+- (KEYSTROKE_REMAP "t:0xb5c4;T:0xb5c4")))
+
+
+ ;