From lichray@gmail.com  Fri Nov 11 08:56:10 2011
Return-Path: <lichray@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 12FE3106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 11 Nov 2011 08:56:08 +0000 (UTC)
	(envelope-from lichray@gmail.com)
Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182])
	by mx1.freebsd.org (Postfix) with ESMTP id D45398FC12
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 11 Nov 2011 08:56:07 +0000 (UTC)
Received: by iakl21 with SMTP id l21so3457346iak.13
        for <FreeBSD-gnats-submit@freebsd.org>; Fri, 11 Nov 2011 00:56:07 -0800 (PST)
Received: by 10.42.159.72 with SMTP id k8mr11170460icx.14.1321001767329;
        Fri, 11 Nov 2011 00:56:07 -0800 (PST)
Received: from elitebook.hp (c-98-228-191-105.hsd1.il.comcast.net. [98.228.191.105])
        by mx.google.com with ESMTPS id bu33sm15175703ibb.11.2011.11.11.00.56.05
        (version=TLSv1/SSLv3 cipher=OTHER);
        Fri, 11 Nov 2011 00:56:06 -0800 (PST)
Received: by elitebook.hp (sSMTP sendmail emulation); Fri, 11 Nov 2011 02:56:04 -0600
Message-Id: <4ebce326.a1b4e70a.28c2.31c1@mx.google.com>
Date: Fri, 11 Nov 2011 02:56:04 -0600
From: Zhihao Yuan <lichray@gmail.com>
Reply-To: Zhihao Yuan <lichray@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: chinese/fcitx-sunpinyin
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         162466
>Category:       ports
>Synopsis:       New port: chinese/fcitx-sunpinyin
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    clsung
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 11 09:00:19 UTC 2011
>Closed-Date:    Fri Nov 11 15:47:54 UTC 2011
>Last-Modified:  Fri Nov 11 15:50:11 UTC 2011
>Originator:     Zhihao Yuan
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
Northern Illinois University
>Environment:
System: FreeBSD elitebook.hp 8.2-STABLE FreeBSD 8.2-STABLE #3: Sun Oct 30 03:43:12 CDT 2011 lichray@elitebook.hp:/usr/obj/home/lichray/devel/freebsd-8/sys/HOUKAGO amd64


	
>Description:
	
	Yes yes, finally. Welcome our first SunPinin front-end - fcitx-sunpinyin to FreeBSD. http://code.google.com/p/fcitx/

	Note that this port does not pass `port test` but it's safe. It's an addon to fcitx and installs to where fcitx4 is. So its prefix is the same as fcitx.

	This PR depends on ports/162465.
>How-To-Repeat:
	
>Fix:

	
	I contacted the author to patch it for FreeBSD, and removed the noise messages on terminal.

