mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Add iiimf-le-chewing, an Intelligent Chinese Phonetic Input Method for UNIX.
PR: ports/72624 Submitted by: Kuang-che Wu <kcwu@csie.org>
This commit is contained in:
parent
d7da8381ae
commit
c10bf75884
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119323
@ -52,6 +52,7 @@
|
||||
SUBDIR += hanzim
|
||||
SUBDIR += hc
|
||||
SUBDIR += hztty
|
||||
SUBDIR += iiimf-le-chewing
|
||||
SUBDIR += iiimf-le-newpy
|
||||
SUBDIR += irssi
|
||||
SUBDIR += jis2gb
|
||||
|
34
chinese/iiimf-le-chewing/Makefile
Normal file
34
chinese/iiimf-le-chewing/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
# New ports collection makefile for: iiimf-le-chewing
|
||||
# Date created: 8 Sep 2004
|
||||
# Whom: Kuang-che Wu <kcwu@csie.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= iiimf-le-chewing
|
||||
PORTVERSION= 0.01
|
||||
CATEGORIES= chinese textproc
|
||||
MASTER_SITES= http://wagner.elixus.org/~clkao/
|
||||
DISTFILES= iiimf-chewing.tgz
|
||||
|
||||
MAINTAINER= kcwu@csie.org
|
||||
COMMENT= IIIMF Chewing engine, an intelligent Chinese phonetic input method
|
||||
|
||||
LIB_DEPENDS= chewing.1:${PORTSDIR}/chinese/libchewing
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/iiimf/iml/SunIM.h:${PORTSDIR}/textproc/iiimf-headers
|
||||
RUN_DEPENDS= ${LOCALBASE}/lib/im/htt:${PORTSDIR}/textproc/iiimf-server
|
||||
|
||||
WRKSRC= ${WRKDIR}/trunk
|
||||
USE_ICONV= yes
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && \
|
||||
${CC} ${CFLAGS} -o chewing.so -shared -fPIC -DARCH=\"${MACHINE_ARCH}\" \
|
||||
-I${LOCALBASE}/include -I${LOCALBASE}/include/iiimf -I${LOCALBASE}/include/iiimf/iml -I${LOCALBASE}/include/chewing \
|
||||
chewing.c -L${LOCALBASE}/lib -lchewing -liconv
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/lib/im/leif
|
||||
${INSTALL_DATA} ${WRKSRC}/chewing.so ${PREFIX}/lib/im/leif
|
||||
|
||||
.include <bsd.port.mk>
|
2
chinese/iiimf-le-chewing/distinfo
Normal file
2
chinese/iiimf-le-chewing/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (iiimf-chewing.tgz) = 349828bd3ff62621b9e924d696395edc
|
||||
SIZE (iiimf-chewing.tgz) = 5256
|
19
chinese/iiimf-le-chewing/files/patch-chewing.c
Normal file
19
chinese/iiimf-le-chewing/files/patch-chewing.c
Normal file
@ -0,0 +1,19 @@
|
||||
--- chewing.c.orig Sat Jan 31 14:41:35 2004
|
||||
+++ chewing.c Wed Sep 8 04:33:13 2004
|
||||
@@ -40,7 +40,6 @@
|
||||
|
||||
#include "chewingio.h"
|
||||
#include "hash.h"
|
||||
-#include "console_chewing.h"
|
||||
#include "dict.h"
|
||||
#include "zuin.h"
|
||||
|
||||
@@ -647,7 +646,7 @@
|
||||
case IM_VK_PAGE_DOWN:
|
||||
break;
|
||||
|
||||
- case KEY_TAB:
|
||||
+ case '\t':
|
||||
OnKeyTab(pgdata, op);
|
||||
break;
|
||||
|
9
chinese/iiimf-le-chewing/pkg-descr
Normal file
9
chinese/iiimf-le-chewing/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
IIIMF stands for Internet/Intranet Input Method Framework.
|
||||
IIIMF is designed to be the next generation of input method framework
|
||||
|
||||
Chewing - An Intelligent Chinese Phonetic Input Method for UNIX
|
||||
|
||||
WWW: http://chewing.good-man.org/
|
||||
|
||||
- Kuang-che Wu
|
||||
kcwu@csie.org
|
2
chinese/iiimf-le-chewing/pkg-plist
Normal file
2
chinese/iiimf-le-chewing/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
lib/im/leif/chewing.so
|
||||
@unexec rmdir %D/lib/im/leif 2>/dev/null || true
|
Loading…
Reference in New Issue
Block a user