summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authorshell <shell>2002-06-15 09:29:14 +0000
committershell <shell>2002-06-15 09:29:14 +0000
commit0db1a5804864740af9a9e9a13470efa9bc365cb4 (patch)
treebaf71d7a8858ead08955f670a13b9c34553638bf /inputmethod
parentb48500b92d962dd67a3552590cdfce56d4f284ce (diff)
downloadpkgsrc-0db1a5804864740af9a9e9a13470efa9bc365cb4.tar.gz
Initial import of unicon-im-1.2
(PR#17230 by Rui-Xiang Guo <rxg@netbsd.org>) libraries and modules of Unicon --- The Unicon project intend to implement display/input CJK (Chinese/Japanese/Korean) characters under the Framebuffer under Linux. This package will install the libraries and modules for Chinput.
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/unicon-im/DESCR5
-rw-r--r--inputmethod/unicon-im/Makefile19
-rw-r--r--inputmethod/unicon-im/PLIST54
-rw-r--r--inputmethod/unicon-im/distinfo11
-rw-r--r--inputmethod/unicon-im/patches/patch-aa35
-rw-r--r--inputmethod/unicon-im/patches/patch-ab49
-rw-r--r--inputmethod/unicon-im/patches/patch-ac13
-rw-r--r--inputmethod/unicon-im/patches/patch-ad51
-rw-r--r--inputmethod/unicon-im/patches/patch-ae55
-rw-r--r--inputmethod/unicon-im/patches/patch-af61
-rw-r--r--inputmethod/unicon-im/patches/patch-ag14
11 files changed, 367 insertions, 0 deletions
diff --git a/inputmethod/unicon-im/DESCR b/inputmethod/unicon-im/DESCR
new file mode 100644
index 00000000000..b2831300ef9
--- /dev/null
+++ b/inputmethod/unicon-im/DESCR
@@ -0,0 +1,5 @@
+The Unicon project intend to implement display/input CJK
+(Chinese/Japanese/Korean) characters under the Framebuffer under
+Linux.
+
+This package will install the libraries and modules for Chinput.
diff --git a/inputmethod/unicon-im/Makefile b/inputmethod/unicon-im/Makefile
new file mode 100644
index 00000000000..aad87d8ec71
--- /dev/null
+++ b/inputmethod/unicon-im/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/06/15 09:29:14 shell Exp $
+
+DISTNAME= unicon-1.2
+PKGNAME= unicon-im-1.2
+CATEGORIES= inputmethod
+MASTER_SITES= http://www.opencjk.org/~yumj/download/
+
+MAINTAINER= rxg@netbsd.org
+HOMEPAGE= http://www.opencjk.org/~yumj/project-chinput.html
+COMMENT= libraries and modules of Unicon
+
+USE_PTHREAD= native pth
+USE_LIBTOOL= YES
+
+GNU_CONFIGURE= YES
+
+.include "../../mk/pthread.buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/inputmethod/unicon-im/PLIST b/inputmethod/unicon-im/PLIST
new file mode 100644
index 00000000000..8c82228cddc
--- /dev/null
+++ b/inputmethod/unicon-im/PLIST
@@ -0,0 +1,54 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/06/15 09:29:15 shell Exp $
+lib/libimm_server.a
+lib/libimm_server.la
+lib/libimm_server.so
+lib/libimm_server.so.1
+lib/libimm_server.so.${PKGVERSION}
+lib/libimmclient.a
+lib/libimmclient.la
+lib/libimmclient.so
+lib/libimmclient.so.1
+lib/libimmclient.so.${PKGVERSION}
+lib/unicon/TL_hzinput.a
+lib/unicon/TL_hzinput.la
+lib/unicon/TL_hzinput.so
+lib/unicon/big5/cantonese.tab
+lib/unicon/big5/cj.tab
+lib/unicon/big5/pinyin.tab
+lib/unicon/big5/simplex.tab
+lib/unicon/cce_hzinput.a
+lib/unicon/cce_hzinput.la
+lib/unicon/cce_hzinput.so
+lib/unicon/cce_pinyin.a
+lib/unicon/cce_pinyin.la
+lib/unicon/cce_pinyin.so
+lib/unicon/freepy/pinyin.cin
+lib/unicon/freepy/pinyin.imm
+lib/unicon/freepy/pinyin.map
+lib/unicon/freepy/pinyin.tab
+lib/unicon/freepy/pinyin.tab.lx
+lib/unicon/freepy/pinyin.tab.phr
+lib/unicon/freepy/sysphrase.tab
+lib/unicon/freepy/sysphrase.txt
+lib/unicon/freepy/usrphrase.tab
+lib/unicon/freepy/usrphrase.txt
+lib/unicon/gb/CCDOSPY.tab
+lib/unicon/gb/CTLau.tab
+lib/unicon/gb/CangJie.tab
+lib/unicon/gb/English.tab
+lib/unicon/gb/PY.tab
+lib/unicon/gb/QianMa.tab
+lib/unicon/gb/SW.tab
+lib/unicon/gb/WuBi.tab
+lib/unicon/gb/ziranma.tab
+lib/unicon/gb/zrm-2.tab
+lib/unicon/gbk/gbkpy_mb.tab
+lib/unicon/sys-big5.tab
+lib/unicon/sys-gb.tab
+lib/unicon/tl_sysphrase.big5.bin
+lib/unicon/tl_sysphrase.gb.bin
+@dirrm lib/unicon/gbk
+@dirrm lib/unicon/gb
+@dirrm lib/unicon/freepy
+@dirrm lib/unicon/big5
+@dirrm lib/unicon
diff --git a/inputmethod/unicon-im/distinfo b/inputmethod/unicon-im/distinfo
new file mode 100644
index 00000000000..2b3b1148684
--- /dev/null
+++ b/inputmethod/unicon-im/distinfo
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/06/15 09:29:14 shell Exp $
+
+SHA1 (unicon-1.2.tar.gz) = 61854d160547f645f8033f0b4fd15ebb15ab92a8
+Size (unicon-1.2.tar.gz) = 7815217 bytes
+SHA1 (patch-aa) = b9103d7fb810a6151144ccff9ff537fe8e505d51
+SHA1 (patch-ab) = 6d88b2c988fd793d56fa26e951a36284cb68655f
+SHA1 (patch-ac) = 1d39276efc5f20d7394fe08d6c9eb75308829d9b
+SHA1 (patch-ad) = 01de02c2ae547adee291dd119b86fb3097c02db5
+SHA1 (patch-ae) = c26e800c754a45fbd7085f4ff1659d2ed9053cc4
+SHA1 (patch-af) = 9c593e5a6d6291801fcbcd837bc6814d50814b46
+SHA1 (patch-ag) = 7955678370e49317b8e9244616fd49f65667d167
diff --git a/inputmethod/unicon-im/patches/patch-aa b/inputmethod/unicon-im/patches/patch-aa
new file mode 100644
index 00000000000..92265ab60c7
--- /dev/null
+++ b/inputmethod/unicon-im/patches/patch-aa
@@ -0,0 +1,35 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/06/15 09:29:15 shell Exp $
+
+--- Makefile.in.orig Mon May 22 17:21:20 2000
++++ Makefile.in
+@@ -2,7 +2,6 @@
+ all:
+ cd server; make
+ cd client; make
+- cd unicon; make
+ cd ImmModules/CCE; make
+ cd ImmModules/TL-1; make
+
+@@ -15,19 +14,14 @@
+ data: gbdata big5data
+
+ install:
+- if [ ! -d $(prefix) ] ; then mkdir -p $(prefix); fi
+- if [ ! -d $(prefix)/lib/unicon2 ] ; then mkdir -p $(prefix)/lib/unicon2; fi
+- if [ ! -d $(prefix)/bin ] ; then mkdir -p $(prefix)/bin; fi
+- if [ ! -d $(prefix)/lib/unicon2/gbk ] ; then mkdir -p $(prefix)/lib/unicon2/gbk; fi
+- if [ ! -d $(prefix)/lib/unicon2/gb ] ; then mkdir -p $(prefix)/lib/unicon2/gb; fi
+- if [ ! -d $(prefix)/lib/unicon2/big5 ] ; then mkdir -p $(prefix)/lib/unicon2/big5; fi
+- if [ ! -d $(prefix)/lib/unicon2/freepy ] ; then mkdir -p $(prefix)/lib/unicon2/freepy; fi
++ $(BSD_INSTALL_DATA_DIR) $(prefix)/lib/unicon
+ cd data; make install
+ cd server; make install
+ cd client; make install
+- cd unicon; make install
+ cd ImmModules/CCE; make install
+ cd ImmModules/TL-1; make install
++ $(BSD_INSTALL_DATA) unicon/sys-big5.tab $(prefix)/lib/unicon
++ $(BSD_INSTALL_DATA) unicon/sys-gb.tab $(prefix)/lib/unicon
+
+ clean:
+ cd server; make clean
diff --git a/inputmethod/unicon-im/patches/patch-ab b/inputmethod/unicon-im/patches/patch-ab
new file mode 100644
index 00000000000..71c709e7221
--- /dev/null
+++ b/inputmethod/unicon-im/patches/patch-ab
@@ -0,0 +1,49 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/06/15 09:29:15 shell Exp $
+
+--- server/Makefile.in.orig Mon May 22 18:32:04 2000
++++ server/Makefile.in
+@@ -1,7 +1,7 @@
+ prefix=@prefix@
+-CFLAGS = @CFLAGS@
++CFLAGS = -Wall -I. -I../include @CFLAGS@
+ APP_PROG = imm_server
+-DLIB_PROG = libimm_server.so
++DLIB_PROG = libimm_server.a
+
+ APP_OBJS = TLS_HzInput.o TLS_ImmOp.o TLS_TcpipMain.o TLS_MemFile.o \
+ TLS_PthSocket.o TLS_Debug.o \
+@@ -14,16 +14,16 @@
+ LIBS = /usr/local/lib/libpth.so -ldl
+
+ # CFLAGS = -g -D__IMM_DEBUG__ -Wall -I. -I/usr/local/include -I../include
+-CFLAGS = -g -Wall -I. -I/usr/local/include -I../include
+-CC=g++
++CC = $(LIBTOOL) --mode=compile $(CXX)
+
+-all: $(DLIB_PROG)
++all: $(DLIB_OBJS)
++ $(LIBTOOL) --mode=link $(CXX) -o $(DLIB_PROG:.a=.la) $(DLIB_OBJS:.o=.lo) -rpath $(prefix)/lib -version-info 1:2
+
+ libimm_server.so: $(DLIB_OBJS)
+ $(CC) $(DLIB_OBJS) -shared -o $(DLIB_PROG)
+
+ TLS_LibMain.o : TLS_LibMain.cpp
+- $(CC) $(CFLAGS) -DUNICON2_LIB=\"$(prefix)/lib/unicon2\" -c TLS_LibMain.cpp -o TLS_LibMain.o
++ $(CC) $(CFLAGS) -DUNICON2_LIB=\"$(prefix)/lib/unicon\" -c TLS_LibMain.cpp -o TLS_LibMain.o
+
+ app: $(APP_OBJS)
+ $(CC) $(APP_OBJS) $(LIBS) -o $(APP_PROG)
+@@ -44,11 +44,8 @@
+ TLS_AsciiConvertor.o : TLS_AsciiConvertor.cpp
+ $(CC) $(CFLAGS) -c TLS_AsciiConvertor.cpp -o TLS_AsciiConvertor.o
+
+-install: all
+- mkdir -p $(prefix)/bin
+- mkdir -p $(prefix)/lib/unicon2
+- if [ -f $(APP_PROG) ]; then cp -f $(APP_PROG) $(prefix)/bin; fi
+- if [ -f $(DLIB_PROG) ]; then cp -f $(DLIB_PROG) $(prefix)/lib/unicon2; fi
++install:
++ $(LIBTOOL) --mode=install $(BSD_INSTALL_DATA) $(DLIB_PROG:.a=.la) $(prefix)/lib
+
+ clean:
+ if test -e $(PROG); then rm -f $(PROG); fi
diff --git a/inputmethod/unicon-im/patches/patch-ac b/inputmethod/unicon-im/patches/patch-ac
new file mode 100644
index 00000000000..20601d7dd4e
--- /dev/null
+++ b/inputmethod/unicon-im/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/06/15 09:29:15 shell Exp $
+
+--- server/TLS_Debug.hpp.orig Sat Jun 8 14:12:06 2002
++++ server/TLS_Debug.hpp
+@@ -3,6 +3,8 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <stdarg.h>
++#include <sys/types.h>
+
+ typedef char * PSTR;
+ class TLS_CDebug
diff --git a/inputmethod/unicon-im/patches/patch-ad b/inputmethod/unicon-im/patches/patch-ad
new file mode 100644
index 00000000000..261baa62f4d
--- /dev/null
+++ b/inputmethod/unicon-im/patches/patch-ad
@@ -0,0 +1,51 @@
+$NetBSD: patch-ad,v 1.1.1.1 2002/06/15 09:29:15 shell Exp $
+
+--- client/Makefile.in.orig Mon May 22 17:47:14 2000
++++ client/Makefile.in
+@@ -1,20 +1,21 @@
+ prefix=@prefix@
+-CFLAGS = @CFLAGS@
++CFLAGS = -Wall -I. -I../include -I../server -I../client @CFLAGS@
+ PROG_LIB = libimmclient.a
+ SLIB_OBJS = TLC_TcpipImmClient.o TLC_ImmServer.o TLC_Utils.o \
+ TLC_MemFile.o TLC_SocketClient.o
+ DLIB_OBJS = TLC_LibImmClient.o TLC_Utils.o
+ SERVER_LIB=../server/libimm_server.so
+
+-CFLAGS = -g -Wall -I. -I../include -I../server -I../client
+ # CFLAGS = -g -D__IMM_DEBUG__ -Wall -I. -I../include
++CC = $(LIBTOOL) --mode=compile $(CXX)
+
+-all: $(PROG_LIB)
++all: $(DLIB_OBJS)
++ $(LIBTOOL) --mode=link $(CXX) -o $(PROG_LIB:.a=.la) $(DLIB_OBJS:.o=.lo) -rpath $(prefix)/lib -version-info 1:2
+
+ libimmclient.a: $(DLIB_OBJS)
+ ar rc $(PROG_LIB) $(DLIB_OBJS)
+ TLC_LibImmClient.o: TLC_LibImmClient.cpp
+- gcc $(CFLAGS) -c TLC_LibImmClient.cpp -o TLC_LibImmClient.o
++ $(CC) $(CFLAGS) -c TLC_LibImmClient.cpp -o TLC_LibImmClient.o
+
+ slib: $(SLIB_OBJS)
+ ar rc $(PROG_LIB) $(SLIB_OBJS)
+@@ -23,7 +24,7 @@
+ TLC_ImmServer.o: TLC_ImmServer.cpp TLC_ImmServer.hpp
+ gcc $(CFLAGS) -c TLC_ImmServer.cpp -o TLC_ImmServer.o
+ TLC_Utils.o: TLC_Utils.cpp
+- gcc $(CFLAGS) -c TLC_Utils.cpp -o TLC_Utils.o
++ $(CC) $(CFLAGS) -c TLC_Utils.cpp -o TLC_Utils.o
+ TLC_MemFile.o: TLC_MemFile.cpp TLC_MemFile.hpp
+ gcc $(CFLAGS) -c TLC_MemFile.cpp -o TLC_MemFile.o
+ TLC_SocketClient.o: TLC_SocketClient.cpp TLC_SocketClient.hpp
+@@ -32,9 +33,8 @@
+ test: all $(SERVER_LIB)
+ g++ $(CFLAGS) -D__DLL_SUPPORT__ -ldl -lpth test.cpp $(PROG_LIB) $(SERVER_LIB) -o test
+
+-install: all
+- mkdir -p $(prefix)/lib/unicon2
+- cp -f $(PROG_LIB) $(prefix)/lib/unicon2
++install:
++ $(LIBTOOL) --mode=install $(BSD_INSTALL_DATA) $(PROG_LIB:.a=.la) $(prefix)/lib
+ clean:
+ rm -f *.o *.bak $(PROG_LIB) $(PROG)
+
diff --git a/inputmethod/unicon-im/patches/patch-ae b/inputmethod/unicon-im/patches/patch-ae
new file mode 100644
index 00000000000..51c5975fdd9
--- /dev/null
+++ b/inputmethod/unicon-im/patches/patch-ae
@@ -0,0 +1,55 @@
+$NetBSD: patch-ae,v 1.1.1.1 2002/06/15 09:29:15 shell Exp $
+
+--- ImmModules/CCE/Makefile.in.orig Mon May 22 17:21:42 2000
++++ ImmModules/CCE/Makefile.in
+@@ -1,24 +1,27 @@
+ prefix=@prefix@
+-CFLAGS = @CFLAGS@
+-PROG = cce_hzinput.so
+-CCE_OBJS = xl_hzinput.o CCE_hzinput.o \
+- xl_pinyin.o CCE_pinyin.o
+-
+-CFLAGS = -g -Wall -I../../include -I.
+-
+-all: cce_hzinput.so cce_pinyin.so test
++CFLAGS = -Wall -I../../include -I. @CFLAGS@
++HZ_PROG = cce_hzinput.a
++PY_PROG = cce_pinyin.a
++HZ_OBJS = xl_hzinput.o CCE_hzinput.o
++PY_OBJS = xl_pinyin.o CCE_pinyin.o
++
++CC = $(LIBTOOL) --mode=compile @CC@
++
++all: $(HZ_OBJS) $(PY_OBJS)
++ $(LIBTOOL) --mode=link @CC@ -o $(HZ_PROG:.a=.la) $(HZ_OBJS:.o=.lo) -rpath $(prefix)/lib/unicon -module -avoid-version
++ $(LIBTOOL) --mode=link @CC@ -o $(PY_PROG:.a=.la) $(PY_OBJS:.o=.lo) -rpath $(prefix)/lib/unicon -module -avoid-version
+
+ CCE_hzinput.o : CCE_hzinput.c
+- gcc $(CFLAGS) -c CCE_hzinput.c -o CCE_hzinput.o
++ $(CC) $(CFLAGS) -c CCE_hzinput.c -o CCE_hzinput.o
+ xl_hzinput.o : xl_hzinput.c
+- gcc $(CFLAGS) -c xl_hzinput.c -o xl_hzinput.o
++ $(CC) $(CFLAGS) -c xl_hzinput.c -o xl_hzinput.o
+ cce_hzinput.so: CCE_hzinput.o xl_hzinput.o
+ gcc CCE_hzinput.o xl_hzinput.o -shared -o cce_hzinput.so
+
+ xl_pinyin.o : xl_pinyin.c xl_pinyin.h
+- gcc $(CFLAGS) -c xl_pinyin.c -o xl_pinyin.o
++ $(CC) $(CFLAGS) -c xl_pinyin.c -o xl_pinyin.o
+ CCE_pinyin.o : CCE_pinyin.c
+- gcc $(CFLAGS) -c CCE_pinyin.c -o CCE_pinyin.o
++ $(CC) $(CFLAGS) -c CCE_pinyin.c -o CCE_pinyin.o
+ cce_pinyin.so : xl_pinyin.o CCE_pinyin.o
+ gcc CCE_pinyin.o xl_pinyin.o -shared -o cce_pinyin.so
+
+@@ -29,8 +32,8 @@
+ gcc -g -I../../include -I. cin2tab.c -o cin2tab
+
+ install:
+- mkdir -p $(prefix)/lib/unicon2
+- cp *.so $(prefix)/lib/unicon2
++ $(LIBTOOL) --mode=install $(BSD_INSTALL_DATA) $(HZ_PROG:.a=.la) $(prefix)/lib/unicon
++ $(LIBTOOL) --mode=install $(BSD_INSTALL_DATA) $(PY_PROG:.a=.la) $(prefix)/lib/unicon
+ clean:
+ rm -f *.o core a.out *.bak test *.so
+
diff --git a/inputmethod/unicon-im/patches/patch-af b/inputmethod/unicon-im/patches/patch-af
new file mode 100644
index 00000000000..4930079dbb6
--- /dev/null
+++ b/inputmethod/unicon-im/patches/patch-af
@@ -0,0 +1,61 @@
+$NetBSD: patch-af,v 1.1.1.1 2002/06/15 09:29:16 shell Exp $
+
+--- ImmModules/TL-1/Makefile.in.orig Wed Jun 7 13:49:56 2000
++++ ImmModules/TL-1/Makefile.in
+@@ -1,24 +1,26 @@
+ # Generated automatically from Makefile.in by configure.
+ prefix=@prefix@
+-CFLAGS=@CFLAGS@
+-PROG = TL_hzinput.so
++CFLAGS=-Wall -I../../include -I. @CFLAGS@
++PROG = TL_hzinput.a
+ TL_OBJS = xl_hzinput.o TL_hzinput.o xl_phrase.o xl_sysphrase.o xl_mfile.o
+
+-CFLAGS = -g -Wall -I../../include -I.
++CC = $(LIBTOOL) --mode=compile @CC@
++
++all: $(TL_OBJS)
++ $(LIBTOOL) --mode=link @CC@ -o $(PROG:.a=.la) $(TL_OBJS:.o=.lo) -rpath $(prefix)/lib/unicon -module -avoid-version
+
+-all:dlib
+ dlib: $(PROG)
+
+ xl_mfile.o : xl_mfile.c xl_mfile.h
+- gcc $(CFLAGS) -c xl_mfile.c -o xl_mfile.o
++ $(CC) $(CFLAGS) -c xl_mfile.c -o xl_mfile.o
+ TL_hzinput.o : TL_hzinput.c
+- gcc $(CFLAGS) -DUNICON2_LIB=\"$(prefix)/lib/unicon2\" -c TL_hzinput.c -o TL_hzinput.o
++ $(CC) $(CFLAGS) -DUNICON2_LIB=\"$(prefix)/lib/unicon\" -c TL_hzinput.c -o TL_hzinput.o
+ xl_hzinput.o : xl_hzinput.c
+- gcc $(CFLAGS) -c xl_hzinput.c -o xl_hzinput.o
++ $(CC) $(CFLAGS) -c xl_hzinput.c -o xl_hzinput.o
+ xl_phrase.o : xl_phrase.c
+- gcc $(CFLAGS) -c xl_phrase.c -o xl_phrase.o
++ $(CC) $(CFLAGS) -c xl_phrase.c -o xl_phrase.o
+ xl_sysphrase.o : xl_sysphrase.c
+- gcc $(CFLAGS) -c xl_sysphrase.c -o xl_sysphrase.o
++ $(CC) $(CFLAGS) -c xl_sysphrase.c -o xl_sysphrase.o
+ $(PROG): $(TL_OBJS)
+ gcc $(TL_OBJS) -shared -o $(PROG)
+
+@@ -60,12 +62,14 @@
+ levelphrase : levelphrase.c
+ gcc -g -I../../include -I. levelphrase.c -o levelphrase
+ install:
+- mkdir -p $(prefix)/lib/unicon2/{gb,gbk,big5}
+- cp -f *.so $(prefix)/lib/unicon2
+- cp -f *.bin $(prefix)/lib/unicon2
+- cp -f gb/*.tab $(prefix)/lib/unicon2/gb
+- cp -f gbk/*.tab $(prefix)/lib/unicon2/gbk
+- cp -f xcin-25/*.tab $(prefix)/lib/unicon2/big5
++ $(LIBTOOL) --mode=install $(BSD_INSTALL_DATA) $(PROG:.a=.la) $(prefix)/lib/unicon
++ $(BSD_INSTALL_DATA) *.bin $(prefix)/lib/unicon
++ $(BSD_INSTALL_DATA_DIR) $(prefix)/lib/unicon/gb
++ $(BSD_INSTALL_DATA) gb/*.tab $(prefix)/lib/unicon/gb
++ $(BSD_INSTALL_DATA_DIR) $(prefix)/lib/unicon/gbk
++ $(BSD_INSTALL_DATA) gbk/*.tab $(prefix)/lib/unicon/gbk
++ $(BSD_INSTALL_DATA_DIR) $(prefix)/lib/unicon/big5
++ $(BSD_INSTALL_DATA) xcin-25/*.tab $(prefix)/lib/unicon/big5
+
+ clean:
+ rm -f *.o core a.out *.bak cin2tab test *.so
diff --git a/inputmethod/unicon-im/patches/patch-ag b/inputmethod/unicon-im/patches/patch-ag
new file mode 100644
index 00000000000..97dc8e06fa8
--- /dev/null
+++ b/inputmethod/unicon-im/patches/patch-ag
@@ -0,0 +1,14 @@
+$NetBSD: patch-ag,v 1.1.1.1 2002/06/15 09:29:16 shell Exp $
+
+--- data/Makefile.in.orig Sat Jun 8 20:34:49 2002
++++ data/Makefile.in
+@@ -1,7 +1,7 @@
+ prefix=@prefix@
+ CFLAGS = @CFLAGS@
+ install:
+- mkdir -p $(prefix)/lib/unicon2/freepy
+- cp pinyin* sysphrase* usrphrase* $(prefix)/lib/unicon2/freepy
++ $(BSD_INSTALL_DATA_DIR) $(prefix)/lib/unicon/freepy
++ $(BSD_INSTALL_DATA) pinyin* sysphrase* usrphrase* $(prefix)/lib/unicon/freepy
+ distclean:
+ rm -f Makefile *.bak