--- fcitx-sunpinyin.shar begins here ---
# 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-sunpinyin
#	fcitx-sunpinyin/distinfo
#	fcitx-sunpinyin/pkg-descr
#	fcitx-sunpinyin/Makefile
#	fcitx-sunpinyin/pkg-message
#	fcitx-sunpinyin/files
#	fcitx-sunpinyin/files/patch-src_eim.cpp
#	fcitx-sunpinyin/files/patch-CMakeLists.txt
#	fcitx-sunpinyin/pkg-plist
#
echo c - fcitx-sunpinyin
mkdir -p fcitx-sunpinyin > /dev/null 2>&1
echo x - fcitx-sunpinyin/distinfo
sed 's/^X//' >fcitx-sunpinyin/distinfo << '49878be87ae1f762a1d3ac08ebcf39d3'
XSHA256 (fcitx-sunpinyin-0.3.2.tar.bz2) = e22c6b64224ac7d50d62574980eaa180c9857f35c87b7450a185cd8e906a3577
XSIZE (fcitx-sunpinyin-0.3.2.tar.bz2) = 43008
49878be87ae1f762a1d3ac08ebcf39d3
echo x - fcitx-sunpinyin/pkg-descr
sed 's/^X//' >fcitx-sunpinyin/pkg-descr << 'b785de19cd55bdfa1fa31e124e3231ff'
XFcitx is a simple and fast Chinese XIM server. It comes with a script,
Xfcitx-configtool, which looks for this configure tool and invokes it.
X
XWWW:	http://code.google.com/p/fcitx/
b785de19cd55bdfa1fa31e124e3231ff
echo x - fcitx-sunpinyin/Makefile
sed 's/^X//' >fcitx-sunpinyin/Makefile << '181227cc64702fde1c8e43bd8aebf986'
X# New ports collection makefile for:	fcitx-sunpinyin
X# Date created:				10 Nov 2011
X# Whom:			Zhihao Yuan <lichray@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	fcitx-sunpinyin
XPORTVERSION=	0.3.2
XCATEGORIES=	chinese x11
XMASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
X
XMAINTAINER=	lichray@gmail.com
XCOMMENT=	SunPinyin support for Fcitx
X
XLIB_DEPENDS=	fcitx-config.4:${PORTSDIR}/chinese/fcitx
X
XUSE_BZIP2=	yes
XUSE_GNOME=	gtk20 intltool gnomehack
XUSE_GETTEXT=	yes
XUSE_CMAKE=	yes
X
XPROJECTHOST=	fcitx
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
181227cc64702fde1c8e43bd8aebf986
echo x - fcitx-sunpinyin/pkg-message
sed 's/^X//' >fcitx-sunpinyin/pkg-message << '92b6126d989cc3572e8bea931d2be675'
X************************************************************************
X
XYou probably need to remove the old configurations, i.e,
X	rm -fr $HOME/.config/fcitx
Xbefore switching to the fcitx-sunpinyin back-end!
X
X************************************************************************
92b6126d989cc3572e8bea931d2be675
echo c - fcitx-sunpinyin/files
mkdir -p fcitx-sunpinyin/files > /dev/null 2>&1
echo x - fcitx-sunpinyin/files/patch-src_eim.cpp
sed 's/^X//' >fcitx-sunpinyin/files/patch-src_eim.cpp << '0acf9c2d7521676639ec71aafa504e9a'
X--- src/eim.cpp.orig	2011-09-29 01:58:59.000000000 -0500
X+++ src/eim.cpp	2011-11-11 02:25:11.839864988 -0600
X@@ -229,8 +229,6 @@ INPUT_RETURN_VALUE FcitxSunpinyinGetCand
X            (ppd.size() - ppd.caret() + 1) * sizeof(TWCHAR));
X     memcpy(sunpinyin->input_src, src, hzlen * sizeof(TWCHAR));
X     
X-    FcitxLog(INFO, "%d", ppd.candi_start());
X-
X     sunpinyin->front_src[ppd.caret()] = 0;
X     sunpinyin->end_src[ppd.size() - ppd.caret() + 1] = 0;
X     sunpinyin->input_src[hzlen] = 0;
X@@ -396,6 +394,7 @@ void FcitxSunpinyinDestroy (void* arg)
X 
X INPUT_RETURN_VALUE FcitxSunpinyinDeleteCandidate (FcitxSunpinyin* sunpinyin, CandidateWord* candWord)
X {
X+#if 0
X     if (candWord->owner == sunpinyin)
X     {
X         CCandidateList pcl;
X@@ -406,6 +405,7 @@ INPUT_RETURN_VALUE FcitxSunpinyinDeleteC
X         classicView->deleteCandidate(*index, mask);
X         return IRV_DISPLAY_CANDWORDS;
X     }
X+#endif
X     return IRV_TO_PROCESS;
X }
X 
0acf9c2d7521676639ec71aafa504e9a
echo x - fcitx-sunpinyin/files/patch-CMakeLists.txt
sed 's/^X//' >fcitx-sunpinyin/files/patch-CMakeLists.txt << '3b37fd04e371e20b3fae8770c731b58d'
X--- CMakeLists.txt~	2011-09-29 01:58:59.000000000 -0500
X+++ CMakeLists.txt	2011-11-10 23:22:41.804644040 -0600
X@@ -10,7 +10,7 @@ FIND_PACKAGE(Libintl REQUIRED)
X FIND_PACKAGE(Gettext REQUIRED)
X FIND_PACKAGE(Fcitx  4.1.2 REQUIRED)
X 
X-PKG_CHECK_MODULES(SUNPINYIN REQUIRED "sunpinyin-2.0 >= 2.0.4" )
X+PKG_CHECK_MODULES(SUNPINYIN REQUIRED "sunpinyin-2.0 >= 2.0.3" )
X 
X # uninstall target
X configure_file(
3b37fd04e371e20b3fae8770c731b58d
echo x - fcitx-sunpinyin/pkg-plist
sed 's/^X//' >fcitx-sunpinyin/pkg-plist << '66985d256ea4f78bc4150579e91218a1'
Xlib/fcitx/fcitx-sunpinyin.so
Xshare/fcitx/addon/fcitx-sunpinyin.conf
Xshare/fcitx/configdesc/fcitx-sunpinyin.desc
Xshare/fcitx/skin/classic/sunpinyin.png
Xshare/fcitx/skin/dark/sunpinyin.png
Xshare/fcitx/skin/default/sunpinyin.png
Xshare/icons/hicolor/128x128/apps/fcitx-sunpinyin.png
Xshare/icons/hicolor/16x16/apps/fcitx-sunpinyin.png
Xshare/icons/hicolor/22x22/apps/fcitx-sunpinyin.png
Xshare/icons/hicolor/24x24/apps/fcitx-sunpinyin.png
Xshare/icons/hicolor/32x32/apps/fcitx-sunpinyin.png
Xshare/icons/hicolor/48x48/apps/fcitx-sunpinyin.png
Xshare/locale/zh_CN/LC_MESSAGES/fcitx-sunpinyin.mo
66985d256ea4f78bc4150579e91218a1
exit
--- fcitx-sunpinyin.shar ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->clsung 
Responsible-Changed-By: clsung 
Responsible-Changed-When: Fri Nov 11 09:15:54 UTC 2011 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=162466 

From: Zhihao Yuan <lichray@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/162466: New port: chinese/fcitx-sunpinyin
Date: Fri, 11 Nov 2011 03:16:07 -0600

 --LyciRD1jyfeSSjG0
 Content-Type: multipart/mixed; boundary="VS++wcV0S1rZb1Fb"
 Content-Disposition: inline
 
 
 --VS++wcV0S1rZb1Fb
 Content-Type: text/plain; charset=iso-8859-1
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 =2E.. Forgot to change the pkg-descr. The port is modified from
 fcitx-configtool. zzz.
 
 --=20
 Zhihao Yuan, nickname lichray
 The best way to predict the future is to invent it.
 ___________________________________________________
 4BSD -- http://4bsd.biz/
 
 --VS++wcV0S1rZb1Fb
 Content-Type: text/plain; charset=iso-8859-1
 Content-Disposition: attachment; filename=pkg-descr
 
 fcitx-sunpinyin provides SunPinyin, a statistical language model based
 input method engine, as a back-end to the Fcitx IM server.
 
 WWW:	http://code.google.com/p/fcitx/
 
 --VS++wcV0S1rZb1Fb--
 
 --LyciRD1jyfeSSjG0
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.18 (FreeBSD)
 
 iQEcBAEBAgAGBQJOvOfXAAoJEDM1qsGtFE5ZagIH/isEmD5CVDH28vp+x5NS1Sw9
 3yv+e8lt7WwBv+ZGaXJ84BFh3e+x0hxvoy0lGg+AJl4fdLCH1B7LxC+oSgKiV3Dp
 WTM9hLBY7oiXyLEYXVy8TlOM+JOTqK5o5Qhxsin9h8Ym/DFJSGXNffdB0Q+sPMRd
 FtLYw8psMuTU5VdAdEoLw0HSvEqO3lnlyUb2l9t8bLSlK8u4lSx1XZTEeupzv1er
 CQ4EkPeDBr8VbpEeLuCynJ8SX19PkmcxKK2+Bee/t8VOEZkz+OrotXHJ8h3Ug0WF
 Q+/8kkbYQk1/2hTQvDExmED+EkC/RZ93aA8IF8UihvC0INrk4WCaMvt1IR9h+wY=
 =1wuX
 -----END PGP SIGNATURE-----
 
 --LyciRD1jyfeSSjG0--

From: Zhihao Yuan <lichray@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:  
Subject: Re: ports/162466: New port: chinese/fcitx-sunpinyin
Date: Fri, 11 Nov 2011 03:33:43 -0600

 --001517503db2a7c09c04b17237db
 Content-Type: multipart/alternative; boundary=001517503db2a7c09504b17237d9
 
 --001517503db2a7c09504b17237d9
 Content-Type: text/plain; charset=UTF-8
 
 I miss understood the author's meaning. The problem fixed by disabling
 deleteCandidate is already fixed by me in chinese/sunpinyin-2.0.3_1. So
 here is the new shar, with the missing pkg-descr.
 
 -- 
 Zhihao Yuan, nickname lichray
 The best way to predict the future is to invent it.
 ___________________________________________________
 4BSD -- http://4bsd.biz/
 
 --001517503db2a7c09504b17237d9
 Content-Type: text/html; charset=UTF-8
 
 I miss understood the author&#39;s meaning. The problem fixed by disabling deleteCandidate is already fixed by me in chinese/sunpinyin-2.0.3_1. So here is the new shar, with the missing pkg-descr.<br clear="all"><div><br></div>
 -- <br>Zhihao Yuan, nickname lichray<br>The best way to predict the future is to invent it.<br>___________________________________________________<br>4BSD -- <a href="http://4bsd.biz/" target="_blank">http://4bsd.biz/</a><br>
 
 
 --001517503db2a7c09504b17237d9--
 --001517503db2a7c09c04b17237db
 Content-Type: application/x-shar; name="fcitx-sunpinyin-1.shar"
 Content-Disposition: attachment; filename="fcitx-sunpinyin-1.shar"
 Content-Transfer-Encoding: base64
 X-Attachment-Id: f_guuzo1l40
 
 IyBUaGlzIGlzIGEgc2hlbGwgYXJjaGl2ZS4gIFNhdmUgaXQgaW4gYSBmaWxlLCByZW1vdmUgYW55
 dGhpbmcgYmVmb3JlCiMgdGhpcyBsaW5lLCBhbmQgdGhlbiB1bnBhY2sgaXQgYnkgZW50ZXJpbmcg
 InNoIGZpbGUiLiAgTm90ZSwgaXQgbWF5CiMgY3JlYXRlIGRpcmVjdG9yaWVzOyBmaWxlcyBhbmQg
 ZGlyZWN0b3JpZXMgd2lsbCBiZSBvd25lZCBieSB5b3UgYW5kCiMgaGF2ZSBkZWZhdWx0IHBlcm1p
 c3Npb25zLgojCiMgVGhpcyBhcmNoaXZlIGNvbnRhaW5zOgojCiMJZmNpdHgtc3VucGlueWluCiMJ
 ZmNpdHgtc3VucGlueWluL2Rpc3RpbmZvCiMJZmNpdHgtc3VucGlueWluL3BrZy1kZXNjcgojCWZj
 aXR4LXN1bnBpbnlpbi9NYWtlZmlsZQojCWZjaXR4LXN1bnBpbnlpbi9wa2ctbWVzc2FnZQojCWZj
 aXR4LXN1bnBpbnlpbi9maWxlcwojCWZjaXR4LXN1bnBpbnlpbi9maWxlcy9wYXRjaC1zcmNfZWlt
 LmNwcAojCWZjaXR4LXN1bnBpbnlpbi9maWxlcy9wYXRjaC1DTWFrZUxpc3RzLnR4dAojCWZjaXR4
 LXN1bnBpbn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TUwNTc5ZTkxMjE4YTEKZXhpdAoK
 --001517503db2a7c09c04b17237db--

From: Zhihao Yuan <lichray@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/162466: New port: chinese/fcitx-sunpinyin
Date: Fri, 11 Nov 2011 06:26:22 -0600

 --Pd0ReVV5GZGQvF3a
 Content-Type: multipart/mixed; boundary="6c2NcOVqGQ03X4Wi"
 Content-Disposition: inline
 
 
 --6c2NcOVqGQ03X4Wi
 Content-Type: text/plain; charset=iso-8859-1
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 I'm so sorry that I should not fix these again and again. Setup depends
 correctly.
 
 --=20
 Zhihao Yuan, nickname lichray
 The best way to predict the future is to invent it.
 ___________________________________________________
 4BSD -- http://4bsd.biz/
 
 --6c2NcOVqGQ03X4Wi
 Content-Type: application/x-shar
 Content-Disposition: attachment; filename="fcitx-sunpinyin-2.shar"
 Content-Transfer-Encoding: quoted-printable
 
 # This is a shell archive.  Save it in a file, remove anything before=0A# t=
 his line, and then unpack it by entering "sh file".  Note, it may=0A# creat=
 e directories; files and directories will be owned by you and=0A# have defa=
 ult permissions.=0A#=0A# This archive contains:=0A#=0A#	fcitx-sunpinyin=0A#=
 	fcitx-sunpinyin/distinfo=0A#	fcitx-sunpinyin/pkg-descr=0A#	fcitx-sunpinyin=
 /Makefile=0A#	fcitx-sunpinyin/pkg-message=0A#	fcitx-sunpinyin/files=0A#	fci=
 tx-sunpinyin/files/patch-src_eim.cpp=0A#	fcitx-sunpinyin/files/patch-CMakeL=
 ists.txt=0A#	fcitx-sunpinyin/pkg-plist=0A#=0Aecho c - fcitx-sunpinyin=0Amkd=
 ir -p fcitx-sunpinyin > /dev/null 2>&1=0Aecho x - fcitx-sunpinyin/distinfo=
 =0Ased 's/^X//' >fcitx-sunpinyin/distinfo << '49878be87ae1f762a1d3ac08ebcf3=
 9d3'=0AXSHA256 (fcitx-sunpinyin-0.3.2.tar.bz2) =3D e22c6b64224ac7d50d625749=
 80eaa180c9857f35c87b7450a185cd8e906a3577=0AXSIZE (fcitx-sunpinyin-0.3.2.tar=
 =2Ebz2) =3D 43008=0A49878be87ae1f762a1d3ac08ebcf39d3=0Aecho x - fcitx-sunpi=
 nyin/pkg-descr=0Ased 's/^X//' >fcitx-sunpinyin/pkg-descr << 'b785de19cd55bd=
 fa1fa31e124e3231ff'=0AXfcitx-sunpinyin provides SunPinyin, a statistical la=
 nguage model based=0AXinput method engine, as a back-end to the Fcitx IM se=
 rver.=0AX=0AXWWW:	http://code.google.com/p/fcitx/=0Ab785de19cd55bdfa1fa31e1=
 24e3231ff=0Aecho x - fcitx-sunpinyin/Makefile=0Ased 's/^X//' >fcitx-sunpiny=
 in/Makefile << '181227cc64702fde1c8e43bd8aebf986'=0AX# New ports collection=
  makefile for:	fcitx-sunpinyin=0AX# Date created:				10 Nov 2011=0AX# Whom:=
 			Zhihao Yuan <lichray@gmail.com>=0AX#=0AX# $FreeBSD$=0AX#=0AX=0AXPORTNAME=
 =3D	fcitx-sunpinyin=0AXPORTVERSION=3D	0.3.2=0AXCATEGORIES=3D	chinese x11=0A=
 XMASTER_SITES=3D	${MASTER_SITE_GOOGLE_CODE}=0AX=0AXMAINTAINER=3D	lichray@gm=
 ail.com=0AXCOMMENT=3D	SunPinyin support for Fcitx=0AX=0AXLIB_DEPENDS=3D	fci=
 tx-config.4:${PORTSDIR}/chinese/fcitx \=0AX		sunpinyin.3:${PORTSDIR}/chines=
 e/sunpinyin=0AX=0AXUSE_BZIP2=3D	yes=0AXUSE_GETTEXT=3D	yes=0AXUSE_CMAKE=3D	y=
 es=0AX=0AXPROJECTHOST=3D	fcitx=0AX=0AXpost-install:=0AX	@${CAT} ${PKGMESSAG=
 E}=0AX=0AX.include <bsd.port.mk>=0A181227cc64702fde1c8e43bd8aebf986=0Aecho =
 x - fcitx-sunpinyin/pkg-message=0Ased 's/^X//' >fcitx-sunpinyin/pkg-message=
  << '92b6126d989cc3572e8bea931d2be675'=0AX*********************************=
 ***************************************=0AX=0AXYou probably need to remove =
 the old configurations, i.e,=0AX	rm -fr $HOME/.config/fcitx=0AXbefore switc=
 hing to the fcitx-sunpinyin back-end!=0AX=0AX******************************=
 ******************************************=0A92b6126d989cc3572e8bea931d2be6=
 75=0Aecho c - fcitx-sunpinyin/files=0Amkdir -p fcitx-sunpinyin/files > /dev=
 /null 2>&1=0Aecho x - fcitx-sunpinyin/files/patch-src_eim.cpp=0Ased 's/^X//=
 ' >fcitx-sunpinyin/files/patch-src_eim.cpp << '0acf9c2d7521676639ec71aafa50=
 4e9a'=0AX--- src/eim.cpp.orig	2011-09-29 01:58:59.000000000 -0500=0AX+++ sr=
 c/eim.cpp	2011-11-11 02:25:11.839864988 -0600=0AX@@ -229,8 +229,6 @@ INPUT_=
 RETURN_VALUE FcitxSunpinyinGetCand=0AX            (ppd.size() - ppd.caret()=
  + 1) * sizeof(TWCHAR));=0AX     memcpy(sunpinyin->input_src, src, hzlen * =
 sizeof(TWCHAR));=0AX     =0AX-    FcitxLog(INFO, "%d", ppd.candi_start());=
 =0AX-=0AX     sunpinyin->front_src[ppd.caret()] =3D 0;=0AX     sunpinyin->e=
 nd_src[ppd.size() - ppd.caret() + 1] =3D 0;=0AX     sunpinyin->input_src[hz=
 len] =3D 0;=0A0acf9c2d7521676639ec71aafa504e9a=0Aecho x - fcitx-sunpinyin/f=
 iles/patch-CMakeLists.txt=0Ased 's/^X//' >fcitx-sunpinyin/files/patch-CMake=
 Lists.txt << '3b37fd04e371e20b3fae8770c731b58d'=0AX--- CMakeLists.txt~	2011=
 -09-29 01:58:59.000000000 -0500=0AX+++ CMakeLists.txt	2011-11-10 23:22:41.8=
 04644040 -0600=0AX@@ -10,7 +10,7 @@ FIND_PACKAGE(Libintl REQUIRED)=0AX FIND=
 _PACKAGE(Gettext REQUIRED)=0AX FIND_PACKAGE(Fcitx  4.1.2 REQUIRED)=0AX =0AX=
 -PKG_CHECK_MODULES(SUNPINYIN REQUIRED "sunpinyin-2.0 >=3D 2.0.4" )=0AX+PKG_=
 CHECK_MODULES(SUNPINYIN REQUIRED "sunpinyin-2.0 >=3D 2.0.3" )=0AX =0AX # un=
 install target=0AX configure_file(=0A3b37fd04e371e20b3fae8770c731b58d=0Aech=
 o x - fcitx-sunpinyin/pkg-plist=0Ased 's/^X//' >fcitx-sunpinyin/pkg-plist <=
 < '66985d256ea4f78bc4150579e91218a1'=0AXlib/fcitx/fcitx-sunpinyin.so=0AXsha=
 re/fcitx/addon/fcitx-sunpinyin.conf=0AXshare/fcitx/configdesc/fcitx-sunpiny=
 in.desc=0AXshare/fcitx/skin/classic/sunpinyin.png=0AXshare/fcitx/skin/dark/=
 sunpinyin.png=0AXshare/fcitx/skin/default/sunpinyin.png=0AXshare/icons/hico=
 lor/128x128/apps/fcitx-sunpinyin.png=0AXshare/icons/hicolor/16x16/apps/fcit=
 x-sunpinyin.png=0AXshare/icons/hicolor/22x22/apps/fcitx-sunpinyin.png=0AXsh=
 are/icons/hicolor/24x24/apps/fcitx-sunpinyin.png=0AXshare/icons/hicolor/32x=
 32/apps/fcitx-sunpinyin.png=0AXshare/icons/hicolor/48x48/apps/fcitx-sunpiny=
 in.png=0AXshare/locale/zh_CN/LC_MESSAGES/fcitx-sunpinyin.mo=0A66985d256ea4f=
 78bc4150579e91218a1=0Aexit=0A=0A
 --6c2NcOVqGQ03X4Wi--
 
 --Pd0ReVV5GZGQvF3a
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.18 (FreeBSD)
 
 iQEcBAEBAgAGBQJOvRRuAAoJEDM1qsGtFE5ZcAUH/R7fZ5Ivcre+SSkKvazWQCvE
 1pqalvEczPKvCPj5jxxvtZ9YIl9BkNnXWeBANhhfPEMsnIGFnbvK59jVmf5INjo6
 m6VwYs7iJ9AcWp75SHI7FSMy0xtIS1cZI8wtHRamH33/4uBPK3/xvtrE9vB50AuX
 iTHVYta8rAGetXOJDR2Mcdonh6MFtJ9x7EO3ftUL/VA2hkXPiKhNYIlzk8Iosrhi
 WoqIKKPwT5t4vC/3ZzMxYmG/eHF7jT5BHv8NnQhNPNHIju6qo48TZvtHxH/FgsPM
 5cKOvdkD30jvZh9NNH7AC5lvN1lU4g9mfWMB4ykARt0jjA8iaUypnP1Px4/TcjU=
 =Y+aI
 -----END PGP SIGNATURE-----
 
 --Pd0ReVV5GZGQvF3a--
State-Changed-From-To: open->closed 
State-Changed-By: clsung 
State-Changed-When: Fri Nov 11 15:47:51 UTC 2011 
State-Changed-Why:  
New port added. Thank You. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=162466 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/162466: commit references a PR
Date: Fri, 11 Nov 2011 15:47:53 +0000 (UTC)

 clsung      2011-11-11 15:47:43 UTC
 
   FreeBSD ports repository
 
   Modified files:
     chinese              Makefile 
   Added files:
     chinese/fcitx-sunpinyin Makefile distinfo pkg-descr 
                             pkg-message pkg-plist 
     chinese/fcitx-sunpinyin/files patch-CMakeLists.txt 
                                   patch-src_eim.cpp 
   Log:
   fcitx-sunpinyin provides SunPinyin, a statistical language model based
   input method engine, as a back-end to the Fcitx IM server.
   
   WWW:    http://code.google.com/p/fcitx/
   
   PR:             ports/162466
   Submitted by:   maintainer (Zhihao Yuan)
   Feature safe:   yes
   
   Revision  Changes    Path
   1.306     +1 -0      ports/chinese/Makefile
   1.1       +30 -0     ports/chinese/fcitx-sunpinyin/Makefile (new)
   1.1       +2 -0      ports/chinese/fcitx-sunpinyin/distinfo (new)
   1.1       +11 -0     ports/chinese/fcitx-sunpinyin/files/patch-CMakeLists.txt (new)
   1.1       +11 -0     ports/chinese/fcitx-sunpinyin/files/patch-src_eim.cpp (new)
   1.1       +4 -0      ports/chinese/fcitx-sunpinyin/pkg-descr (new)
   1.1       +7 -0      ports/chinese/fcitx-sunpinyin/pkg-message (new)
   1.1       +13 -0     ports/chinese/fcitx-sunpinyin/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
