diff options
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/Makefile | 1 | ||||
-rw-r--r-- | chinese/iiimf-le-ude/Makefile | 44 | ||||
-rw-r--r-- | chinese/iiimf-le-ude/distinfo | 2 | ||||
-rw-r--r-- | chinese/iiimf-le-ude/files/patch-leif_configure.ac | 10 | ||||
-rw-r--r-- | chinese/iiimf-le-ude/pkg-descr | 10 | ||||
-rw-r--r-- | chinese/iiimf-le-ude/pkg-plist | 7 |
6 files changed, 74 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile index 68d776e9e0c9..608a73cf4e94 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -54,6 +54,7 @@ SUBDIR += hztty SUBDIR += iiimf-le-chewing SUBDIR += iiimf-le-newpy + SUBDIR += iiimf-le-ude SUBDIR += irssi SUBDIR += jis2gb SUBDIR += joe 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 |