From owner-svn-ports-head@FreeBSD.ORG Mon Oct 22 07:18:27 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C8ECDA7C; Mon, 22 Oct 2012 07:18:27 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B0FAD8FC14; Mon, 22 Oct 2012 07:18:27 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9M7IRKi058837; Mon, 22 Oct 2012 07:18:27 GMT (envelope-from wen@svn.freebsd.org) Received: (from wen@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9M7IRNI058833; Mon, 22 Oct 2012 07:18:27 GMT (envelope-from wen@svn.freebsd.org) Message-Id: <201210220718.q9M7IRNI058833@svn.freebsd.org> From: Wen Heping Date: Mon, 22 Oct 2012 07:18:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306255 - head/chinese/librime X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 07:18:28 -0000 Author: wen Date: Mon Oct 22 07:18:27 2012 New Revision: 306255 URL: http://svn.freebsd.org/changeset/ports/306255 Log: Rime Input Method Engine is a customizable and dialect-friendly intelligent Chinese input method. WWW: http://code.google.com/p/rimeime/ PR: 172751 Submitted by: Zhihao Yuan Feature safe: yes Added: head/chinese/librime/ head/chinese/librime/Makefile (contents, props changed) head/chinese/librime/distinfo (contents, props changed) head/chinese/librime/pkg-descr (contents, props changed) head/chinese/librime/pkg-plist (contents, props changed) Added: head/chinese/librime/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/chinese/librime/Makefile Mon Oct 22 07:18:27 2012 (r306255) @@ -0,0 +1,52 @@ +# Created by: Zhihao Yuan +# $FreeBSD$ + +PORTNAME= librime +PORTVERSION= 0.9.4 +CATEGORIES= chinese textproc +MASTER_SITES= GOOGLE_CODE +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} brise-${DATA_VER}.tar.gz + +MAINTAINER= lichray@gmail.com +COMMENT= Rime Input Method Engine + +LICENSE= GPLv3 + +LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs \ + glog:${PORTSDIR}/devel/glog \ + kyotocabinet:${PORTSDIR}/databases/kyotocabinet \ + opencc:${PORTSDIR}/chinese/opencc \ + yaml-cpp:${PORTSDIR}/devel/yaml-cpp + +USE_CMAKE= yes +USE_GETTEXT= yes +USE_GNOME= pkgconfig +USE_LDCONFIG= yes +USE_XORG= xproto +USE_PERL5_BUILD= yes +LDFLAGS+= -lintl + +post-patch: .SILENT + ${REINPLACE_CMD} 's|$${LIB_INSTALL_DIR}/pkgconfig|$${prefix}/libdata/pkgconfig|' \ + ${WRKSRC}/CMakeLists.txt + ${FIND} ${WRKSRC} \( -name '*.cc' -or -name '*.h' \) \ + -exec ${PERL} -i -pe '$$. == 1 && s/^\xef\xbb\xbf//;' '{}' \; + +post-build: + @echo "building rime data." + @${MKDIR} ${DATASRC} + @(cd ${WRKDIR}/brise; ${CP} \ + default.yaml essay.kct supplement/*.yaml preset/*.yaml ${DATASRC}) + ${WRKSRC}/bin/rime_deployer --build ${DATASRC} + +post-install: + ${MKDIR} ${DATADIR}/data + ${INSTALL_DATA} ${DATASRC}/*.kct ${DATASRC}/*.bin ${DATADIR}/data/ + +PROJECTHOST= rimeime +DATA_VER= 0.13 +WRKSRC= ${WRKDIR}/${PORTNAME} +DATASRC= ${WRKDIR}/tmp +DATADIR= ${PREFIX}/share/rime + +.include Added: head/chinese/librime/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/chinese/librime/distinfo Mon Oct 22 07:18:27 2012 (r306255) @@ -0,0 +1,4 @@ +SHA256 (librime-0.9.4.tar.gz) = 626082f5a2954686059445e414786691ee568777104ce8e093fbfd47c0095795 +SIZE (librime-0.9.4.tar.gz) = 2300407 +SHA256 (brise-0.13.tar.gz) = 72c7ea43b5baf972a1d9a6cccce5f860b73924b36e2b3f68822ac8329d1c11f3 +SIZE (brise-0.13.tar.gz) = 5368874 Added: head/chinese/librime/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/chinese/librime/pkg-descr Mon Oct 22 07:18:27 2012 (r306255) @@ -0,0 +1,4 @@ +Rime Input Method Engine is a customizable and dialect-friendly intelligent +Chinese input method. + +WWW: http://code.google.com/p/rimeime/ Added: head/chinese/librime/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/chinese/librime/pkg-plist Mon Oct 22 07:18:27 2012 (r306255) @@ -0,0 +1,20 @@ +bin/rime_deployer +bin/rime_dict_manager +include/rime_api.h +lib/librime.so +lib/librime.so.0 +lib/librime.so.0.9.4 +libdata/pkgconfig/rime.pc +share/cmake/rime/RimeConfig.cmake +share/rime/data/cangjie5.prism.bin +share/rime/data/cangjie5.reverse.bin +share/rime/data/cangjie5.table.bin +share/rime/data/essay.kct +share/rime/data/luna_pinyin.prism.bin +share/rime/data/luna_pinyin.reverse.bin +share/rime/data/luna_pinyin.table.bin +share/rime/data/luna_pinyin_fluency.prism.bin +share/rime/data/luna_pinyin_simp.prism.bin +@dirrmtry share/rime/data +@dirrmtry share/rime +@dirrm share/cmake/rime