aboutsummaryrefslogtreecommitdiff
path: root/chinese/iiimf-le-ude
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-10-13 22:39:36 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-10-13 22:39:36 +0000
commit365e5f712efee4f63c2f6d1516074f6d560e99b4 (patch)
treea51e18d0b47d3e299adeb10520234763b2a71de9 /chinese/iiimf-le-ude
parentc10bf75884f436f1eba0a86fb602a6d669c81612 (diff)
downloadports-365e5f712efee4f63c2f6d1516074f6d560e99b4.tar.gz
ports-365e5f712efee4f63c2f6d1516074f6d560e99b4.zip
Notes
Diffstat (limited to 'chinese/iiimf-le-ude')
-rw-r--r--chinese/iiimf-le-ude/Makefile44
-rw-r--r--chinese/iiimf-le-ude/distinfo2
-rw-r--r--chinese/iiimf-le-ude/files/patch-leif_configure.ac10
-rw-r--r--chinese/iiimf-le-ude/pkg-descr10
-rw-r--r--chinese/iiimf-le-ude/pkg-plist7
5 files changed, 73 insertions, 0 deletions
diff --git a/chinese/iiimf-le-ude/Makefile b/chinese/iiimf-le-ude/Makefile
new file mode 100644
index 000000000000..17b6e19d6b55
--- /dev/null
+++ b/chinese/iiimf-le-ude/Makefile
@@ -0,0 +1,44 @@
+# 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= ${IIIMF_VER:S/_/./g:C/-.*//}
+CATEGORIES= chinese textproc
+MASTER_SITES= http://www.openi18n.org/download/im-sdk/src/
+PKGNAMEPREFIX= iiimf-
+DISTNAME= im-sdk
+DISTFILES= ${DISTNAME}-src-${IIIMF_VER}.tgz
+
+MAINTAINER= kcwu@csie.org
+COMMENT= IIIMF User Defined language Engine for Simplified Chinese conversion
+
+RUN_DEPENDS= ${LOCALBASE}/lib/im/htt:${PORTSDIR}/textproc/iiimf-server
+
+IIIMF_VER= r12_0_1-svn1891
+WRKSRC= ${WRKDIR}/${DISTNAME}-${IIIMF_VER}/leif
+BUILD_WRKSRC= ${WRKSRC}/ude
+INSTALL_WRKSRC= ${WRKSRC}/ude
+USE_REINPLACE= yes
+USE_AUTOCONF_VER= 259
+USE_AUTOHEADER_VER= 259
+USE_AUTOMAKE_VER= 19
+USE_LIBTOOL_VER= 15
+AUTOMAKE_ARGS+= --add-missing --copy --gnu
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
+post-patch:
+ ${REINPLACE_CMD} -e "s,/usr/lib/im,${PREFIX}/lib/im,g" \
+ ${WRKSRC}/../acfiles/im_common.m4 \
+ ${WRKSRC}/configure.ac \
+ ${WRKSRC}/ude/UDEngine.c
+
+pre-configure:
+ cd ${WRKSRC} && ${ACLOCAL} -I ${LOCALBASE}/share/aclocal -I ../acfiles
+ ${TOUCH} ${WRKSRC}/config.h.in
+ cd ${WRKSRC} && ${LIBTOOLIZE} --copy --force --automake
+
+.include <bsd.port.mk>
diff --git a/chinese/iiimf-le-ude/distinfo b/chinese/iiimf-le-ude/distinfo
new file mode 100644
index 000000000000..29d049a782bc
--- /dev/null
+++ b/chinese/iiimf-le-ude/distinfo
@@ -0,0 +1,2 @@
+MD5 (im-sdk-src-r12_0_1-svn1891.tgz) = 4e51e4fd07391bd957622db0e89aeefe
+SIZE (im-sdk-src-r12_0_1-svn1891.tgz) = 18206118
diff --git a/chinese/iiimf-le-ude/files/patch-leif_configure.ac b/chinese/iiimf-le-ude/files/patch-leif_configure.ac
new file mode 100644
index 000000000000..a28012caf7aa
--- /dev/null
+++ b/chinese/iiimf-le-ude/files/patch-leif_configure.ac
@@ -0,0 +1,10 @@
+--- configure.ac.orig Wed Sep 8 00:00:58 2004
++++ configure.ac Wed Sep 8 00:02:34 2004
+@@ -10,6 +10,7 @@
+ dnl common initialization
+ dnl AC_CONFIG_AUX_DIR(../acfiles)
+ IM_INIT(..)
++m4_pattern_allow([AM_ET])
+
+ AM_INIT_AUTOMAKE(im-sdk, 11.0)
+ AM_CONFIG_HEADER(config.h)
diff --git a/chinese/iiimf-le-ude/pkg-descr b/chinese/iiimf-le-ude/pkg-descr
new file mode 100644
index 000000000000..5a4238478134
--- /dev/null
+++ b/chinese/iiimf-le-ude/pkg-descr
@@ -0,0 +1,10 @@
+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/
+
+- Kuang-che Wu
+ kcwu@csie.org
diff --git a/chinese/iiimf-le-ude/pkg-plist b/chinese/iiimf-le-ude/pkg-plist
new file mode 100644
index 000000000000..6b771800f5b2
--- /dev/null
+++ b/chinese/iiimf-le-ude/pkg-plist
@@ -0,0 +1,7 @@
+lib/im/leif/udengine.so
+lib/im/locale/zh_CN/ude/data/pinyin.mb
+@dirrm lib/im/locale/zh_CN/ude/data
+@dirrm lib/im/locale/zh_CN/ude
+@unexec rmdir %D/lib/im/locale/zh_CN 2>/dev/null || true
+@unexec rmdir %D/lib/im/locale 2>/dev/null || true
+@unexec rmdir %D/lib/im/leif 2>/dev/null || true