aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-12-28 19:43:36 +0800
committeredwin <edwin@FreeBSD.org>2003-12-28 19:43:36 +0800
commitf500ef902aa2dd3cb1d6c0340c6ee6d8adc3722f (patch)
treeaf3d6628e395fff08966bb661a5d1ee8ec88623c /textproc
parent8473fa62f9e954153037f13eab60e58cfb7e4e21 (diff)
downloadfreebsd-ports-gnome-f500ef902aa2dd3cb1d6c0340c6ee6d8adc3722f.tar.gz
freebsd-ports-gnome-f500ef902aa2dd3cb1d6c0340c6ee6d8adc3722f.tar.zst
freebsd-ports-gnome-f500ef902aa2dd3cb1d6c0340c6ee6d8adc3722f.zip
New port: iiimf-*
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/ - Kuang-che Wu kcwu@csie.org PR: ports/60087 Submitted by: Kuang-che Wu <kcwu@csie.org>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/iiimf-csconv/Makefile46
-rw-r--r--textproc/iiimf-csconv/distinfo1
-rw-r--r--textproc/iiimf-csconv/files/patch-lib_CSConv_configure10
-rw-r--r--textproc/iiimf-csconv/pkg-descr21
-rw-r--r--textproc/iiimf-csconv/pkg-plist241
-rw-r--r--textproc/iiimf-le-unit/Makefile41
-rw-r--r--textproc/iiimf-le-unit/distinfo1
-rw-r--r--textproc/iiimf-le-unit/files/patch-leif_unit_codetable_Makefile.in11
-rw-r--r--textproc/iiimf-le-unit/files/patch-leif_unit_ctim_Makefile.in11
-rw-r--r--textproc/iiimf-le-unit/files/patch-leif_unit_leif_Makefile.in11
-rw-r--r--textproc/iiimf-le-unit/files/patch-leif_unit_xaux_common_Makefile.in11
-rw-r--r--textproc/iiimf-le-unit/pkg-descr21
-rw-r--r--textproc/iiimf-le-unit/pkg-plist42
14 files changed, 469 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index c0d725498058..2643604f3f52 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -120,6 +120,7 @@
SUBDIR += htmlsection
SUBDIR += htmltolatex
SUBDIR += iiimf-client-lib
+ SUBDIR += iiimf-csconv
SUBDIR += iiimf-headers
SUBDIR += iiimf-le-unit
SUBDIR += iiimf-protocol-lib
diff --git a/textproc/iiimf-csconv/Makefile b/textproc/iiimf-csconv/Makefile
new file mode 100644
index 000000000000..ad3b07983f95
--- /dev/null
+++ b/textproc/iiimf-csconv/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: iiimf-csconv
+# Date created: 6 Dec 2003
+# Whom: Kuang-che Wu <kcwu@csie.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= iiimf-csconv
+PORTVERSION= ${IIIMF_VER:S/_/./:C/-.*//}
+CATEGORIES= textproc
+MASTER_SITES= http://www.openi18n.org/download/docs/im-sdk/
+DISTNAME= im-sdk
+DISTFILES= ${DISTNAME}.${IIIMF_VER:S/-/./}${EXTRACT_SUFX}
+
+MAINTAINER= kcwu@csie.org
+COMMENT= Internet/Intranet Input Method Framework encoding convert library
+
+IIIMF_VER= r11_4-1467
+WRKSRC= ${WRKDIR}/${DISTNAME}-${IIIMF_VER}/lib/CSConv
+USE_BZIP2= yes
+USE_GMAKE= yes
+INSTALLS_SHLIB= yes
+USE_REINPLACE= yes
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix=${PREFIX}
+
+post-patch:
+ ${REINPLACE_CMD} -e "s,-lpthread,-pthread,g" \
+ -e "s,-D_POSIX_C_SOURCE=199506L,,g" \
+ -e "s,has_xiccallback=no,has_xiccallback=yes,g" \
+ -e "s,/usr/lib/im,${PREFIX}/lib/im,g" \
+ -e 's,x"gcc",x"cc",g' \
+ ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e "s,/usr/lib/im,${PREFIX}/lib/im,g" \
+ ${WRKSRC}/csconv.h \
+ ${WRKSRC}/converterPI/test/icutest4linux.c \
+ ${WRKSRC}/converterPI/icuconv_relay.c \
+ ${WRKSRC}/converterPI/configure \
+ ${WRKSRC}/converterPI/icuconv/common/config.h
+ ${REINPLACE_CMD} -e "s,-lpthread,-pthread,g" -e "s,-ldl,," \
+ ${WRKSRC}/converterPI/icuconv/common/Makefile.in \
+ ${WRKSRC}/converterPI/icuconv/tools/toolutil/Makefile.in
+ ${REINPLACE_CMD} -e "s,ELIBBAD,-2," \
+ ${WRKSRC}/converterPI/icuconv/common/icuconv.c
+
+.include <bsd.port.mk>
diff --git a/textproc/iiimf-csconv/distinfo b/textproc/iiimf-csconv/distinfo
new file mode 100644
index 000000000000..4ec913af341f
--- /dev/null
+++ b/textproc/iiimf-csconv/distinfo
@@ -0,0 +1 @@
+MD5 (im-sdk.r11_4.1467.tar.bz2) = ca6b6ac7c41641db6eaa0fa395748f90
diff --git a/textproc/iiimf-csconv/files/patch-lib_CSConv_configure b/textproc/iiimf-csconv/files/patch-lib_CSConv_configure
new file mode 100644
index 000000000000..f33a2889f95b
--- /dev/null
+++ b/textproc/iiimf-csconv/files/patch-lib_CSConv_configure
@@ -0,0 +1,10 @@
+--- configure.orig Sat Dec 6 01:28:41 2003
++++ configure Sat Dec 6 01:28:43 2003
+@@ -6220,6 +6220,7 @@
+ case "${host}" in
+ *solaris*) platform=SOLARIS ;;
+ *linux*) platform=LINUX ;;
++ *freebsd*) platform=FREEBSD ;;
+ esac
+
+
diff --git a/textproc/iiimf-csconv/pkg-descr b/textproc/iiimf-csconv/pkg-descr
new file mode 100644
index 000000000000..ac72b20e8941
--- /dev/null
+++ b/textproc/iiimf-csconv/pkg-descr
@@ -0,0 +1,21 @@
+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/
+
+- Kuang-che Wu
+ kcwu@csie.org
diff --git a/textproc/iiimf-csconv/pkg-plist b/textproc/iiimf-csconv/pkg-plist
new file mode 100644
index 000000000000..8a565420591e
--- /dev/null
+++ b/textproc/iiimf-csconv/pkg-plist
@@ -0,0 +1,241 @@
+csconv/big5_ct.so
+csconv/big5w_ct.so
+csconv/cns_ct.so
+csconv/cnsw_ct.so
+csconv/compoundtext/ct_de
+csconv/compoundtext/ct_en_US
+csconv/compoundtext/ct_es
+csconv/compoundtext/ct_fr
+csconv/compoundtext/ct_it
+csconv/compoundtext/ct_ja
+csconv/compoundtext/ct_ko
+csconv/compoundtext/ct_sv
+csconv/compoundtext/ct_zh
+csconv/compoundtext/ct_zh.GBK
+csconv/compoundtext/ct_zh_TW
+csconv/compoundtext/ct_zh_TW.GBK
+csconv/csconv.conf
+csconv/csconv.so
+csconv/ct_big5.so
+csconv/ct_big5w.so
+csconv/ct_cns.so
+csconv/ct_cnsw.so
+csconv/ct_euc.so
+csconv/ct_eucw.so
+csconv/ct_pck.so
+csconv/ct_pckw.so
+csconv/ct_utf16.so
+csconv/ct_utf8.so
+csconv/ct_utf8w.so
+csconv/ctex_mbs.so
+csconv/ctex_wcs.so
+csconv/encoding.norm
+csconv/euc_ct.so
+csconv/eucw_ct.so
+csconv/iconv.so
+csconv/iconv_relay.so
+csconv/iconv_relay_mb_wc.so
+csconv/iconv_relay_wc_mb.so
+csconv/icuconv_relay.so
+csconv/icuconv_relay_mb_wc.so
+csconv/icuconv_relay_wc_mb.so
+csconv/libicuconv.so
+csconv/mbs_ctex.so
+csconv/mbs_wcs.so
+csconv/nil.so
+csconv/pck_ct.so
+csconv/pckw_ct.so
+csconv/utf16_ct.so
+csconv/utf8_ct.so
+csconv/utf8w_ct.so
+csconv/wcs_ctex.so
+csconv/wcs_mbs.so
+icuconv/libicu-toolutil.so
+share/icu/1.4.0/cnvalias.dat
+share/icu/1.4.0/ibm-1004.cnv
+share/icu/1.4.0/ibm-1006.cnv
+share/icu/1.4.0/ibm-1008.cnv
+share/icu/1.4.0/ibm-1038.cnv
+share/icu/1.4.0/ibm-1041.cnv
+share/icu/1.4.0/ibm-1043.cnv
+share/icu/1.4.0/ibm-1047.cnv
+share/icu/1.4.0/ibm-1051.cnv
+share/icu/1.4.0/ibm-1088.cnv
+share/icu/1.4.0/ibm-1089.cnv
+share/icu/1.4.0/ibm-1098.cnv
+share/icu/1.4.0/ibm-1112.cnv
+share/icu/1.4.0/ibm-1114.cnv
+share/icu/1.4.0/ibm-1115.cnv
+share/icu/1.4.0/ibm-1116.cnv
+share/icu/1.4.0/ibm-1117.cnv
+share/icu/1.4.0/ibm-1118.cnv
+share/icu/1.4.0/ibm-1119.cnv
+share/icu/1.4.0/ibm-1123.cnv
+share/icu/1.4.0/ibm-1140-s390.cnv
+share/icu/1.4.0/ibm-1140.cnv
+share/icu/1.4.0/ibm-1141.cnv
+share/icu/1.4.0/ibm-1142-s390.cnv
+share/icu/1.4.0/ibm-1142.cnv
+share/icu/1.4.0/ibm-1143-s390.cnv
+share/icu/1.4.0/ibm-1143.cnv
+share/icu/1.4.0/ibm-1144-s390.cnv
+share/icu/1.4.0/ibm-1144.cnv
+share/icu/1.4.0/ibm-1145-s390.cnv
+share/icu/1.4.0/ibm-1145.cnv
+share/icu/1.4.0/ibm-1146-s390.cnv
+share/icu/1.4.0/ibm-1146.cnv
+share/icu/1.4.0/ibm-1147-s390.cnv
+share/icu/1.4.0/ibm-1147.cnv
+share/icu/1.4.0/ibm-1148-s390.cnv
+share/icu/1.4.0/ibm-1148.cnv
+share/icu/1.4.0/ibm-1149-s390.cnv
+share/icu/1.4.0/ibm-1149.cnv
+share/icu/1.4.0/ibm-1153-s390.cnv
+share/icu/1.4.0/ibm-1153.cnv
+share/icu/1.4.0/ibm-1154.cnv
+share/icu/1.4.0/ibm-1155.cnv
+share/icu/1.4.0/ibm-1156.cnv
+share/icu/1.4.0/ibm-1157.cnv
+share/icu/1.4.0/ibm-1158.cnv
+share/icu/1.4.0/ibm-1159.cnv
+share/icu/1.4.0/ibm-1160.cnv
+share/icu/1.4.0/ibm-1164.cnv
+share/icu/1.4.0/ibm-1250.cnv
+share/icu/1.4.0/ibm-1251.cnv
+share/icu/1.4.0/ibm-1252.cnv
+share/icu/1.4.0/ibm-1253.cnv
+share/icu/1.4.0/ibm-1254.cnv
+share/icu/1.4.0/ibm-1255.cnv
+share/icu/1.4.0/ibm-1256.cnv
+share/icu/1.4.0/ibm-1257.cnv
+share/icu/1.4.0/ibm-1258.cnv
+share/icu/1.4.0/ibm-12712-s390.cnv
+share/icu/1.4.0/ibm-12712.cnv
+share/icu/1.4.0/ibm-1275.cnv
+share/icu/1.4.0/ibm-1276.cnv
+share/icu/1.4.0/ibm-1277.cnv
+share/icu/1.4.0/ibm-1280.cnv
+share/icu/1.4.0/ibm-1281.cnv
+share/icu/1.4.0/ibm-1282.cnv
+share/icu/1.4.0/ibm-1283.cnv
+share/icu/1.4.0/ibm-1361.cnv
+share/icu/1.4.0/ibm-1362.cnv
+share/icu/1.4.0/ibm-1363.cnv
+share/icu/1.4.0/ibm-1364.cnv
+share/icu/1.4.0/ibm-1370.cnv
+share/icu/1.4.0/ibm-1371.cnv
+share/icu/1.4.0/ibm-1383.cnv
+share/icu/1.4.0/ibm-1386.cnv
+share/icu/1.4.0/ibm-1390.cnv
+share/icu/1.4.0/ibm-1399.cnv
+share/icu/1.4.0/ibm-16684.cnv
+share/icu/1.4.0/ibm-16804-s390.cnv
+share/icu/1.4.0/ibm-16804.cnv
+share/icu/1.4.0/ibm-17248.cnv
+share/icu/1.4.0/ibm-21427.cnv
+share/icu/1.4.0/ibm-273.cnv
+share/icu/1.4.0/ibm-277.cnv
+share/icu/1.4.0/ibm-278.cnv
+share/icu/1.4.0/ibm-280.cnv
+share/icu/1.4.0/ibm-284.cnv
+share/icu/1.4.0/ibm-285.cnv
+share/icu/1.4.0/ibm-297.cnv
+share/icu/1.4.0/ibm-37-s390.cnv
+share/icu/1.4.0/ibm-37.cnv
+share/icu/1.4.0/ibm-420.cnv
+share/icu/1.4.0/ibm-424.cnv
+share/icu/1.4.0/ibm-437.cnv
+share/icu/1.4.0/ibm-4899.cnv
+share/icu/1.4.0/ibm-4909.cnv
+share/icu/1.4.0/ibm-4930.cnv
+share/icu/1.4.0/ibm-4971.cnv
+share/icu/1.4.0/ibm-500.cnv
+share/icu/1.4.0/ibm-5104.cnv
+share/icu/1.4.0/ibm-5123.cnv
+share/icu/1.4.0/ibm-5210.cnv
+share/icu/1.4.0/ibm-5346.cnv
+share/icu/1.4.0/ibm-5347.cnv
+share/icu/1.4.0/ibm-5349.cnv
+share/icu/1.4.0/ibm-5350.cnv
+share/icu/1.4.0/ibm-5351.cnv
+share/icu/1.4.0/ibm-5352.cnv
+share/icu/1.4.0/ibm-5353.cnv
+share/icu/1.4.0/ibm-5354.cnv
+share/icu/1.4.0/ibm-803.cnv
+share/icu/1.4.0/ibm-808.cnv
+share/icu/1.4.0/ibm-813.cnv
+share/icu/1.4.0/ibm-833.cnv
+share/icu/1.4.0/ibm-834.cnv
+share/icu/1.4.0/ibm-835.cnv
+share/icu/1.4.0/ibm-848.cnv
+share/icu/1.4.0/ibm-8482.cnv
+share/icu/1.4.0/ibm-849.cnv
+share/icu/1.4.0/ibm-850.cnv
+share/icu/1.4.0/ibm-852.cnv
+share/icu/1.4.0/ibm-855.cnv
+share/icu/1.4.0/ibm-856.cnv
+share/icu/1.4.0/ibm-857.cnv
+share/icu/1.4.0/ibm-858.cnv
+share/icu/1.4.0/ibm-859.cnv
+share/icu/1.4.0/ibm-860.cnv
+share/icu/1.4.0/ibm-861.cnv
+share/icu/1.4.0/ibm-862.cnv
+share/icu/1.4.0/ibm-863.cnv
+share/icu/1.4.0/ibm-864.cnv
+share/icu/1.4.0/ibm-865.cnv
+share/icu/1.4.0/ibm-866.cnv
+share/icu/1.4.0/ibm-867.cnv
+share/icu/1.4.0/ibm-868.cnv
+share/icu/1.4.0/ibm-869.cnv
+share/icu/1.4.0/ibm-871.cnv
+share/icu/1.4.0/ibm-872.cnv
+share/icu/1.4.0/ibm-874.cnv
+share/icu/1.4.0/ibm-878.cnv
+share/icu/1.4.0/ibm-891.cnv
+share/icu/1.4.0/ibm-897.cnv
+share/icu/1.4.0/ibm-901.cnv
+share/icu/1.4.0/ibm-902.cnv
+share/icu/1.4.0/ibm-9027.cnv
+share/icu/1.4.0/ibm-903.cnv
+share/icu/1.4.0/ibm-904.cnv
+share/icu/1.4.0/ibm-9044.cnv
+share/icu/1.4.0/ibm-9049.cnv
+share/icu/1.4.0/ibm-9061.cnv
+share/icu/1.4.0/ibm-907.cnv
+share/icu/1.4.0/ibm-909.cnv
+share/icu/1.4.0/ibm-910.cnv
+share/icu/1.4.0/ibm-912.cnv
+share/icu/1.4.0/ibm-913.cnv
+share/icu/1.4.0/ibm-914.cnv
+share/icu/1.4.0/ibm-915.cnv
+share/icu/1.4.0/ibm-916.cnv
+share/icu/1.4.0/ibm-920.cnv
+share/icu/1.4.0/ibm-921.cnv
+share/icu/1.4.0/ibm-922.cnv
+share/icu/1.4.0/ibm-923.cnv
+share/icu/1.4.0/ibm-9238.cnv
+share/icu/1.4.0/ibm-924.cnv
+share/icu/1.4.0/ibm-930.cnv
+share/icu/1.4.0/ibm-933.cnv
+share/icu/1.4.0/ibm-935.cnv
+share/icu/1.4.0/ibm-937.cnv
+share/icu/1.4.0/ibm-939.cnv
+share/icu/1.4.0/ibm-941.cnv
+share/icu/1.4.0/ibm-942.cnv
+share/icu/1.4.0/ibm-943.cnv
+share/icu/1.4.0/ibm-944.cnv
+share/icu/1.4.0/ibm-946.cnv
+share/icu/1.4.0/ibm-947.cnv
+share/icu/1.4.0/ibm-948.cnv
+share/icu/1.4.0/ibm-949.cnv
+share/icu/1.4.0/ibm-950.cnv
+share/icu/1.4.0/ibm-953.cnv
+share/icu/1.4.0/ibm-954.cnv
+share/icu/1.4.0/ibm-955.cnv
+share/icu/1.4.0/ibm-970.cnv
+share/icu/1.4.0/icudata_cnvalias.dat
+@dirrm share/icu/1.4.0
+@dirrm share/icu
+@dirrm icuconv
+@dirrm csconv/compoundtext
+@dirrm csconv
diff --git a/textproc/iiimf-le-unit/Makefile b/textproc/iiimf-le-unit/Makefile
new file mode 100644
index 000000000000..fb2d9d4c98f6
--- /dev/null
+++ b/textproc/iiimf-le-unit/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: iiimf-le-unit
+# Date created: 6 Dec 2003
+# Whom: Kuang-che Wu <kcwu@csie.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= iiimf-le-unit
+PORTVERSION= ${IIIMF_VER:S/_/./:C/-.*//}
+CATEGORIES= textproc
+MASTER_SITES= http://www.openi18n.org/download/docs/im-sdk/
+DISTNAME= im-sdk
+DISTFILES= ${DISTNAME}.${IIIMF_VER:S/-/./}${EXTRACT_SUFX}
+
+MAINTAINER= kcwu@csie.org
+COMMENT= Internet/Intranet Input Method Framework language engine unit
+
+LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
+
+IIIMF_VER= r11_4-1467
+WRKSRC= ${WRKDIR}/${DISTNAME}-${IIIMF_VER}/leif
+BUILD_WRKSRC= ${WRKSRC}/unit
+INSTALL_WRKSRC= ${WRKSRC}/unit
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_XLIB= yes
+INSTALLS_SHLIB= yes
+USE_REINPLACE= yes
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix=${PREFIX}
+
+post-patch:
+ ${REINPLACE_CMD} -e "s,-lpthread,-pthread,g" \
+ -e "s,-D_POSIX_C_SOURCE=199506L,,g" \
+ -e "s,has_xiccallback=no,has_xiccallback=yes,g" \
+ -e "s,/usr/lib/im,${PREFIX}/lib/im,g" \
+ ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e "s,/usr/lib/im,${PREFIX}/lib/im,g" \
+ ${WRKSRC}/unit/include/indic_input.h
+
+.include <bsd.port.mk>
diff --git a/textproc/iiimf-le-unit/distinfo b/textproc/iiimf-le-unit/distinfo
new file mode 100644
index 000000000000..4ec913af341f
--- /dev/null
+++ b/textproc/iiimf-le-unit/distinfo
@@ -0,0 +1 @@
+MD5 (im-sdk.r11_4.1467.tar.bz2) = ca6b6ac7c41641db6eaa0fa395748f90
diff --git a/textproc/iiimf-le-unit/files/patch-leif_unit_codetable_Makefile.in b/textproc/iiimf-le-unit/files/patch-leif_unit_codetable_Makefile.in
new file mode 100644
index 000000000000..2832978ea365
--- /dev/null
+++ b/textproc/iiimf-le-unit/files/patch-leif_unit_codetable_Makefile.in
@@ -0,0 +1,11 @@
+--- unit/codetable/Makefile.in.orig Sat Dec 6 03:05:27 2003
++++ unit/codetable/Makefile.in Sat Dec 6 03:05:52 2003
+@@ -98,7 +98,7 @@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LDFLAGS = @LDFLAGS@
+ LE_TARGETS = @LE_TARGETS@
+-LIBS = @LIBS@
++LIBS = @LIBS@ -L/usr/local/lib -liconv
+ LIBTOOL = @LIBTOOL@
+ LINKER = @LINKER@
+ LN_S = @LN_S@
diff --git a/textproc/iiimf-le-unit/files/patch-leif_unit_ctim_Makefile.in b/textproc/iiimf-le-unit/files/patch-leif_unit_ctim_Makefile.in
new file mode 100644
index 000000000000..71f325601ae9
--- /dev/null
+++ b/textproc/iiimf-le-unit/files/patch-leif_unit_ctim_Makefile.in
@@ -0,0 +1,11 @@
+--- unit/ctim/Makefile.in.orig Sat Dec 6 03:03:08 2003
++++ unit/ctim/Makefile.in Sat Dec 6 03:03:24 2003
+@@ -72,7 +72,7 @@
+ AS = @AS@
+ AWK = @AWK@
+ CC = @CC@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ @X_CFLAGS@
+ CPP = @CPP@
+ CSCONV_DIR = @CSCONV_DIR@
+ CXX = @CXX@
diff --git a/textproc/iiimf-le-unit/files/patch-leif_unit_leif_Makefile.in b/textproc/iiimf-le-unit/files/patch-leif_unit_leif_Makefile.in
new file mode 100644
index 000000000000..36841e362149
--- /dev/null
+++ b/textproc/iiimf-le-unit/files/patch-leif_unit_leif_Makefile.in
@@ -0,0 +1,11 @@
+--- unit/leif/Makefile.in.orig Sat Dec 6 03:28:31 2003
++++ unit/leif/Makefile.in Sat Dec 6 03:28:37 2003
+@@ -72,7 +72,7 @@
+ AS = @AS@
+ AWK = @AWK@
+ CC = @CC@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ @X_CFLAGS@
+ CPP = @CPP@
+ CSCONV_DIR = @CSCONV_DIR@
+ CXX = @CXX@
diff --git a/textproc/iiimf-le-unit/files/patch-leif_unit_xaux_common_Makefile.in b/textproc/iiimf-le-unit/files/patch-leif_unit_xaux_common_Makefile.in
new file mode 100644
index 000000000000..3df73ecb0af8
--- /dev/null
+++ b/textproc/iiimf-le-unit/files/patch-leif_unit_xaux_common_Makefile.in
@@ -0,0 +1,11 @@
+--- unit/xaux_common/Makefile.in.orig Sat Dec 6 02:58:06 2003
++++ unit/xaux_common/Makefile.in Sat Dec 6 03:01:40 2003
+@@ -72,7 +72,7 @@
+ AS = @AS@
+ AWK = @AWK@
+ CC = @CC@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ @X_CFLAGS@ -I/usr/local/include
+ CPP = @CPP@
+ CSCONV_DIR = @CSCONV_DIR@
+ CXX = @CXX@
diff --git a/textproc/iiimf-le-unit/pkg-descr b/textproc/iiimf-le-unit/pkg-descr
new file mode 100644
index 000000000000..ac72b20e8941
--- /dev/null
+++ b/textproc/iiimf-le-unit/pkg-descr
@@ -0,0 +1,21 @@
+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/
+
+- Kuang-che Wu
+ kcwu@csie.org
diff --git a/textproc/iiimf-le-unit/pkg-plist b/textproc/iiimf-le-unit/pkg-plist
new file mode 100644
index 000000000000..fb75ce59a90c
--- /dev/null
+++ b/textproc/iiimf-le-unit/pkg-plist
@@ -0,0 +1,42 @@
+lib/im/leif/indicle.so
+lib/im/locale/in_IN/common/ctim.so
+lib/im/locale/in_IN/common/ctim.so.0
+lib/im/locale/in_IN/common/ctim.la
+lib/im/locale/in_IN/common/ctim.a
+lib/im/locale/in_IN/common/txt2bin
+lib/im/locale/in_IN/common/bin2txt
+lib/im/locale/in_IN/common/search
+lib/im/locale/in_IN/HINDI/data/inscript.data
+lib/im/locale/in_IN/HINDI/data/trans.data
+lib/im/locale/in_IN/TAMIL/data/inscript.data
+lib/im/locale/in_IN/TAMIL/data/trans.data
+lib/im/locale/in_IN/KANNADA/data/inscript.data
+lib/im/locale/in_IN/KANNADA/data/kgp.data
+lib/im/locale/in_IN/MALAYALAM/data/inscript.data
+lib/im/locale/in_IN/MALAYALAM/data/trans.data
+lib/im/locale/in_IN/TELUGU/data/inscript.data
+lib/im/locale/in_IN/GUJARATI/data/inscript.data
+lib/im/locale/in_IN/BENGALI/data/inscript.data
+lib/im/locale/in_IN/GURMUKHI/data/inscript.data
+lib/im/locale/in_IN/sysime.cfg
+@dirrm lib/im/locale/in_IN/common
+@dirrm lib/im/locale/in_IN/TELUGU/data
+@dirrm lib/im/locale/in_IN/TELUGU
+@dirrm lib/im/locale/in_IN/TAMIL/data
+@dirrm lib/im/locale/in_IN/TAMIL
+@dirrm lib/im/locale/in_IN/MALAYALAM/data
+@dirrm lib/im/locale/in_IN/MALAYALAM
+@dirrm lib/im/locale/in_IN/KANNADA/data
+@dirrm lib/im/locale/in_IN/KANNADA
+@dirrm lib/im/locale/in_IN/HINDI/data
+@dirrm lib/im/locale/in_IN/HINDI
+@dirrm lib/im/locale/in_IN/GURMUKHI/data
+@dirrm lib/im/locale/in_IN/GURMUKHI
+@dirrm lib/im/locale/in_IN/GUJARATI/data
+@dirrm lib/im/locale/in_IN/GUJARATI
+@dirrm lib/im/locale/in_IN/BENGALI/data
+@dirrm lib/im/locale/in_IN/BENGALI
+@dirrm lib/im/locale/in_IN
+@dirrm lib/im/locale
+@dirrm lib/im/leif
+@unexec rmdir %D/lib/im 2>/dev/null || true