aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2018-06-13 12:57:55 +0800
committerdelphij <delphij@FreeBSD.org>2018-06-13 12:57:55 +0800
commit53d64e1b7847c58357289ebc73d1706475759287 (patch)
tree47888ac13fcc5f346e889e489bfceb73efb21da8 /chinese
parent21f6f5fe6d92ef52a5f66879c1ee1521e06a875c (diff)
downloadfreebsd-ports-gnome-53d64e1b7847c58357289ebc73d1706475759287.tar.gz
freebsd-ports-gnome-53d64e1b7847c58357289ebc73d1706475759287.tar.zst
freebsd-ports-gnome-53d64e1b7847c58357289ebc73d1706475759287.zip
Readd ibus-table-chinese with github source.
Submitted by: intron at intron ac
Diffstat (limited to 'chinese')
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/ibus-table-chinese/Makefile32
-rw-r--r--chinese/ibus-table-chinese/distinfo3
-rw-r--r--chinese/ibus-table-chinese/pkg-descr5
-rw-r--r--chinese/ibus-table-chinese/pkg-plist44
5 files changed, 85 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index 00607d2d9857..2af52814564f 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -55,6 +55,7 @@
SUBDIR += ibus-chewing
SUBDIR += ibus-libpinyin
SUBDIR += ibus-pinyin
+ SUBDIR += ibus-table-chinese
SUBDIR += jis2gb
SUBDIR += kcfonts
SUBDIR += kde4-l10n-zh_CN
diff --git a/chinese/ibus-table-chinese/Makefile b/chinese/ibus-table-chinese/Makefile
new file mode 100644
index 000000000000..1c3dab70c8a4
--- /dev/null
+++ b/chinese/ibus-table-chinese/Makefile
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME= ibus-table-chinese
+PORTVERSION= 1.8.2
+PORTREVISION= 2
+CATEGORIES= chinese
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Chinese input tables for IBus
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= ${LOCALBASE}/share/cmake/Modules/ManageEnvironment.cmake:devel/cmake-fedora \
+ ibus-daemon:textproc/ibus \
+ ${LOCALBASE}/libexec/ibus-engine-table:textproc/ibus-table
+RUN_DEPENDS= ibus-daemon:textproc/ibus \
+ ${LOCALBASE}/libexec/ibus-engine-table:textproc/ibus-table
+
+USES= cmake:noninja pkgconfig
+
+USE_GITHUB= yes
+GH_ACCOUNT= definite
+
+INSTALL_TARGET= install
+DATADIR= ${PREFIX}/share/ibus-table
+CMAKE_ARGS+= -DDATA_DIR:PATH="${PREFIX}/share" \
+ -DPRJ_DOC_DIR:PATH="${DOCSDIR}" \
+ -DCMAKE_FEDORA_TMP_DIR:PATH="${WRKSRC}"
+MAKE_ENV+= PYTHONDONTWRITEBYTECODE=1
+
+.include <bsd.port.mk>
diff --git a/chinese/ibus-table-chinese/distinfo b/chinese/ibus-table-chinese/distinfo
new file mode 100644
index 000000000000..1e73515eb740
--- /dev/null
+++ b/chinese/ibus-table-chinese/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1525510980
+SHA256 (definite-ibus-table-chinese-1.8.2_GH0.tar.gz) = ef62c22ef4e8f9085fc40fcbc14c30f6dac458817df98e9f90f883a3e2080089
+SIZE (definite-ibus-table-chinese-1.8.2_GH0.tar.gz) = 10576111
diff --git a/chinese/ibus-table-chinese/pkg-descr b/chinese/ibus-table-chinese/pkg-descr
new file mode 100644
index 000000000000..724f35fd9f76
--- /dev/null
+++ b/chinese/ibus-table-chinese/pkg-descr
@@ -0,0 +1,5 @@
+Chinese input tables for the Intelligent Input Bus (IBus) input method
+framework. The IBus-table is an Input Method Engine particularly suited
+to support Chinese.
+
+WWW: https://github.com/definite/ibus-table-chinese
diff --git a/chinese/ibus-table-chinese/pkg-plist b/chinese/ibus-table-chinese/pkg-plist
new file mode 100644
index 000000000000..b4c72edc5f77
--- /dev/null
+++ b/chinese/ibus-table-chinese/pkg-plist
@@ -0,0 +1,44 @@
+%%DOCSDIR%%/AUTHORS
+%%DOCSDIR%%/COPYING
+%%DOCSDIR%%/ChangeLog
+%%DOCSDIR%%/README
+%%DATADIR%%/icons/array30-big.png
+%%DATADIR%%/icons/array30.png
+%%DATADIR%%/icons/cangjie-big.png
+%%DATADIR%%/icons/cangjie3.svg
+%%DATADIR%%/icons/cangjie5.svg
+%%DATADIR%%/icons/cantonese.png
+%%DATADIR%%/icons/cantonhk.png
+%%DATADIR%%/icons/easy-big.png
+%%DATADIR%%/icons/erbi-qs.svg
+%%DATADIR%%/icons/erbi.png
+%%DATADIR%%/icons/jyutping.png
+%%DATADIR%%/icons/quick-classic.png
+%%DATADIR%%/icons/quick3.png
+%%DATADIR%%/icons/quick5.png
+%%DATADIR%%/icons/scj6.svg
+%%DATADIR%%/icons/stroke5.png
+%%DATADIR%%/icons/wu.png
+%%DATADIR%%/icons/wubi-haifeng86.svg
+%%DATADIR%%/icons/wubi-jidian86.svg
+%%DATADIR%%/icons/yong.png
+%%DATADIR%%/tables/array30-big.db
+%%DATADIR%%/tables/array30.db
+%%DATADIR%%/tables/cangjie-big.db
+%%DATADIR%%/tables/cangjie3.db
+%%DATADIR%%/tables/cangjie5.db
+%%DATADIR%%/tables/cantonese.db
+%%DATADIR%%/tables/cantonhk.db
+%%DATADIR%%/tables/easy-big.db
+%%DATADIR%%/tables/erbi-qs.db
+%%DATADIR%%/tables/erbi.db
+%%DATADIR%%/tables/jyutping.db
+%%DATADIR%%/tables/quick-classic.db
+%%DATADIR%%/tables/quick3.db
+%%DATADIR%%/tables/quick5.db
+%%DATADIR%%/tables/scj6.db
+%%DATADIR%%/tables/stroke5.db
+%%DATADIR%%/tables/wu.db
+%%DATADIR%%/tables/wubi-haifeng86.db
+%%DATADIR%%/tables/wubi-jidian86.db
+%%DATADIR%%/tables/yong.db