Initial import of fcitx 1.8.2
Fcitx is a simple and fast GBK Chinese XIM server. PR: 50311 Submitted by: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
This commit is contained in:
parent
a3b3aede9d
commit
bd9a60a647
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77479
@ -39,6 +39,7 @@
|
||||
SUBDIR += emacs20
|
||||
SUBDIR += enscript
|
||||
SUBDIR += eterm
|
||||
SUBDIR += fcitx
|
||||
SUBDIR += firebird
|
||||
SUBDIR += fortunetw
|
||||
SUBDIR += gb2jis
|
||||
|
32
chinese/fcitx/Makefile
Normal file
32
chinese/fcitx/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# New ports collection makefile for: zh-fcitx
|
||||
# Date created: 26 March 2003
|
||||
# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= fcitx
|
||||
PORTVERSION= 1.8.2
|
||||
CATEGORIES= chinese
|
||||
MASTER_SITES= http://www.linuxsir.com.cn/fcitx/
|
||||
|
||||
MAINTAINER= statue@freebsd.sinica.edu.tw
|
||||
COMMENT= A simple and fast GBK Chinese XIM server
|
||||
|
||||
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
|
||||
|
||||
USE_XLIB= yes
|
||||
USE_REINPLACE= yes
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's#usr/share#usr/local/share#g' ${WRKSRC}/Makefile ${WRKSRC}/ime.h
|
||||
@${REINPLACE_CMD} -e 's#usr/bin#usr/local/bin#g' ${WRKSRC}/Makefile
|
||||
@${REINPLACE_CMD} -e 's#zh_CN.GB2312#zh_CN.EUC#g' ${WRKSRC}/window.c
|
||||
@${REINPLACE_CMD} -e 's#zh_CN.gb2312#zh_CN.EUC#g' ${WRKSRC}/xim.c
|
||||
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
|
||||
${WRKSRC}/IMdkit/lib/IMConn.c
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
1
chinese/fcitx/distinfo
Normal file
1
chinese/fcitx/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (fcitx-1.8.2.tar.gz) = 6674c077741ffa073337d116852d0b39
|
18
chinese/fcitx/files/patch-Makefile
Normal file
18
chinese/fcitx/files/patch-Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
--- Makefile.orig Wed Mar 26 02:29:39 2003
|
||||
+++ Makefile Wed Mar 26 02:41:59 2003
|
||||
@@ -1,12 +1,12 @@
|
||||
CC = gcc
|
||||
|
||||
-CFLAGS= -O2 -fno-strength-reduce
|
||||
+CFLAGS= -O2 -fno-strength-reduce -DSIGUNUSED=32
|
||||
|
||||
-INC = -I/usr/X11R6/include -I.
|
||||
+INC = -I/usr/local/include -I/usr/X11R6/include -I.
|
||||
|
||||
SRC = main.c ime.c AddPhraseWindow.c IC.c InputWindow.c MainWindow.c MyErrorsHandlers.c punc.c py.c PYFA.c pyParser.c pyMapTable.c SetLocale.c tools.c wbx.c window.c xim.c qw.c sp.c py-2.c
|
||||
|
||||
-LIB = -L/usr/X11R6/lib -lX11
|
||||
+LIB = -L/usr/local/lib -L/usr/X11R6/lib -lX11 -liconv
|
||||
|
||||
OBJ = $(SRC:.c=.o)
|
||||
|
3
chinese/fcitx/pkg-descr
Normal file
3
chinese/fcitx/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
A simple and fast GBK Chinese XIM server
|
||||
|
||||
WWW: http://www.fcitx.org/
|
6
chinese/fcitx/pkg-message
Normal file
6
chinese/fcitx/pkg-message
Normal file
@ -0,0 +1,6 @@
|
||||
-----------------------------------------------
|
||||
Remember to set environment varible XMODIFIERS:
|
||||
csh/tcsh: setenv XMODIFIERS @im=fcitx
|
||||
sh/bash: export XMODIFIERS='@im=fcitx'
|
||||
and set LANG, LC_CTYPE to zh_CN.EUC.
|
||||
-----------------------------------------------
|
8
chinese/fcitx/pkg-plist
Normal file
8
chinese/fcitx/pkg-plist
Normal file
@ -0,0 +1,8 @@
|
||||
bin/fcitx
|
||||
share/fcitx/punc.mb
|
||||
share/fcitx/pySym.mb
|
||||
share/fcitx/pybase.mb
|
||||
share/fcitx/pyphrase.mb
|
||||
share/fcitx/sp.dat
|
||||
share/fcitx/wbx.mb
|
||||
@dirrm share/fcitx
|
Loading…
Reference in New Issue
Block a user