From owner-freebsd-ports-bugs Wed Mar 26 0: 0:37 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82C6137B404 for ; Wed, 26 Mar 2003 00:00:32 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E1DC43FBD for ; Wed, 26 Mar 2003 00:00:31 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h2Q80VNS060293 for ; Wed, 26 Mar 2003 00:00:31 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h2Q80VFH060291; Wed, 26 Mar 2003 00:00:31 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F3DC37B404 for ; Tue, 25 Mar 2003 23:53:01 -0800 (PST) Received: from freebsd.sinica.edu.tw (freebsd.sinica.edu.tw [140.109.13.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55CF043F85 for ; Tue, 25 Mar 2003 23:52:56 -0800 (PST) (envelope-from statue@freebsd.sinica.edu.tw) Received: by freebsd.sinica.edu.tw (Postfix, from userid 1014) id BEA0F763; Wed, 26 Mar 2003 15:52:57 +0800 (CST) Message-Id: <20030326075257.BEA0F763@freebsd.sinica.edu.tw> Date: Wed, 26 Mar 2003 15:52:57 +0800 (CST) From: Statue Reply-To: Statue To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/50311: New port: chinese/fcitx X-Spam-Status: No, hits=-3.8 required=5.0 tests=AWL,RESENT_TO version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 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 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