aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MOVED5
-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
-rw-r--r--japanese/Makefile2
-rw-r--r--japanese/iiimf-le-canna/Makefile54
-rw-r--r--japanese/iiimf-le-canna/distinfo2
-rw-r--r--japanese/iiimf-le-canna/files/patch-Makefile47
-rw-r--r--japanese/iiimf-le-canna/files/patch-acfiles_check_sys.m440
-rw-r--r--japanese/iiimf-le-canna/files/patch-leif_Makefile.am8
-rw-r--r--japanese/iiimf-le-canna/files/patch-leif_configure.ac28
-rw-r--r--japanese/iiimf-le-canna/pkg-descr6
-rw-r--r--japanese/iiimf-le-canna/pkg-plist6
-rw-r--r--japanese/iiimf-le-freewnn/Makefile56
-rw-r--r--japanese/iiimf-le-freewnn/distinfo2
-rw-r--r--japanese/iiimf-le-freewnn/files/patch-Makefile47
-rw-r--r--japanese/iiimf-le-freewnn/files/patch-acfiles_check_sys.m440
-rw-r--r--japanese/iiimf-le-freewnn/files/patch-leif_Makefile.am8
-rw-r--r--japanese/iiimf-le-freewnn/files/patch-leif_configure.ac55
-rw-r--r--japanese/iiimf-le-freewnn/files/patch-leif_freewnn_freewnn.c140
-rw-r--r--japanese/iiimf-le-freewnn/pkg-descr6
-rw-r--r--japanese/iiimf-le-freewnn/pkg-plist3
-rw-r--r--korean/Makefile1
-rw-r--r--korean/iiimf-le-hangul/Makefile49
-rw-r--r--korean/iiimf-le-hangul/distinfo2
-rw-r--r--korean/iiimf-le-hangul/files/patch-Makefile47
-rw-r--r--korean/iiimf-le-hangul/files/patch-leif_Makefile.am8
-rw-r--r--korean/iiimf-le-hangul/files/patch-leif_configure.ac55
-rw-r--r--korean/iiimf-le-hangul/pkg-descr10
-rw-r--r--korean/iiimf-le-hangul/pkg-plist6
49 files changed, 5 insertions, 1290 deletions
diff --git a/MOVED b/MOVED
index f8ffe4f68ed4..d67c23a524af 100644
--- a/MOVED
+++ b/MOVED
@@ -1806,3 +1806,8 @@ www/sidplug||2011-05-01|Has expired: Upstream disapear and distfile is no more a
www/twhttpd||2011-05-01|Has expired: Upstream disapear and distfile is no more available
www/wnews||2011-05-01|Has expired: Upstream disapear and distfile is no more available
www/xpath2rss||2011-05-01|Has expired: Upstream disapear and distfile is no more available
+japanese/iiimf-le-freewnn||2011-05-01|Removed, depends on expired library
+japanese/iiimf-le-canna||2011-05-01|Removed, depends on expired library
+chinese/iiimf-le-newpy||2011-05-01|Removed, depends on expired library
+korean/iiimf-le-hangul||2011-05-01|Removed, depends on expired library
+chinese/iiimf-le-ude||2011-05-01|Removed, depends on expired library
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
diff --git a/japanese/Makefile b/japanese/Makefile
index b244d86d413d..9cf7a8e39465 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -114,8 +114,6 @@
SUBDIR += ibus-skk
SUBDIR += ical
SUBDIR += icanna
- SUBDIR += iiimf-le-canna
- SUBDIR += iiimf-le-freewnn
SUBDIR += im-ja
SUBDIR += ipadic
SUBDIR += ircII
diff --git a/japanese/iiimf-le-canna/Makefile b/japanese/iiimf-le-canna/Makefile
deleted file mode 100644
index a99852a42c9d..000000000000
--- a/japanese/iiimf-le-canna/Makefile
+++ /dev/null
@@ -1,54 +0,0 @@
-# New ports collection makefile for: iiimf-le-canna
-# Date created: 18 Feb 2005
-# Whom: Masanori OZAWA <ozawa@ongs.co.jp>
-#
-# $FreeBSD$
-#
-
-PORTNAME= le-canna
-PORTVERSION= 12.2
-PORTREVISION= 11
-CATEGORIES= japanese textproc
-MASTER_SITES= http://www.openi18n.org/download/im-sdk/src/
-PKGNAMEPREFIX= iiimf-
-DISTNAME= iiimf-src-${PORTVERSION}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Canna language engine for IIIMF
-
-LIB_DEPENDS= canna16.1:${PORTSDIR}/japanese/canna-lib
-RUN_DEPENDS= iiimd:${PORTSDIR}/textproc/iiimf-server \
- ${LOCALBASE}/lib/iiim/csconv/csconv.so:${PORTSDIR}/textproc/iiimf-csconv
-
-ONLY_FOR_ARCHS= i386
-
-USE_BZIP2= yes
-USE_ICONV= yes
-USE_GMAKE= yes
-USE_GNOME= gtk20
-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 -liconv ${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
- ${REINPLACE_CMD} -e "s,/usr/lib/iiim,${LOCALBASE}/lib/iiim,g" \
- ${WRKSRC}/lib/CSConv/csconv.h
-
-do-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/japanese/iiimf-le-canna/distinfo b/japanese/iiimf-le-canna/distinfo
deleted file mode 100644
index 05a6cc1c1876..000000000000
--- a/japanese/iiimf-le-canna/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/japanese/iiimf-le-canna/files/patch-Makefile b/japanese/iiimf-le-canna/files/patch-Makefile
deleted file mode 100644
index a8946b2a35b4..000000000000
--- a/japanese/iiimf-le-canna/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/japanese/iiimf-le-canna/files/patch-acfiles_check_sys.m4 b/japanese/iiimf-le-canna/files/patch-acfiles_check_sys.m4
deleted file mode 100644
index 44ee86c035bc..000000000000
--- a/japanese/iiimf-le-canna/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/japanese/iiimf-le-canna/files/patch-leif_Makefile.am b/japanese/iiimf-le-canna/files/patch-leif_Makefile.am
deleted file mode 100644
index 710a4d8844f9..000000000000
--- a/japanese/iiimf-le-canna/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/japanese/iiimf-le-canna/files/patch-leif_configure.ac b/japanese/iiimf-le-canna/files/patch-leif_configure.ac
deleted file mode 100644
index d38ee647dcde..000000000000
--- a/japanese/iiimf-le-canna/files/patch-leif_configure.ac
+++ /dev/null
@@ -1,28 +0,0 @@
---- leif/configure.ac.orig Wed May 11 13:01:08 2005
-+++ leif/configure.ac Wed May 11 13:02:22 2005
-@@ -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="canna"
-
--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/japanese/iiimf-le-canna/pkg-descr b/japanese/iiimf-le-canna/pkg-descr
deleted file mode 100644
index c398e74a1b49..000000000000
--- a/japanese/iiimf-le-canna/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-IIIMF stands for Internet/Intranet Input Method Framework.
-IIIMF is designed to be the next generation of input method framework.
-
-CannaLE - Interface module to the Canna language engine for IIIMF.
-
-WWW: http://www.openi18n.org/subgroups/im/IIIMF/
diff --git a/japanese/iiimf-le-canna/pkg-plist b/japanese/iiimf-le-canna/pkg-plist
deleted file mode 100644
index 0e061853b5e9..000000000000
--- a/japanese/iiimf-le-canna/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-lib/iiim/le/CannaLE/CannaLE.so
-lib/iiim/le/CannaLE/aux.la
-lib/iiim/le/CannaLE/aux.so
-lib/iiim/le/CannaLE/auxmenu
-@dirrm lib/iiim/le/CannaLE
-@dirrmtry lib/iiim/le
diff --git a/japanese/iiimf-le-freewnn/Makefile b/japanese/iiimf-le-freewnn/Makefile
deleted file mode 100644
index 5fd2b4716e38..000000000000
--- a/japanese/iiimf-le-freewnn/Makefile
+++ /dev/null
@@ -1,56 +0,0 @@
-# New ports collection makefile for: iiimf-le-freewnn
-# Date created: 18 Feb 2005
-# Whom: Masanori OZAWA <ozawa@ongs.co.jp>
-#
-# $FreeBSD$
-#
-
-PORTNAME= le-freewnn
-PORTVERSION= 12.2
-PORTREVISION= 5
-CATEGORIES= japanese textproc
-MASTER_SITES= http://www.openi18n.org/download/im-sdk/src/
-PKGNAMEPREFIX= iiimf-
-DISTNAME= iiimf-src-${PORTVERSION}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= FreeWnn language engine for IIIMF
-
-LIB_DEPENDS= wnn.0:${PORTSDIR}/japanese/FreeWnn-lib
-RUN_DEPENDS= iiimd:${PORTSDIR}/textproc/iiimf-server \
- ${LOCALBASE}/lib/iiim/csconv/csconv.so:${PORTSDIR}/textproc/iiimf-csconv \
- ${LOCALBASE}/bin/Wnn4/jserver:${PORTSDIR}/japanese/FreeWnn-server
-
-ONLY_FOR_ARCHS= i386
-
-USE_BZIP2= yes
-USE_ICONV= 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 -I${LOCALBASE}/include/wnn \
- ${PTHREAD_CFLAGS}
-LDFLAGS+= -L${LOCALBASE}/lib -liconv ${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}/freewnn/freewnn.c
- ${REINPLACE_CMD} -e "s,/usr/lib/iiim,${LOCALBASE}/lib/iiim,g" \
- ${WRKSRC}/lib/CSConv/csconv.h
-
-do-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/japanese/iiimf-le-freewnn/distinfo b/japanese/iiimf-le-freewnn/distinfo
deleted file mode 100644
index 05a6cc1c1876..000000000000
--- a/japanese/iiimf-le-freewnn/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/japanese/iiimf-le-freewnn/files/patch-Makefile b/japanese/iiimf-le-freewnn/files/patch-Makefile
deleted file mode 100644
index a8946b2a35b4..000000000000
--- a/japanese/iiimf-le-freewnn/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/japanese/iiimf-le-freewnn/files/patch-acfiles_check_sys.m4 b/japanese/iiimf-le-freewnn/files/patch-acfiles_check_sys.m4
deleted file mode 100644
index 44ee86c035bc..000000000000
--- a/japanese/iiimf-le-freewnn/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/japanese/iiimf-le-freewnn/files/patch-leif_Makefile.am b/japanese/iiimf-le-freewnn/files/patch-leif_Makefile.am
deleted file mode 100644
index 710a4d8844f9..000000000000
--- a/japanese/iiimf-le-freewnn/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/japanese/iiimf-le-freewnn/files/patch-leif_configure.ac b/japanese/iiimf-le-freewnn/files/patch-leif_configure.ac
deleted file mode 100644
index e35ef0176695..000000000000
--- a/japanese/iiimf-le-freewnn/files/patch-leif_configure.ac
+++ /dev/null
@@ -1,55 +0,0 @@
---- leif/configure.ac.orig Mon May 2 22:16:12 2005
-+++ leif/configure.ac Fri May 27 14:23:29 2005
-@@ -46,17 +46,17 @@
-
- IM_CHECK_SYSTEM
- IM_CHECK_DLOPEN
--IM_CHECK_CANNA
-+#IM_CHECK_CANNA
- IM_CHECK_FREEWNN
--IM_CHECK_CHEWING
-+#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_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="freewnn"
-
--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/japanese/iiimf-le-freewnn/files/patch-leif_freewnn_freewnn.c b/japanese/iiimf-le-freewnn/files/patch-leif_freewnn_freewnn.c
deleted file mode 100644
index e7b91d4f17c0..000000000000
--- a/japanese/iiimf-le-freewnn/files/patch-leif_freewnn_freewnn.c
+++ /dev/null
@@ -1,140 +0,0 @@
---- leif/freewnn/freewnn.c.orig Sun Mar 20 11:41:29 2005
-+++ leif/freewnn/freewnn.c Wed May 18 01:20:56 2005
-@@ -59,7 +59,7 @@
- #define BUFSIZE 1024
- #endif
-
--#define WNNRCFILE "/etc/FreeWnn/ja/wnnenvrc"
-+#define WNNRCFILE "%%LOCALBASE%%" "/lib/wnn/ja_JP/wnnenvrc"
-
- #define CSC_OPEN_LOCALE "csconv_open_locale"
- #define CSC_OPEN "csconv_open"
-@@ -162,7 +162,7 @@
- int count = 0;
-
- if( str == NULL ) return NULL;
-- if( *str == '\0' ) return NULL;
-+ if( *str == '\0' ) return "";
-
- for(i=0;i<strlen(str);i++) {
- count++;
-@@ -201,7 +201,7 @@
-
- if( wstr == NULL ) return NULL;
-
-- if( *wstr == 0 ) return NULL;
-+ if( *wstr == 0 ) return "";
-
- for(i=0;wstr[i] != 0;i++)
- count++;
-@@ -388,14 +388,14 @@
-
- UTFCHAR*
- UTF8_to_UTFCHAR(unsigned char* str) {
-- UTFCHAR *p, *ustr = NULL;
-+ UTFCHAR *ustr = NULL;
- int len, ulen;
-
- const char *csc_arg_str_ccp; /* For compiler optimization */
- char *csc_arg_str_cp; /* For compiler optimization */
-
- if( str == NULL ) return NULL;
-- if( *str == '\0' ) return NULL;
-+ if( *str == '\0' ) return "";
-
- if( csconv_utf8_cd == NULL ) {
- csconv_utf8_cd = csc_open("UTF-16", "UTF-8");
-@@ -408,30 +408,34 @@
- len = strlen(str);
-
- ulen = sizeof(UTFCHAR)*(len+1);
-- p = ustr = (UTFCHAR*)calloc(len+1, sizeof(UTFCHAR));
-+ ustr = (UTFCHAR*)malloc(ulen);
-+ if (!ustr) return NULL;
-+ memset(ustr, 0, ulen);
-+ ulen--;
-
- /* Below 2 lines are to prevent gcc's warning and for the sake
- of compiler optimization */
- csc_arg_str_ccp = (const char*)str;
- csc_arg_str_cp = (char*)ustr;
-
-- csc_conv(csconv_utf8_cd, &csc_arg_str_ccp, &len, &csc_arg_str_cp, &ulen);
--
-- *ustr = 0;
-+ if ((size_t)-1 == csc_conv(csconv_utf8_cd, &csc_arg_str_ccp, &len, &csc_arg_str_cp, &ulen)) {
-+ free(ustr);
-+ return NULL;
-+ }
-
-- return p;
-+ return ustr;
- }
-
- UTFCHAR*
- euc2UTFCHAR(unsigned char* str) {
-- UTFCHAR *p, *ustr = NULL;
-+ UTFCHAR *ustr = NULL;
- int len, ulen;
-
- const char *csc_arg_str_ccp; /* For compiler optimization */
- char *csc_arg_str_cp; /* For compiler optimization */
-
- if( str == NULL ) return NULL;
-- if( *str == '\0' ) return NULL;
-+ if( *str == '\0' ) return "";
-
- if( csconv_cd == NULL ) {
- csconv_cd = csc_open_locale("ja_JP.eucJP", "UTF-16", "MultiByte");
-@@ -444,18 +448,22 @@
- len = strlen(str);
-
- ulen = sizeof(UTFCHAR)*(len+1);
-- p = ustr = (UTFCHAR*)calloc(len+1, sizeof(UTFCHAR));
-+ ustr = (UTFCHAR*)malloc(ulen);
-+ if (!ustr) return NULL;
-+ memset(ustr, 0, ulen);
-+ ulen--;
-
- /* Below 2 lines are to prevent gcc's warning and for the sake
- of compiler optimization */
- csc_arg_str_ccp = (const char*)str;
- csc_arg_str_cp = (char*)ustr;
-
-- csc_conv(csconv_cd, &csc_arg_str_ccp, &len, &csc_arg_str_cp, &ulen);
--
-- *ustr = 0;
-+ if ((size_t)-1 == csc_conv(csconv_cd, &csc_arg_str_ccp, &len, &csc_arg_str_cp, &ulen)) {
-+ free(ustr);
-+ return NULL;
-+ }
-
-- return p;
-+ return ustr;
- }
-
- IMText*
-@@ -466,7 +474,10 @@
- ustr = UTF8_to_UTFCHAR(str);
-
- p = create_IMText(s, ustrlen(ustr));
-- memcpy(p->text.utf_chars, ustr, (ustrlen(ustr)+1)*sizeof(UTFCHAR));
-+ if (p && ustr) {
-+ memcpy(p->text.utf_chars, ustr, (ustrlen(ustr)+1)*sizeof(UTFCHAR));
-+ }
-+ if (ustr) free(ustr);
-
- return p;
- }
-@@ -479,7 +490,10 @@
- ustr = euc2UTFCHAR(str);
-
- p = create_IMText(s, ustrlen(ustr));
-- memcpy(p->text.utf_chars, ustr, (ustrlen(ustr)+1)*sizeof(UTFCHAR));
-+ if (p && ustr) {
-+ memcpy(p->text.utf_chars, ustr, (ustrlen(ustr)+1)*sizeof(UTFCHAR));
-+ }
-+ if (ustr) free(ustr);
-
- return p;
- }
diff --git a/japanese/iiimf-le-freewnn/pkg-descr b/japanese/iiimf-le-freewnn/pkg-descr
deleted file mode 100644
index 358e264185b3..000000000000
--- a/japanese/iiimf-le-freewnn/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-IIIMF stands for Internet/Intranet Input Method Framework.
-IIIMF is designed to be the next generation of input method framework.
-
-FreeWnnLE - Interface module to the FreeWnn language engine for IIIMF.
-
-WWW: http://www.openi18n.org/subgroups/im/IIIMF/
diff --git a/japanese/iiimf-le-freewnn/pkg-plist b/japanese/iiimf-le-freewnn/pkg-plist
deleted file mode 100644
index af9a714942fd..000000000000
--- a/japanese/iiimf-le-freewnn/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-lib/iiim/le/FreeWnnLE/FreeWnnLE.so
-@dirrm lib/iiim/le/FreeWnnLE
-@dirrmtry lib/iiim/le
diff --git a/korean/Makefile b/korean/Makefile
index f9472ba78ac1..2a26b1c641c2 100644
--- a/korean/Makefile
+++ b/korean/Makefile
@@ -31,7 +31,6 @@
SUBDIR += hlatexfonts-ocf
SUBDIR += hmconv
SUBDIR += hpscat
- SUBDIR += iiimf-le-hangul
SUBDIR += imhangul
SUBDIR += johabfonts
SUBDIR += kaistfonts
diff --git a/korean/iiimf-le-hangul/Makefile b/korean/iiimf-le-hangul/Makefile
deleted file mode 100644
index 33babfdd3e60..000000000000
--- a/korean/iiimf-le-hangul/Makefile
+++ /dev/null
@@ -1,49 +0,0 @@
-# New ports collection makefile for: iiimf-le-hangul
-# Date created: 1 Mar 2005
-# Whom: Hajimu UMEMOTO <ume@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= le-hangul
-PORTVERSION= 12.2
-PORTREVISION= 6
-CATEGORIES= korean textproc
-MASTER_SITES= http://www.openi18n.org/download/im-sdk/src/
-PKGNAMEPREFIX= iiimf-
-DISTNAME= iiimf-src-${PORTVERSION}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= IIIMF Hangul input method engine
-
-RUN_DEPENDS= iiimd:${PORTSDIR}/textproc/iiimf-server
-
-ONLY_FOR_ARCHS= i386
-
-USE_XORG= x11
-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
-
-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/korean/iiimf-le-hangul/distinfo b/korean/iiimf-le-hangul/distinfo
deleted file mode 100644
index 05a6cc1c1876..000000000000
--- a/korean/iiimf-le-hangul/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/korean/iiimf-le-hangul/files/patch-Makefile b/korean/iiimf-le-hangul/files/patch-Makefile
deleted file mode 100644
index a8946b2a35b4..000000000000
--- a/korean/iiimf-le-hangul/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/korean/iiimf-le-hangul/files/patch-leif_Makefile.am b/korean/iiimf-le-hangul/files/patch-leif_Makefile.am
deleted file mode 100644
index 710a4d8844f9..000000000000
--- a/korean/iiimf-le-hangul/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/korean/iiimf-le-hangul/files/patch-leif_configure.ac b/korean/iiimf-le-hangul/files/patch-leif_configure.ac
deleted file mode 100644
index 44a6caf513c7..000000000000
--- a/korean/iiimf-le-hangul/files/patch-leif_configure.ac
+++ /dev/null
@@ -1,55 +0,0 @@
---- leif/configure.ac.orig Mon May 2 22:16:12 2005
-+++ leif/configure.ac Fri May 27 14:45:07 2005
-@@ -46,17 +46,17 @@
-
- IM_CHECK_SYSTEM
- IM_CHECK_DLOPEN
--IM_CHECK_CANNA
--IM_CHECK_FREEWNN
--IM_CHECK_CHEWING
-+#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_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="hangul"
-
--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/korean/iiimf-le-hangul/pkg-descr b/korean/iiimf-le-hangul/pkg-descr
deleted file mode 100644
index 8ab5cd90f622..000000000000
--- a/korean/iiimf-le-hangul/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
-IIIMF stands for Internet/Intranet Input Method Framework.
-IIIMF is designed to be the next generation of input method framework
-
-UNIcode Table based generic composition engine with lookup-choice capability,
-originally shipped with Solaris 9 update. Since the Unit started as hile,
-the HIndi LE, this engine comes with Indic scripts tables, but it does not
-mean this engine only supports Indic, it can be enhanced to wider scripts
-coverage.
-
-WWW: http://www.openi18n.org/subgroups/im/IIIMF/
diff --git a/korean/iiimf-le-hangul/pkg-plist b/korean/iiimf-le-hangul/pkg-plist
deleted file mode 100644
index 16d38d0ca76c..000000000000
--- a/korean/iiimf-le-hangul/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-lib/iiim/le/hangul/hangul.so
-lib/iiim/le/hangul/hangul.conf
-lib/iiim/le/hangul/tables/candidate.txt
-@dirrm lib/iiim/le/hangul/tables
-@dirrm lib/iiim/le/hangul
-@dirrmtry lib/iiim/le