summaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2009-12-27 10:10:35 +0000
committerwen <wen@FreeBSD.org>2009-12-27 10:10:35 +0000
commit93de7cb4e7e79763d243ad476347232af7e1be12 (patch)
tree18ab2b8b1c85202ef85fcffb208296ffded98db1 /chinese
parent1009cb2a206b92d05a1013b5fc1de8c674034929 (diff)
downloadFreeBSD-ports-93de7cb4e7e79763d243ad476347232af7e1be12.zip
FreeBSD-ports-93de7cb4e7e79763d243ad476347232af7e1be12.tar.gz
Chewing engine for IBus.
WWW: http://code.google.com/p/ibus PR: ports/141951 Submitted by: "Eric L. Chen" <lihong@ieee.org>
Diffstat (limited to 'chinese')
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/ibus-chewing/Makefile35
-rw-r--r--chinese/ibus-chewing/distinfo3
-rw-r--r--chinese/ibus-chewing/pkg-descr3
-rw-r--r--chinese/ibus-chewing/pkg-plist9
5 files changed, 51 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index df9d031..e3e5f59 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -52,6 +52,7 @@
SUBDIR += hanzim
SUBDIR += hc
SUBDIR += hztty
+ SUBDIR += ibus-chewing
SUBDIR += ibus-pinyin
SUBDIR += iiimf-le-newpy
SUBDIR += iiimf-le-ude
diff --git a/chinese/ibus-chewing/Makefile b/chinese/ibus-chewing/Makefile
new file mode 100644
index 0000000..46dfbe9
--- /dev/null
+++ b/chinese/ibus-chewing/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: zh-ibus-chewing
+# Date created: 24 December 2009
+# Whom: Eric L. Chen <lihong@ieee.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ibus-chewing
+PORTVERSION= 1.2.0.20090817
+CATEGORIES= chinese
+MASTER_SITES= http://github.com/definite/ibus-chewing/tarball/${PORTVERSION}/
+DISTNAME= definite-ibus-chewing-${GITCOMMIT}
+
+MAINTAINER= lihong@ieee.org
+COMMENT= Chewing engine for IBus
+
+BUILD_DEPENDS= gob2:${PORTSDIR}/devel/gob2 \
+ ibus-daemon:${PORTSDIR}/textproc/ibus
+RUN_DEPENDS= ibus-daemon:${PORTSDIR}/textproc/ibus
+LIB_DEPENDS= chewing.3:${PORTSDIR}/chinese/libchewing
+
+FETCH_BEFORE_ARGS= -o ${DISTNAME}${EXTRACT_SUFX}
+FETCH_ARGS= -apRr
+
+USE_GETTEXT= yes
+USE_GNOME= gconf2 gtk20
+USE_XORG= xtst
+GCONF_SCHEMAS= ibus-chewing.schemas
+
+USE_CMAKE= yes
+CMAKE_USE_PTHREAD=yes
+CMAKE_ARGS+= -DSYSCONF_INSTALL_DIR=${PREFIX}/etc
+GITCOMMIT= 8dd0478
+
+.include <bsd.port.mk>
diff --git a/chinese/ibus-chewing/distinfo b/chinese/ibus-chewing/distinfo
new file mode 100644
index 0000000..0a86e4a
--- /dev/null
+++ b/chinese/ibus-chewing/distinfo
@@ -0,0 +1,3 @@
+MD5 (definite-ibus-chewing-8dd0478.tar.gz) = 9c30ec996b65a8b8917aefaaf3b99aa6
+SHA256 (definite-ibus-chewing-8dd0478.tar.gz) = 3a4d9e578b7a1e065aa384cad67af7a069dae41b80a03c1248c625e5ca0871ce
+SIZE (definite-ibus-chewing-8dd0478.tar.gz) = 55284
diff --git a/chinese/ibus-chewing/pkg-descr b/chinese/ibus-chewing/pkg-descr
new file mode 100644
index 0000000..1fabef6
--- /dev/null
+++ b/chinese/ibus-chewing/pkg-descr
@@ -0,0 +1,3 @@
+Chewing engine for IBus.
+
+WWW: http://code.google.com/p/ibus
diff --git a/chinese/ibus-chewing/pkg-plist b/chinese/ibus-chewing/pkg-plist
new file mode 100644
index 0000000..64f4110
--- /dev/null
+++ b/chinese/ibus-chewing/pkg-plist
@@ -0,0 +1,9 @@
+libexec/ibus-engine-chewing
+%%DATADIR%%/icons/ibus-chewing-orig.png
+%%DATADIR%%/icons/ibus-chewing.png
+%%DATADIR%%/icons/settings.png
+share/ibus/component/chewing.xml
+share/locale/zh_CN/LC_MESSAGES/ibus-chewing.mo
+share/locale/zh_TW/LC_MESSAGES/ibus-chewing.mo
+@dirrm %%DATADIR%%/icons
+@dirrm %%DATADIR%%
OpenPOWER on IntegriCloud