aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
Diffstat (limited to 'chinese')
-rw-r--r--chinese/Makefile2
-rw-r--r--chinese/iiimf-le-newpy/Makefile70
-rw-r--r--chinese/iiimf-le-newpy/distinfo2
-rw-r--r--chinese/iiimf-le-newpy/files/patch-Makefile47
-rw-r--r--chinese/iiimf-le-newpy/files/patch-acfiles_check_sys.m440
-rw-r--r--chinese/iiimf-le-newpy/files/patch-leif_Makefile.am8
-rw-r--r--chinese/iiimf-le-newpy/files/patch-leif_configure.ac57
-rw-r--r--chinese/iiimf-le-newpy/files/patch-leif_newpy_xaux_aux_so.c11
-rw-r--r--chinese/iiimf-le-newpy/files/patch-leif_newpy_xaux_aux_win.c11
-rw-r--r--chinese/iiimf-le-newpy/pkg-descr18
-rw-r--r--chinese/iiimf-le-newpy/pkg-plist17
-rw-r--r--chinese/iiimf-le-ude/Makefile49
-rw-r--r--chinese/iiimf-le-ude/distinfo2
-rw-r--r--chinese/iiimf-le-ude/files/patch-Makefile47
-rw-r--r--chinese/iiimf-le-ude/files/patch-acfiles_check_sys.m440
-rw-r--r--chinese/iiimf-le-ude/files/patch-leif_Makefile.am8
-rw-r--r--chinese/iiimf-le-ude/files/patch-leif_configure.ac57
-rw-r--r--chinese/iiimf-le-ude/files/patch-leif_ude_IMHandler.c11
-rw-r--r--chinese/iiimf-le-ude/files/patch-leif_ude_Makefile.am24
-rw-r--r--chinese/iiimf-le-ude/files/patch-leif_ude_UDEngine.c29
-rw-r--r--chinese/iiimf-le-ude/pkg-descr7
-rw-r--r--chinese/iiimf-le-ude/pkg-plist5
22 files changed, 0 insertions, 562 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index 226b580284ff..36532f2493a7 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -53,8 +53,6 @@
SUBDIR += hztty
SUBDIR += ibus-chewing
SUBDIR += ibus-pinyin
- SUBDIR += iiimf-le-newpy
- SUBDIR += iiimf-le-ude
SUBDIR += irssi
SUBDIR += jis2gb
SUBDIR += joe
diff --git a/chinese/iiimf-le-newpy/Makefile b/chinese/iiimf-le-newpy/Makefile
deleted file mode 100644
index 1a340c7c3f0f..000000000000
--- a/chinese/iiimf-le-newpy/Makefile
+++ /dev/null
@@ -1,70 +0,0 @@
-# New ports collection makefile for: iiimf-le-newpy
-# Date created: 6 Dec 2003
-# Whom: Kuang-che Wu <kcwu@csie.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= le-newpy
-PORTVERSION= 12.2
-PORTREVISION= 5
-CATEGORIES= chinese textproc
-MASTER_SITES= http://www.openi18n.org/download/im-sdk/src/
-PKGNAMEPREFIX= iiimf-
-DISTNAME= iiimf-src-${PORTVERSION}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= IIIMF New PinYin input method engine
-
-RUN_DEPENDS= iiimd:${PORTSDIR}/textproc/iiimf-server
-
-ONLY_FOR_ARCHS= i386
-
-USE_BZIP2= yes
-USE_GMAKE= yes
-USE_AUTOTOOLS= automake:env autoconf:env libtool:env
-AUTOTOOLSFILES= Makefile
-
-WRKSRC= ${WRKDIR}/${DISTNAME:S/src-//}
-BUILDDIR= ${WRKSRC}/leif
-
-LE_TARGETS= newpy
-
-.if !defined(WITHOUT_XAUX)
-LE_TARGETS+= newpy/xaux
-USE_MOTIF= yes
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-PLIST_SUB+= WANT_XAUX=""
-.else
-PLIST_SUB+= WANT_XAUX="@comment "
-.endif
-
-.include <bsd.port.pre.mk>
-
-CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
-
-post-patch:
- ${REINPLACE_CMD} \
- -e "s,%%LOCALBASE%%,${LOCALBASE},g" \
- -e "s,%%PREFIX%%,${PREFIX},g" \
- ${WRKSRC}/Makefile ${BUILDDIR}/Makefile.am \
- ${BUILDDIR}/newpy/xaux/aux_win.c \
- ${BUILDDIR}/newpy/xaux/aux_so.c
-
-do-configure:
-.if defined(WITHOUT_XAUX)
- @cd ${WRKSRC} && \
- ${REINPLACE_CMD} -e '/^CONFIG_FLAGS =/s,$$, --without-x,' Makefile
-.endif
- @cd ${BUILDDIR} && ${REINPLACE_CMD} \
- -e "/LE_TARGETS=/s,%%LE_TARGETS%%,${LE_TARGETS}," configure.ac
- @cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${GMAKE} reconfig
- @${REINPLACE_CMD} -e "/^ltmain=/!s^\$$ac_aux_dir/ltmain.sh^${LIBTOOLFLAGS} ${LTMAIN}^g" \
- -e '/^LIBTOOL=/s^\$$(top_builddir)/libtool^${LIBTOOL}^g' \
- ${BUILDDIR}/configure
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${GMAKE} config
-
-.include <bsd.port.post.mk>
diff --git a/chinese/iiimf-le-newpy/distinfo b/chinese/iiimf-le-newpy/distinfo
deleted file mode 100644
index 05a6cc1c1876..000000000000
--- a/chinese/iiimf-le-newpy/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (iiimf-src-12.2.tar.bz2) = 16fc96abe6bdf7118868a51806bbe9c53e5396700398ec305f3de415fae12357
-SIZE (iiimf-src-12.2.tar.bz2) = 11452670
diff --git a/chinese/iiimf-le-newpy/files/patch-Makefile b/chinese/iiimf-le-newpy/files/patch-Makefile
deleted file mode 100644
index a8946b2a35b4..000000000000
--- a/chinese/iiimf-le-newpy/files/patch-Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
---- Makefile.orig Mon May 9 15:32:45 2005
-+++ Makefile Mon May 9 15:35:03 2005
-@@ -1,29 +1,31 @@
- ## deprecated in favour of AUTORECONF
--#ACLOCAL = aclocal
--#AUTOMAKE = automake --add-missing --copy
--#LIBTOOLIZE = libtoolize --force --copy
--#AUTOHEADER = autoheader
--#AUTOCONF = autoconf
-+ACLOCAL = %%ACLOCAL%%
-+AUTOMAKE = %%AUTOMAKE%% --add-missing --copy
-+LIBTOOLIZE = libtoolize --force --copy
-+AUTOHEADER = %%AUTOHEADER%%
-+AUTOCONF = %%AUTOCONF%%
- #CONFIG_CMD = $(ACLOCAL) -I $${acfilesdir} && \
- # $(LIBTOOLIZE) && \
- # $(AUTOHEADER) && \
- # $(AUTOMAKE) && \
- # $(AUTOCONF)
-
--AUTORECONF = autoreconf
-+AUTORECONF = %%AUTORECONF%%
- BOOTSTRAP = $(AUTORECONF) --install --force
- INTL_CMD = glib-gettextize -f && intltoolize --copy --force --automake
-
--CONFIG_FLAGS = --prefix=/usr --sysconfdir=/etc --localstatedir=/var
-+CONFIG_FLAGS = --prefix=%%PREFIX%% --sysconfdir=%%LOCALBASE%%/etc --localstatedir=/var
-
--INTLDIRS = iiimgcf gnome-im-switcher
-+#INTLDIRS = iiimgcf gnome-im-switcher
-
--BUILDDIRS = lib/CSConv lib/EIMIL lib/iiimp lib/iiimcf \
-- iiimsf leif leif/sun_le_korea leif/sch_le_sun leif/tch_le_sun \
-- iiimxcf/xiiimp.so iiimxcf/htt_xbe \
-- iiimgcf gnome-im-switcher doc
-+BUILDDIRS = leif
-+#BUILDDIRS = lib/CSConv lib/EIMIL lib/iiimp lib/iiimcf \
-+# iiimsf leif leif/sun_le_korea leif/sch_le_sun leif/tch_le_sun \
-+# iiimxcf/xiiimp.so iiimxcf/htt_xbe \
-+# iiimgcf gnome-im-switcher doc
-
--CONFIGDIRS = $(BUILDDIRS) leif/m17n_le leif/thai_le_sun
-+CONFIGDIRS = $(BUILDDIRS)
-+#CONFIGDIRS = $(BUILDDIRS) leif/m17n_le leif/thai_le_sun
-
- all: compile
-
diff --git a/chinese/iiimf-le-newpy/files/patch-acfiles_check_sys.m4 b/chinese/iiimf-le-newpy/files/patch-acfiles_check_sys.m4
deleted file mode 100644
index 44ee86c035bc..000000000000
--- a/chinese/iiimf-le-newpy/files/patch-acfiles_check_sys.m4
+++ /dev/null
@@ -1,40 +0,0 @@
---- acfiles/check_sys.m4.orig Mon May 9 15:28:20 2005
-+++ acfiles/check_sys.m4 Mon May 9 15:32:07 2005
-@@ -203,6 +203,13 @@
- CXX=${CC}
- fi
- ;;
-+ cc*:*)
-+ DEBUG_CFLAGS="${DEBUG_CFLAGS} -ggdb"
-+ DEBUG_CXXFLAGS="${DEBUG_CXXFLAGS} -g"
-+ COMMON_CFLAGS="${COMMON_CFLAGS} -Wall"
-+ SHLIBCFLAGS='-fpic'
-+ SHLIBLDFLAGS='-shared'
-+ ;;
- *)
- DEBUG_CXX_CFLAGS="${DEBUG_CXX_CFLAGS} -g"
- ;;
-@@ -249,8 +256,8 @@
- COMMON_CXX_CFLAGS="${COMMON_CXX_CFLAGS} -DLinux"
- ;;
- *freebsd*)
-- THREAD_LDFLAGS="-pthread"
-- PTHREAD_LIBS=""
-+ THREAD_LDFLAGS=""
-+ PTHREAD_LIBS="${PTHREAD_LIBS}"
- ;;
- esac
-
-@@ -288,9 +295,9 @@
- THREAD_CXX_CFLAGS="-mt"
- HAVE_THREAD="uithread"
- ;;
-- *freebsd*@gcc:*)
-- THREAD_LDFLAGS="-pthread"
-- THREAD_LIBS=""
-+ *freebsd*@cc:*|*freebsd*@gcc:*)
-+ THREAD_LDFLAGS=""
-+ THREAD_LIBS="${PTHREAD_LIBS}"
- HAVE_THREAD="freebsd-pthread"
- ;;
- *linux*)
diff --git a/chinese/iiimf-le-newpy/files/patch-leif_Makefile.am b/chinese/iiimf-le-newpy/files/patch-leif_Makefile.am
deleted file mode 100644
index 710a4d8844f9..000000000000
--- a/chinese/iiimf-le-newpy/files/patch-leif_Makefile.am
+++ /dev/null
@@ -1,8 +0,0 @@
---- leif/Makefile.am.orig Fri May 13 15:45:41 2005
-+++ leif/Makefile.am Fri May 13 15:46:03 2005
-@@ -1,4 +1,4 @@
- AUTOMAKE_OPTIONS = foreign
- SUBDIRS = $(LE_TARGETS)
-
--ACLOCAL_AMFLAGS = -I ../acfiles
-+ACLOCAL_AMFLAGS = -I %%LOCALBASE%%/share/aclocal -I ../acfiles
diff --git a/chinese/iiimf-le-newpy/files/patch-leif_configure.ac b/chinese/iiimf-le-newpy/files/patch-leif_configure.ac
deleted file mode 100644
index 09cbbd1dc9ee..000000000000
--- a/chinese/iiimf-le-newpy/files/patch-leif_configure.ac
+++ /dev/null
@@ -1,57 +0,0 @@
---- leif/configure.ac.orig Mon May 2 22:16:12 2005
-+++ leif/configure.ac Sun May 29 16:36:25 2005
-@@ -46,17 +46,17 @@
-
- IM_CHECK_SYSTEM
- IM_CHECK_DLOPEN
--IM_CHECK_CANNA
--IM_CHECK_FREEWNN
--IM_CHECK_CHEWING
--
--IM_CHECK_X
--IM_CHECK_GTK
--IM_CHECK_MOTIF
--IM_CHECK_XML
--PKG_CHECK_MODULES(GTK2, gtk+-2.0 gtk+-x11-2.0)
--AC_SUBST(GTK2_CFLAGS)
--AC_SUBST(GTK2_LIBS)
-+#IM_CHECK_CANNA
-+#IM_CHECK_FREEWNN
-+#IM_CHECK_CHEWING
-+
-+#IM_CHECK_X
-+#IM_CHECK_GTK
-+#IM_CHECK_MOTIF
-+#IM_CHECK_XML
-+#PKG_CHECK_MODULES(GTK2, gtk+-2.0 gtk+-x11-2.0)
-+#AC_SUBST(GTK2_CFLAGS)
-+#AC_SUBST(GTK2_LIBS)
-
- dnl --------------------------------------------------------------------------------
- dnl Section 5: compilation options
-@@ -75,16 +75,16 @@
-
- LDFLAGS="${COMMON_LDFLAGS} ${THREAD_LDFLAGS} ${LDFLAGS}"
-
--LE_TARGETS="default template sampleja sampleja2 sampleja3 newpy testEIMIL unit hangul fop_test"
-+LE_TARGETS="%%LE_TARGETS%%"
-
--IM_ADD_TARGET(LE_TARGETS, HAVE_CANNA, canna)
--IM_ADD_TARGET(LE_TARGETS, HAVE_FREEWNN, freewnn)
--IM_ADD_TARGET(LE_TARGETS, HAVE_CHEWING, chewing)
--IM_ADD_TARGET(LE_TARGETS, HAVE_X, sampleja3/xaux_common)
--IM_ADD_TARGET(LE_TARGETS, HAVE_GTK, sampleja3/xaux_gtk)
--IM_ADD_TARGET(LE_TARGETS, HAVE_MOTIF, newpy/xaux)
--IM_ADD_TARGET(LE_TARGETS, HAVE_MOTIF, sampleja/xaux)
--IM_ADD_TARGET(LE_TARGETS, HAVE_MOTIF, sampleja3/xaux_motif)
-+#IM_ADD_TARGET(LE_TARGETS, HAVE_CANNA, canna)
-+#IM_ADD_TARGET(LE_TARGETS, HAVE_FREEWNN, freewnn)
-+#IM_ADD_TARGET(LE_TARGETS, HAVE_CHEWING, chewing)
-+#IM_ADD_TARGET(LE_TARGETS, HAVE_X, sampleja3/xaux_common)
-+#IM_ADD_TARGET(LE_TARGETS, HAVE_GTK, sampleja3/xaux_gtk)
-+#IM_ADD_TARGET(LE_TARGETS, HAVE_MOTIF, newpy/xaux)
-+#IM_ADD_TARGET(LE_TARGETS, HAVE_MOTIF, sampleja/xaux)
-+#IM_ADD_TARGET(LE_TARGETS, HAVE_MOTIF, sampleja3/xaux_motif)
-
- dnl --------------------------------------------------------------------------------
- dnl Section 6: compilation test
diff --git a/chinese/iiimf-le-newpy/files/patch-leif_newpy_xaux_aux_so.c b/chinese/iiimf-le-newpy/files/patch-leif_newpy_xaux_aux_so.c
deleted file mode 100644
index 1ba276de8c97..000000000000
--- a/chinese/iiimf-le-newpy/files/patch-leif_newpy_xaux_aux_so.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- leif/newpy/xaux/aux_so.c.orig Mon May 16 23:20:32 2005
-+++ leif/newpy/xaux/aux_so.c Mon May 16 23:21:59 2005
-@@ -56,7 +56,7 @@
-
- #define HASH_SIZE 137
- #define ME "aux_so"
--#define AUX_EXT "/usr/lib/im/locale/zh_CN/newpy/aux_win"
-+#define AUX_EXT "%%LOCALBASE%%" "/lib/iiim/le/newpy/aux_win"
-
- typedef struct _aux_icid {
- aux_t * aux;
diff --git a/chinese/iiimf-le-newpy/files/patch-leif_newpy_xaux_aux_win.c b/chinese/iiimf-le-newpy/files/patch-leif_newpy_xaux_aux_win.c
deleted file mode 100644
index b4c10a87f77c..000000000000
--- a/chinese/iiimf-le-newpy/files/patch-leif_newpy_xaux_aux_win.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- leif/newpy/xaux/aux_win.c.orig Mon May 16 23:16:54 2005
-+++ leif/newpy/xaux/aux_win.c Mon May 16 23:19:12 2005
-@@ -61,7 +61,7 @@
- #include "gif_lib.h"
- #include "getarg.h"
-
--#define IMAGE_PATH "/usr/lib/im/locale/zh_CN/newpy/"
-+#define IMAGE_PATH "%%LOCALBASE%%" "/lib/iiim/le/newpy/"
-
- Pixmap LoadGIFFile(char * filename);
- static void AllocateColors1(void);
diff --git a/chinese/iiimf-le-newpy/pkg-descr b/chinese/iiimf-le-newpy/pkg-descr
deleted file mode 100644
index 0cfe8ea6cefd..000000000000
--- a/chinese/iiimf-le-newpy/pkg-descr
+++ /dev/null
@@ -1,18 +0,0 @@
-IIIMF stands for Internet/Intranet Input Method Framework.
-IIIMF is designed to be the next generation of input method framework
-which provides the following capabilities;
-
-* Multiplatform, platform independent.
-* Multlingual and Full UNICODE support, but satisfactory for native speakers.
-* Windowing System Independent.
-* Multiple language engines concurrently run.
-* Multiuser.
-* Distributed, lightweight clients and scalable server.
-* Extensible in multiple means.
-* Input method protocol efficient enough to be used over low-speed modem
- connection.
-* Easy input method engine development with plugin API.
-* Easy input method enabling with libiiimcf, even on console apps.
-* Small core part to start from.
-
-WWW: http://www.openi18n.org/subgroups/im/IIIMF/
diff --git a/chinese/iiimf-le-newpy/pkg-plist b/chinese/iiimf-le-newpy/pkg-plist
deleted file mode 100644
index b2858ed6fbf4..000000000000
--- a/chinese/iiimf-le-newpy/pkg-plist
+++ /dev/null
@@ -1,17 +0,0 @@
-lib/iiim/le/newpy/newpy.so
-lib/iiim/le/newpy/newpy_obj.jar
-lib/iiim/le/newpy/data/PyCiku.dat
-lib/iiim/le/newpy/data/UdCiku.dat
-%%WANT_XAUX%%lib/iiim/le/newpy/aux.so.0
-%%WANT_XAUX%%lib/iiim/le/newpy/aux.so
-%%WANT_XAUX%%lib/iiim/le/newpy/aux.la
-%%WANT_XAUX%%lib/iiim/le/newpy/aux.a
-%%WANT_XAUX%%lib/iiim/le/newpy/aux_win
-%%WANT_XAUX%%lib/iiim/le/newpy/full.gif
-%%WANT_XAUX%%lib/iiim/le/newpy/gb.gif
-%%WANT_XAUX%%lib/iiim/le/newpy/gbk.gif
-%%WANT_XAUX%%lib/iiim/le/newpy/half.gif
-%%WANT_XAUX%%lib/iiim/le/newpy/help.gif
-@dirrm lib/iiim/le/newpy/data
-@dirrm lib/iiim/le/newpy
-@dirrmtry lib/iiim/le
diff --git a/chinese/iiimf-le-ude/Makefile b/chinese/iiimf-le-ude/Makefile
deleted file mode 100644
index 6fa9caf730ee..000000000000
--- a/chinese/iiimf-le-ude/Makefile
+++ /dev/null
@@ -1,49 +0,0 @@
-# New ports collection makefile for: iiimf-le-ude
-# Date created: 11 Sep 2004
-# Whom: Kuang-che Wu <kcwu@csie.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= le-ude
-PORTVERSION= 12.2
-PORTREVISION= 4
-CATEGORIES= chinese textproc
-MASTER_SITES= http://www.openi18n.org/download/im-sdk/src/
-PKGNAMEPREFIX= iiimf-
-DISTNAME= iiimf-src-${PORTVERSION}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= IIIMF User Defined language Engine for Simplified Chinese conversion
-
-RUN_DEPENDS= iiimd:${PORTSDIR}/textproc/iiimf-server
-
-ONLY_FOR_ARCHS= i386
-
-USE_BZIP2= yes
-USE_GMAKE= yes
-USE_AUTOTOOLS= automake:env autoconf:env libtool:env
-AUTOTOOLSFILES= Makefile
-
-WRKSRC= ${WRKDIR}/${DISTNAME:S/src-//}
-BUILDDIR= ${WRKSRC}/leif
-
-CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
-
-post-patch:
- ${REINPLACE_CMD} \
- -e "s,%%LOCALBASE%%,${LOCALBASE},g" \
- -e "s,%%PREFIX%%,${PREFIX},g" \
- ${WRKSRC}/Makefile ${BUILDDIR}/Makefile.am \
- ${BUILDDIR}/ude/UDEngine.c
-
-pre-configure:
- @cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${GMAKE} reconfig
- @${REINPLACE_CMD} -e "/^ltmain=/!s^\$$ac_aux_dir/ltmain.sh^${LIBTOOLFLAGS} ${LTMAIN}^g" \
- -e '/^LIBTOOL=/s^\$$(top_builddir)/libtool^${LIBTOOL}^g' \
- ${BUILDDIR}/configure
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${GMAKE} config
-
-.include <bsd.port.mk>
diff --git a/chinese/iiimf-le-ude/distinfo b/chinese/iiimf-le-ude/distinfo
deleted file mode 100644
index 05a6cc1c1876..000000000000
--- a/chinese/iiimf-le-ude/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (iiimf-src-12.2.tar.bz2) = 16fc96abe6bdf7118868a51806bbe9c53e5396700398ec305f3de415fae12357
-SIZE (iiimf-src-12.2.tar.bz2) = 11452670
diff --git a/chinese/iiimf-le-ude/files/patch-Makefile b/chinese/iiimf-le-ude/files/patch-Makefile
deleted file mode 100644
index a8946b2a35b4..000000000000
--- a/chinese/iiimf-le-ude/files/patch-Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
---- Makefile.orig Mon May 9 15:32:45 2005
-+++ Makefile Mon May 9 15:35:03 2005
-@@ -1,29 +1,31 @@
- ## deprecated in favour of AUTORECONF
--#ACLOCAL = aclocal
--#AUTOMAKE = automake --add-missing --copy
--#LIBTOOLIZE = libtoolize --force --copy
--#AUTOHEADER = autoheader
--#AUTOCONF = autoconf
-+ACLOCAL = %%ACLOCAL%%
-+AUTOMAKE = %%AUTOMAKE%% --add-missing --copy
-+LIBTOOLIZE = libtoolize --force --copy
-+AUTOHEADER = %%AUTOHEADER%%
-+AUTOCONF = %%AUTOCONF%%
- #CONFIG_CMD = $(ACLOCAL) -I $${acfilesdir} && \
- # $(LIBTOOLIZE) && \
- # $(AUTOHEADER) && \
- # $(AUTOMAKE) && \
- # $(AUTOCONF)
-
--AUTORECONF = autoreconf
-+AUTORECONF = %%AUTORECONF%%
- BOOTSTRAP = $(AUTORECONF) --install --force
- INTL_CMD = glib-gettextize -f && intltoolize --copy --force --automake
-
--CONFIG_FLAGS = --prefix=/usr --sysconfdir=/etc --localstatedir=/var
-+CONFIG_FLAGS = --prefix=%%PREFIX%% --sysconfdir=%%LOCALBASE%%/etc --localstatedir=/var
-
--INTLDIRS = iiimgcf gnome-im-switcher
-+#INTLDIRS = iiimgcf gnome-im-switcher
-
--BUILDDIRS = lib/CSConv lib/EIMIL lib/iiimp lib/iiimcf \
-- iiimsf leif leif/sun_le_korea leif/sch_le_sun leif/tch_le_sun \
-- iiimxcf/xiiimp.so iiimxcf/htt_xbe \
-- iiimgcf gnome-im-switcher doc
-+BUILDDIRS = leif
-+#BUILDDIRS = lib/CSConv lib/EIMIL lib/iiimp lib/iiimcf \
-+# iiimsf leif leif/sun_le_korea leif/sch_le_sun leif/tch_le_sun \
-+# iiimxcf/xiiimp.so iiimxcf/htt_xbe \
-+# iiimgcf gnome-im-switcher doc
-
--CONFIGDIRS = $(BUILDDIRS) leif/m17n_le leif/thai_le_sun
-+CONFIGDIRS = $(BUILDDIRS)
-+#CONFIGDIRS = $(BUILDDIRS) leif/m17n_le leif/thai_le_sun
-
- all: compile
-
diff --git a/chinese/iiimf-le-ude/files/patch-acfiles_check_sys.m4 b/chinese/iiimf-le-ude/files/patch-acfiles_check_sys.m4
deleted file mode 100644
index 44ee86c035bc..000000000000
--- a/chinese/iiimf-le-ude/files/patch-acfiles_check_sys.m4
+++ /dev/null
@@ -1,40 +0,0 @@
---- acfiles/check_sys.m4.orig Mon May 9 15:28:20 2005
-+++ acfiles/check_sys.m4 Mon May 9 15:32:07 2005
-@@ -203,6 +203,13 @@
- CXX=${CC}
- fi
- ;;
-+ cc*:*)
-+ DEBUG_CFLAGS="${DEBUG_CFLAGS} -ggdb"
-+ DEBUG_CXXFLAGS="${DEBUG_CXXFLAGS} -g"
-+ COMMON_CFLAGS="${COMMON_CFLAGS} -Wall"
-+ SHLIBCFLAGS='-fpic'
-+ SHLIBLDFLAGS='-shared'
-+ ;;
- *)
- DEBUG_CXX_CFLAGS="${DEBUG_CXX_CFLAGS} -g"
- ;;
-@@ -249,8 +256,8 @@
- COMMON_CXX_CFLAGS="${COMMON_CXX_CFLAGS} -DLinux"
- ;;
- *freebsd*)
-- THREAD_LDFLAGS="-pthread"
-- PTHREAD_LIBS=""
-+ THREAD_LDFLAGS=""
-+ PTHREAD_LIBS="${PTHREAD_LIBS}"
- ;;
- esac
-
-@@ -288,9 +295,9 @@
- THREAD_CXX_CFLAGS="-mt"
- HAVE_THREAD="uithread"
- ;;
-- *freebsd*@gcc:*)
-- THREAD_LDFLAGS="-pthread"
-- THREAD_LIBS=""
-+ *freebsd*@cc:*|*freebsd*@gcc:*)
-+ THREAD_LDFLAGS=""
-+ THREAD_LIBS="${PTHREAD_LIBS}"
- HAVE_THREAD="freebsd-pthread"
- ;;
- *linux*)
diff --git a/chinese/iiimf-le-ude/files/patch-leif_Makefile.am b/chinese/iiimf-le-ude/files/patch-leif_Makefile.am
deleted file mode 100644
index 710a4d8844f9..000000000000
--- a/chinese/iiimf-le-ude/files/patch-leif_Makefile.am
+++ /dev/null
@@ -1,8 +0,0 @@
---- leif/Makefile.am.orig Fri May 13 15:45:41 2005
-+++ leif/Makefile.am Fri May 13 15:46:03 2005
-@@ -1,4 +1,4 @@
- AUTOMAKE_OPTIONS = foreign
- SUBDIRS = $(LE_TARGETS)
-
--ACLOCAL_AMFLAGS = -I ../acfiles
-+ACLOCAL_AMFLAGS = -I %%LOCALBASE%%/share/aclocal -I ../acfiles
diff --git a/chinese/iiimf-le-ude/files/patch-leif_configure.ac b/chinese/iiimf-le-ude/files/patch-leif_configure.ac
deleted file mode 100644
index c81879326ba7..000000000000
--- a/chinese/iiimf-le-ude/files/patch-leif_configure.ac
+++ /dev/null
@@ -1,57 +0,0 @@
---- leif/configure.ac.orig Mon May 2 22:16:12 2005
-+++ leif/configure.ac Fri May 27 14:51:20 2005
-@@ -46,17 +46,17 @@
-
- IM_CHECK_SYSTEM
- IM_CHECK_DLOPEN
--IM_CHECK_CANNA
--IM_CHECK_FREEWNN
--IM_CHECK_CHEWING
--
--IM_CHECK_X
--IM_CHECK_GTK
--IM_CHECK_MOTIF
--IM_CHECK_XML
--PKG_CHECK_MODULES(GTK2, gtk+-2.0 gtk+-x11-2.0)
--AC_SUBST(GTK2_CFLAGS)
--AC_SUBST(GTK2_LIBS)
-+#IM_CHECK_CANNA
-+#IM_CHECK_FREEWNN
-+#IM_CHECK_CHEWING
-+
-+#IM_CHECK_X
-+#IM_CHECK_GTK
-+#IM_CHECK_MOTIF
-+#IM_CHECK_XML
-+#PKG_CHECK_MODULES(GTK2, gtk+-2.0 gtk+-x11-2.0)
-+#AC_SUBST(GTK2_CFLAGS)
-+#AC_SUBST(GTK2_LIBS)
-
- dnl --------------------------------------------------------------------------------
- dnl Section 5: compilation options
-@@ -75,16 +75,16 @@
-
- LDFLAGS="${COMMON_LDFLAGS} ${THREAD_LDFLAGS} ${LDFLAGS}"
-
--LE_TARGETS="default template sampleja sampleja2 sampleja3 newpy testEIMIL unit hangul fop_test"
-+LE_TARGETS="ude"
-
--IM_ADD_TARGET(LE_TARGETS, HAVE_CANNA, canna)
--IM_ADD_TARGET(LE_TARGETS, HAVE_FREEWNN, freewnn)
--IM_ADD_TARGET(LE_TARGETS, HAVE_CHEWING, chewing)
--IM_ADD_TARGET(LE_TARGETS, HAVE_X, sampleja3/xaux_common)
--IM_ADD_TARGET(LE_TARGETS, HAVE_GTK, sampleja3/xaux_gtk)
--IM_ADD_TARGET(LE_TARGETS, HAVE_MOTIF, newpy/xaux)
--IM_ADD_TARGET(LE_TARGETS, HAVE_MOTIF, sampleja/xaux)
--IM_ADD_TARGET(LE_TARGETS, HAVE_MOTIF, sampleja3/xaux_motif)
-+#IM_ADD_TARGET(LE_TARGETS, HAVE_CANNA, canna)
-+#IM_ADD_TARGET(LE_TARGETS, HAVE_FREEWNN, freewnn)
-+#IM_ADD_TARGET(LE_TARGETS, HAVE_CHEWING, chewing)
-+#IM_ADD_TARGET(LE_TARGETS, HAVE_X, sampleja3/xaux_common)
-+#IM_ADD_TARGET(LE_TARGETS, HAVE_GTK, sampleja3/xaux_gtk)
-+#IM_ADD_TARGET(LE_TARGETS, HAVE_MOTIF, newpy/xaux)
-+#IM_ADD_TARGET(LE_TARGETS, HAVE_MOTIF, sampleja/xaux)
-+#IM_ADD_TARGET(LE_TARGETS, HAVE_MOTIF, sampleja3/xaux_motif)
-
- dnl --------------------------------------------------------------------------------
- dnl Section 6: compilation test
diff --git a/chinese/iiimf-le-ude/files/patch-leif_ude_IMHandler.c b/chinese/iiimf-le-ude/files/patch-leif_ude_IMHandler.c
deleted file mode 100644
index 99f323c55cb1..000000000000
--- a/chinese/iiimf-le-ude/files/patch-leif_ude_IMHandler.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- leif/ude/IMHandler.c.orig Wed May 18 03:17:57 2005
-+++ leif/ude/IMHandler.c Wed May 18 03:18:24 2005
-@@ -71,7 +71,7 @@
- if(ct_list == NULL) {
-
- #ifndef WIN32
-- strcat(ct_path, "/../locale/zh_CN/ude/data");
-+ strcat(ct_path, "data");
- #else
- strcat(ct_path, "\\..\\locale\\zh_CN\\ude\\data");
- #endif
diff --git a/chinese/iiimf-le-ude/files/patch-leif_ude_Makefile.am b/chinese/iiimf-le-ude/files/patch-leif_ude_Makefile.am
deleted file mode 100644
index 474d850529be..000000000000
--- a/chinese/iiimf-le-ude/files/patch-leif_ude_Makefile.am
+++ /dev/null
@@ -1,24 +0,0 @@
---- leif/ude/Makefile.am.orig Thu Apr 14 00:30:34 2005
-+++ leif/ude/Makefile.am Wed May 18 02:42:34 2005
-@@ -1,13 +1,14 @@
--LE_FILES = udengine.so
--datadir = $(IM_LEIFDIR)/ude/data
--udengine_la_CFLAGS = $(SHLIBCFLAGS) $(THREAD_CXX_CFLAGS) \
-+LENAME = ude
-+LE_FILES = ude.so
-+datadir = $(IM_LEIFDIR)/$(LENAME)/data
-+ude_la_CFLAGS = $(SHLIBCFLAGS) $(THREAD_CXX_CFLAGS) \
- -DNO_COLOR_FEEDBACK -DNO_CARET_NEGO \
- -I$(IM_INCLUDEDIR)/iml
--udengine_la_LDFLAGS = -module -rpath $(IM_LEIFDIR) $(SHLIBLDFLAGS) $(THREAD_LDFLAGS)
--udengine_la_LIBADD = $(THREAD_LIBS)
--udengine_la_SOURCES = UDEngine.c Converter.c IMHandler.c \
-+ude_la_LDFLAGS = -module -rpath $(IM_LEIFDIR) $(SHLIBLDFLAGS) $(THREAD_LDFLAGS)
-+ude_la_LIBADD = $(THREAD_LIBS)
-+ude_la_SOURCES = UDEngine.c Converter.c IMHandler.c \
- CodeTable.c MakeCodeTable.c
--noinst_LTLIBRARIES = udengine.la
-+noinst_LTLIBRARIES = ude.la
- data_DATA = data/pinyin.mb
-
- include $(top_srcdir)/install-leif.mak
diff --git a/chinese/iiimf-le-ude/files/patch-leif_ude_UDEngine.c b/chinese/iiimf-le-ude/files/patch-leif_ude_UDEngine.c
deleted file mode 100644
index a645ed5fd6cf..000000000000
--- a/chinese/iiimf-le-ude/files/patch-leif_ude_UDEngine.c
+++ /dev/null
@@ -1,29 +0,0 @@
---- leif/ude/UDEngine.c.orig Fri Mar 16 00:52:22 2001
-+++ leif/ude/UDEngine.c Wed May 18 03:06:05 2005
-@@ -94,7 +94,7 @@
- UTFCHAR zhhrn_string[] = {0x7b80, 0x4f53, 0x4e2d, 0x872d, 0x0};
-
- static IMLEName lename = {
-- "udengine", lename_string /* LE id, HRN */
-+ "ude", lename_string /* LE id, HRN */
- };
-
- static IMLocale locales[] = {
-@@ -295,14 +295,14 @@
- objects = (IMObjectDescriptorStruct *) calloc(2, sizeof(IMObjectDescriptorStruct));
- l = objects;
-
-- l->leid = "udengine"; /* engine id */
-+ l->leid = "ude"; /* engine id */
- l->type = IM_DOWNLOADINGOBJECT_JARGUI_TYPE; /* object type */
- l->name = (UTFCHAR *) calloc(1, sizeof(UTFCHAR) * (UTFCHARLen(aux_name_panel) + 1));
- UTFCHARCpy(l->name, aux_name_panel);
- l->name_length = UTFCHARLen(aux_name_panel);
- l->domain = "com.sun.udengine";
-- l->scope = "udengine";
-- l->path = "/usr/lib/im/locale/zh_CN/udengine/udengine_obj.jar"; /* path */
-+ l->scope = "ude";
-+ l->path = "%%PREFIX%%" "/lib/iiim/le/ude/ude.so"; /* path */
- l->signature = "";
- l->basepath = NULL; /* only for CCDEF */
- l->encoding = NULL; /* only for CCDEF */
diff --git a/chinese/iiimf-le-ude/pkg-descr b/chinese/iiimf-le-ude/pkg-descr
deleted file mode 100644
index aebcda90155e..000000000000
--- a/chinese/iiimf-le-ude/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-IIIMF stands for Internet/Intranet Input Method Framework.
-IIIMF is designed to be the next generation of input method framework
-
-UDE is User Defined Engine, SunIM based Simplified Chinese conversion
-engine module.
-
-WWW: http://www.openi18n.org/subgroups/im/IIIMF/
diff --git a/chinese/iiimf-le-ude/pkg-plist b/chinese/iiimf-le-ude/pkg-plist
deleted file mode 100644
index d73e2f75ffd7..000000000000
--- a/chinese/iiimf-le-ude/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-lib/iiim/le/ude/ude.so
-lib/iiim/le/ude/data/pinyin.mb
-@dirrm lib/iiim/le/ude/data
-@dirrm lib/iiim/le/ude
-@dirrmtry lib/iiim/le