Date: Wed, 26 Mar 2003 15:52:57 +0800 (CST) From: Statue <statue@freebsd.sinica.edu.tw> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/50311: New port: chinese/fcitx Message-ID: <20030326075257.BEA0F763@freebsd.sinica.edu.tw>
next in thread | raw e-mail | index | archive | help
>Number: 50311 >Category: ports >Synopsis: New port: chinese/fcitx >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Mar 26 00:00:30 PST 2003 >Closed-Date: >Last-Modified: >Originator: Statue >Release: FreeBSD 4.7-PRERELEASE i386 >Organization: >Environment: System: FreeBSD freebsd.sinica.edu.tw 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #2: Mon Sep 9 10:45:46 CST 2002 ycheng@freebsd.sinica.edu.tw:/usr/src/sys/compile/GENERIC i386 >Description: A simple and fast GBK Chinese XIM server WWW: http://www.fcitx.org/ >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # fcitx/ # fcitx/Makefile # fcitx/distinfo # fcitx/files # fcitx/pkg-descr # fcitx/pkg-message # fcitx/pkg-plist # fcitx/files/patch-Makefile # echo c - fcitx/ mkdir -p fcitx/ > /dev/null 2>&1 echo x - fcitx/Makefile sed 's/^X//' >fcitx/Makefile << 'END-of-fcitx/Makefile' X# New ports collection makefile for: zh-fcitx X# Date created: 26 March 2003 X# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw> X# X# $FreeBSD$ X# X XPORTNAME= fcitx XPORTVERSION= 1.8.2 XCATEGORIES= chinese XMASTER_SITES= http://www.linuxsir.com.cn/fcitx/ X XMAINTAINER= statue@freebsd.sinica.edu.tw XCOMMENT= A simple and fast GBK Chinese XIM server X XLIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv X XUSE_XLIB= yes XUSE_REINPLACE= yes X Xpost-patch: X @${REINPLACE_CMD} -e 's#usr/share#usr/local/share#g' ${WRKSRC}/Makefile ${WRKSRC}/ime.h X @${REINPLACE_CMD} -e 's#usr/bin#usr/local/bin#g' ${WRKSRC}/Makefile X @${REINPLACE_CMD} -e 's#zh_CN.GB2312#zh_CN.EUC#g' ${WRKSRC}/window.c X @${REINPLACE_CMD} -e 's#zh_CN.gb2312#zh_CN.EUC#g' ${WRKSRC}/xim.c X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-fcitx/Makefile echo x - fcitx/distinfo sed 's/^X//' >fcitx/distinfo << 'END-of-fcitx/distinfo' XMD5 (fcitx-1.8.2.tar.gz) = 6674c077741ffa073337d116852d0b39 END-of-fcitx/distinfo echo c - fcitx/files mkdir -p fcitx/files > /dev/null 2>&1 echo x - fcitx/pkg-descr sed 's/^X//' >fcitx/pkg-descr << 'END-of-fcitx/pkg-descr' XA simple and fast GBK Chinese XIM server X XWWW: http://www.fcitx.org/ END-of-fcitx/pkg-descr echo x - fcitx/pkg-message sed 's/^X//' >fcitx/pkg-message << 'END-of-fcitx/pkg-message' X----------------------------------------------- XRemember to set environment varible XMODIFIERS: X csh/tcsh: setenv XMODIFIERS @im=fcitx X sh/bash: export XMODIFIERS='@im=fcitx' Xand set LANG, LC_CTYPE to zh_CN.EUC. X----------------------------------------------- END-of-fcitx/pkg-message echo x - fcitx/pkg-plist sed 's/^X//' >fcitx/pkg-plist << 'END-of-fcitx/pkg-plist' Xbin/fcitx Xshare/fcitx/punc.mb Xshare/fcitx/pySym.mb Xshare/fcitx/pybase.mb Xshare/fcitx/pyphrase.mb Xshare/fcitx/sp.dat Xshare/fcitx/wbx.mb X@dirrm share/fcitx END-of-fcitx/pkg-plist echo x - fcitx/files/patch-Makefile sed 's/^X//' >fcitx/files/patch-Makefile << 'END-of-fcitx/files/patch-Makefile' X--- Makefile.orig Wed Mar 26 02:29:39 2003 X+++ Makefile Wed Mar 26 02:41:59 2003 X@@ -1,12 +1,12 @@ X CC = gcc X X-CFLAGS= -O2 -fno-strength-reduce X+CFLAGS= -O2 -fno-strength-reduce -DSIGUNUSED=32 X X-INC = -I/usr/X11R6/include -I. X+INC = -I/usr/local/include -I/usr/X11R6/include -I. X X 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 X X-LIB = -L/usr/X11R6/lib -lX11 X+LIB = -L/usr/local/lib -L/usr/X11R6/lib -lX11 -liconv X X OBJ = $(SRC:.c=.o) X END-of-fcitx/files/patch-Makefile exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030326075257.BEA0F763>