mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
Add scim-chewing 0.0.1, SCIM chewing Chinese input methods.
PR: ports/74661 Submitted by: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
This commit is contained in:
parent
1792455229
commit
7f16521928
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127105
@ -104,6 +104,7 @@
|
||||
SUBDIR += qe
|
||||
SUBDIR += qterm
|
||||
SUBDIR += reciteword
|
||||
SUBDIR += scim-chewing
|
||||
SUBDIR += scim-chinese
|
||||
SUBDIR += scim-tables
|
||||
SUBDIR += srecite
|
||||
|
38
chinese/scim-chewing/Makefile
Normal file
38
chinese/scim-chewing/Makefile
Normal file
@ -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>
|
2
chinese/scim-chewing/distinfo
Normal file
2
chinese/scim-chewing/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (scim-chewing-20041130.tar.bz2) = 5eea8b592238dd8e5facad5f1c683e77
|
||||
SIZE (scim-chewing-20041130.tar.bz2) = 322434
|
25
chinese/scim-chewing/files/patch-src::Makefile.in
Normal file
25
chinese/scim-chewing/files/patch-src::Makefile.in
Normal file
@ -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 = \
|
8
chinese/scim-chewing/pkg-descr
Normal file
8
chinese/scim-chewing/pkg-descr
Normal file
@ -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
|
20
chinese/scim-chewing/pkg-message
Normal file
20
chinese/scim-chewing/pkg-message
Normal file
@ -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
|
||||
|
||||
--------------------------------------------------------------------
|
3
chinese/scim-chewing/pkg-plist
Normal file
3
chinese/scim-chewing/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user