aboutsummaryrefslogtreecommitdiff
path: root/chinese/fcitx-rime
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2012-10-22 07:54:32 +0000
committerWen Heping <wen@FreeBSD.org>2012-10-22 07:54:32 +0000
commit92e914e2ff7bf12bcdf441e8968b52b74673e102 (patch)
treec138a3051f8efe039c24efb48d310f1648963869 /chinese/fcitx-rime
parent124e39c5ca05e9920db59b8b7d5c9cc04bd45a7b (diff)
downloadports-92e914e2ff7bf12bcdf441e8968b52b74673e102.tar.gz
ports-92e914e2ff7bf12bcdf441e8968b52b74673e102.zip
fcitx-rime provides RIME, a dialect-friendly intelligent Chinese input method
engine, as a back-end to the Fcitx IM framework. WWW: http://code.google.com/p/fcitx/ PR: 172751 Submitted by: Zhihao Yuan <lichray@gmail.com> Feature safe: yes
Notes
Notes: svn path=/head/; revision=306258
Diffstat (limited to 'chinese/fcitx-rime')
-rw-r--r--chinese/fcitx-rime/Makefile25
-rw-r--r--chinese/fcitx-rime/distinfo2
-rw-r--r--chinese/fcitx-rime/files/patch-data_CMakeLists.txt7
-rw-r--r--chinese/fcitx-rime/pkg-descr4
-rw-r--r--chinese/fcitx-rime/pkg-plist8
5 files changed, 46 insertions, 0 deletions
diff --git a/chinese/fcitx-rime/Makefile b/chinese/fcitx-rime/Makefile
new file mode 100644
index 000000000000..ec46210f7e7f
--- /dev/null
+++ b/chinese/fcitx-rime/Makefile
@@ -0,0 +1,25 @@
+# Created by: Zhihao Yuan <lichray@gmail.com>
+# $FreeBSD$
+
+PORTNAME= fcitx-rime
+PORTVERSION= 0.1.2
+CATEGORIES= chinese
+MASTER_SITES= GOOGLE_CODE
+DIST_SUBDIR= fcitx
+
+MAINTAINER= lichray@gmail.com
+COMMENT= RIME support for Fcitx
+
+LIB_DEPENDS= fcitx-config:${PORTSDIR}/chinese/fcitx \
+ rime:${PORTSDIR}/chinese/librime
+
+USE_LDCONFIG= ${PREFIX}/lib/fcitx/
+USE_XZ= yes
+USE_GETTEXT= yes
+USE_CMAKE= yes
+USE_GNOME= intltool
+INSTALLS_ICONS= yes
+
+PROJECTHOST= fcitx
+
+.include <bsd.port.mk>
diff --git a/chinese/fcitx-rime/distinfo b/chinese/fcitx-rime/distinfo
new file mode 100644
index 000000000000..dc2d3a017522
--- /dev/null
+++ b/chinese/fcitx-rime/distinfo
@@ -0,0 +1,2 @@
+SHA256 (fcitx/fcitx-rime-0.1.2.tar.xz) = 528472c13adb050543ba0402077d2e2b37258cb494f7d7900411cfd8c1ad9048
+SIZE (fcitx/fcitx-rime-0.1.2.tar.xz) = 7356
diff --git a/chinese/fcitx-rime/files/patch-data_CMakeLists.txt b/chinese/fcitx-rime/files/patch-data_CMakeLists.txt
new file mode 100644
index 000000000000..9a301db24a0e
--- /dev/null
+++ b/chinese/fcitx-rime/files/patch-data_CMakeLists.txt
@@ -0,0 +1,7 @@
+--- data/CMakeLists.txt~ 2012-10-04 07:34:39.000000000 -0500
++++ data/CMakeLists.txt 2012-10-15 21:46:56.932232905 -0500
+@@ -2,3 +2,4 @@ install(FILES zhung.png RENAME rime.png
+ install(FILES zhung.png RENAME rime.png DESTINATION ${FCITX4_PREFIX}/share/fcitx/skin/dark)
+ install(FILES zhung.png RENAME rime.png DESTINATION ${FCITX4_PREFIX}/share/fcitx/skin/classic)
+ install(FILES zhung.png RENAME fcitx-rime.png DESTINATION share/icons/hicolor/48x48/apps)
++install(FILES zhung.png RENAME rime.png DESTINATION share/fcitx/imicon)
diff --git a/chinese/fcitx-rime/pkg-descr b/chinese/fcitx-rime/pkg-descr
new file mode 100644
index 000000000000..ed0d753cf62b
--- /dev/null
+++ b/chinese/fcitx-rime/pkg-descr
@@ -0,0 +1,4 @@
+fcitx-rime provides RIME, a dialect-friendly intelligent Chinese input method
+engine, as a back-end to the Fcitx IM framework.
+
+WWW: http://code.google.com/p/fcitx/
diff --git a/chinese/fcitx-rime/pkg-plist b/chinese/fcitx-rime/pkg-plist
new file mode 100644
index 000000000000..b3094b8e36d9
--- /dev/null
+++ b/chinese/fcitx-rime/pkg-plist
@@ -0,0 +1,8 @@
+lib/fcitx/fcitx-rime.so
+share/fcitx/addon/fcitx-rime.conf
+share/fcitx/inputmethod/rime.conf
+share/fcitx/imicon/rime.png
+share/fcitx/skin/classic/rime.png
+share/fcitx/skin/dark/rime.png
+share/fcitx/skin/default/rime.png
+share/icons/hicolor/48x48/apps/fcitx-rime.png