summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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