aboutsummaryrefslogtreecommitdiff
path: root/chinese/scim-chewing
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2005-01-22 17:44:41 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2005-01-22 17:44:41 +0000
commit7f1652192879676f750ba03c320febe007fef0ff (patch)
treef4fdeba5325380de0820c2dce5e1ba3ac127221f /chinese/scim-chewing
parent17924552290e807d95db35e3dd7edc348f524537 (diff)
Add scim-chewing 0.0.1, SCIM chewing Chinese input methods.
PR: ports/74661 Submitted by: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
Notes
Notes: svn path=/head/; revision=127105
Diffstat (limited to 'chinese/scim-chewing')
-rw-r--r--chinese/scim-chewing/Makefile38
-rw-r--r--chinese/scim-chewing/distinfo2
-rw-r--r--chinese/scim-chewing/files/patch-src::Makefile.in25
-rw-r--r--chinese/scim-chewing/pkg-descr8
-rw-r--r--chinese/scim-chewing/pkg-message20
-rw-r--r--chinese/scim-chewing/pkg-plist3
6 files changed, 96 insertions, 0 deletions
diff --git a/chinese/scim-chewing/Makefile b/chinese/scim-chewing/Makefile
new file mode 100644
index 000000000000..af07b16ddeae
--- /dev/null
+++ b/chinese/scim-chewing/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: zh-scim-chewing
+# Date created: 4 Dec 2004
+# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= scim-chewing
+PORTVERSION= 0.0.1
+CATEGORIES= chinese
+MASTER_SITES= http://jserv.sayya.org/qooing/
+DISTNAME= ${PORTNAME}-20041130
+
+MAINTAINER= ports@FreeBSD.Org
+COMMENT= SCIM chewing Chinese input methods
+
+BUILD_DEPENDS= scim:${PORTSDIR}/textproc/scim
+LIB_DEPENDS= chewing:${PORTSDIR}/chinese/libchewing
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_LIBTOOL_VER= 15
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500035
+BROKEN= scim-make-table is not available for 4.x
+.endif
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO}
+ @${ECHO} To display this message again, type \`make post-install\'
+ @${ECHO}
+
+.include <bsd.port.post.mk>
diff --git a/chinese/scim-chewing/distinfo b/chinese/scim-chewing/distinfo
new file mode 100644
index 000000000000..d1c5685d415b
--- /dev/null
+++ b/chinese/scim-chewing/distinfo
@@ -0,0 +1,2 @@
+MD5 (scim-chewing-20041130.tar.bz2) = 5eea8b592238dd8e5facad5f1c683e77
+SIZE (scim-chewing-20041130.tar.bz2) = 322434
diff --git a/chinese/scim-chewing/files/patch-src::Makefile.in b/chinese/scim-chewing/files/patch-src::Makefile.in
new file mode 100644
index 000000000000..f4dd5a98a166
--- /dev/null
+++ b/chinese/scim-chewing/files/patch-src::Makefile.in
@@ -0,0 +1,25 @@
+--- src/Makefile.in.orig Mon Nov 29 17:12:21 2004
++++ src/Makefile.in Sat Dec 4 15:16:30 2004
+@@ -238,11 +238,12 @@
+ -I$(top_builddir) \
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/src \
++ -I/usr/local/include \
+ -DSCIM_ICONDIR=\"@SCIM_ICONDIR@\" \
+ -DSCIM_CHEWING_ICON_FILE=\"@SCIM_ICONDIR@/scim-chewing.png\"
+
+ noinst_HEADERS = scim_chewing_imengine.h scim_chewing_config_entry.h
+-moduledir = @SCIM_MODULEDIR@/IMEngine
++moduledir = @SCIM_MODULEDIR@/1.0.0/IMEngine
+ module_LTLIBRARIES = chewing.la
+ chewing_la_SOURCES = scim_chewing_imengine.cpp
+ chewing_la_CFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
+@@ -256,7 +257,7 @@
+ @CHEWING_LIBS@
+
+ @SCIM_BUILD_SETUP_TRUE@SETUP_MODULE = chewing-imengine-setup.la
+-setupmoduledir = @SCIM_MODULEDIR@/SetupUI
++setupmoduledir = @SCIM_MODULEDIR@/1.0.0/SetupUI
+ setupmodule_LTLIBRARIES = $(SETUP_MODULE)
+ chewing_imengine_setup_la_SOURCES = scim_chewing_imengine_setup.cpp
+ chewing_imengine_setup_la_CFLAGS = \
diff --git a/chinese/scim-chewing/pkg-descr b/chinese/scim-chewing/pkg-descr
new file mode 100644
index 000000000000..35e93d233061
--- /dev/null
+++ b/chinese/scim-chewing/pkg-descr
@@ -0,0 +1,8 @@
+SCIM Chinese table based input methods: Array30, CangJie, Cantonese, Dayi,
+Erbi, EZ, Jyutping, Simplex, Wubi, Ziranma, ZhuYin
+
+Smart Common Input Method platform, in short SCIM, is a development platform to
+make Input Method developers live easier. It has very clear architecture and
+very simple programming interface.
+
+WWW: http://scim.freedesktop.org
diff --git a/chinese/scim-chewing/pkg-message b/chinese/scim-chewing/pkg-message
new file mode 100644
index 000000000000..40e04afc9969
--- /dev/null
+++ b/chinese/scim-chewing/pkg-message
@@ -0,0 +1,20 @@
+--------------------------------------------------------------------
+Remember to set environment varible XMODIFIERS:
+
+ csh/tcsh: setenv XMODIFIERS @im=SCIM
+ sh/bash: export XMODIFIERS='@im=SCIM'
+
+and set LANG, LC_CTYPE to one of the following values:
+
+ Simplified Chinese:
+ zh_CN.UTF-8, zh_CN.GB18030, zh_CN.GBK, zh_CN.GB2312, zh_CN.eucCN
+
+ Traditional Chinese:
+ zh_TW.UTF-8, zh_TW.Big5
+ zh_HK.UTF-8, zh_HK.Big5-HKSCS
+
+To start the SCIM input method daemon, use command:
+
+ scim -d
+
+--------------------------------------------------------------------
diff --git a/chinese/scim-chewing/pkg-plist b/chinese/scim-chewing/pkg-plist
new file mode 100644
index 000000000000..3f7f7494c7a7
--- /dev/null
+++ b/chinese/scim-chewing/pkg-plist
@@ -0,0 +1,3 @@
+lib/scim-1.0/1.0.0/IMEngine/chewing.so
+lib/scim-1.0/1.0.0/SetupUI/chewing-imengine-setup.so
+share/scim/icons/scim-chewing.png