diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2011-11-11 15:50:46 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2011-11-11 15:50:46 +0000 |
commit | 0c15b393855e59790531d32a7c99478a68559cf3 (patch) | |
tree | d2c90bf447557e0ec64036cd9ac92587a4398a9e | |
parent | a1a8e50af094350333f608e03cc09804671c21be (diff) | |
download | freebsd-ports-0c15b393855e59790531d32a7c99478a68559cf3.zip |
libgooglepinyin is a Chinese input method engine, forked from Google
Pinyin IME on Android.
WWW: http://code.google.com/p/libgooglepinyin/
PR: ports/162471
Submitted by: maintainer (Zhihao Yuan)
Feature safe: yes
-rw-r--r-- | chinese/Makefile | 1 | ||||
-rw-r--r-- | chinese/libgooglepinyin/Makefile | 23 | ||||
-rw-r--r-- | chinese/libgooglepinyin/distinfo | 2 | ||||
-rw-r--r-- | chinese/libgooglepinyin/files/patch-data_CMakeLists.txt | 8 | ||||
-rw-r--r-- | chinese/libgooglepinyin/pkg-descr | 4 | ||||
-rw-r--r-- | chinese/libgooglepinyin/pkg-plist | 25 |
6 files changed, 63 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile index 0b15c97306c5..c1f39a6ad5f6 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -68,6 +68,7 @@ SUBDIR += koffice-kde4-l10n-zh_TW SUBDIR += kon2 SUBDIR += libchewing + SUBDIR += libgooglepinyin SUBDIR += libtabe SUBDIR += lunar SUBDIR += mingunittf diff --git a/chinese/libgooglepinyin/Makefile b/chinese/libgooglepinyin/Makefile new file mode 100644 index 000000000000..1147da3df7e5 --- /dev/null +++ b/chinese/libgooglepinyin/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: libgooglepinyin +# Date created: 11 Nov 2011 +# Whom: Zhihao Yuan <lichray@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= libgooglepinyin +PORTVERSION= 0.1.1 +CATEGORIES= chinese devel +MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} + +MAINTAINER= lichray@gmail.com +COMMENT= A fork of Google Pinyin IME on Android + +ONLY_FOR_ARCHS= amd64 i386 +ONLY_FOR_ARCHS_REASON= does not support big-endian dictionary + +USE_BZIP2= yes +USE_LDCONFIG= yes +USE_CMAKE= yes + +.include <bsd.port.mk> diff --git a/chinese/libgooglepinyin/distinfo b/chinese/libgooglepinyin/distinfo new file mode 100644 index 000000000000..6bac78165383 --- /dev/null +++ b/chinese/libgooglepinyin/distinfo @@ -0,0 +1,2 @@ +SHA256 (libgooglepinyin-0.1.1.tar.bz2) = 5a5aab5e68d8c0ad81e91122d65e9c4c684db2e0c659422686d81adf3385de03 +SIZE (libgooglepinyin-0.1.1.tar.bz2) = 716270 diff --git a/chinese/libgooglepinyin/files/patch-data_CMakeLists.txt b/chinese/libgooglepinyin/files/patch-data_CMakeLists.txt new file mode 100644 index 000000000000..ffe1ba42805d --- /dev/null +++ b/chinese/libgooglepinyin/files/patch-data_CMakeLists.txt @@ -0,0 +1,8 @@ +--- data/CMakeLists.txt~ 2011-09-06 00:15:40.000000000 -0500 ++++ data/CMakeLists.txt 2011-11-11 05:33:16.204582570 -0600 +@@ -6,4 +6,4 @@ add_custom_target(datafile ALL DEPENDS d + + configure_file(googlepinyin.pc.in ${CMAKE_CURRENT_BINARY_DIR}/googlepinyin.pc) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/dict_pinyin.dat DESTINATION ${datadir}/googlepinyin) +-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/googlepinyin.pc DESTINATION ${libdir}/pkgconfig) ++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/googlepinyin.pc DESTINATION ${prefix}/libdata/pkgconfig) diff --git a/chinese/libgooglepinyin/pkg-descr b/chinese/libgooglepinyin/pkg-descr new file mode 100644 index 000000000000..68e52990ef66 --- /dev/null +++ b/chinese/libgooglepinyin/pkg-descr @@ -0,0 +1,4 @@ +libgooglepinyin is a Chinese input method engine, forked from Google +Pinyin IME on Android. + +WWW: http://code.google.com/p/libgooglepinyin/ diff --git a/chinese/libgooglepinyin/pkg-plist b/chinese/libgooglepinyin/pkg-plist new file mode 100644 index 000000000000..1e61cd7fd0e4 --- /dev/null +++ b/chinese/libgooglepinyin/pkg-plist @@ -0,0 +1,25 @@ +include/googlepinyin/atomdictbase.h +include/googlepinyin/dictbuilder.h +include/googlepinyin/dictdef.h +include/googlepinyin/dictlist.h +include/googlepinyin/dicttrie.h +include/googlepinyin/lpicache.h +include/googlepinyin/matrixsearch.h +include/googlepinyin/mystdlib.h +include/googlepinyin/ngram.h +include/googlepinyin/pinyinime.h +include/googlepinyin/searchutility.h +include/googlepinyin/spellingtable.h +include/googlepinyin/spellingtrie.h +include/googlepinyin/splparser.h +include/googlepinyin/sync.h +include/googlepinyin/userdict.h +include/googlepinyin/utf16char.h +include/googlepinyin/utf16reader.h +lib/libgooglepinyin.so +lib/libgooglepinyin.so.0 +lib/libgooglepinyin.so.0.1.0 +libdata/pkgconfig/googlepinyin.pc +share/googlepinyin/dict_pinyin.dat +@dirrm share/googlepinyin +@dirrm include/googlepinyin |