chinese/opencc 1.4.2_1 FreeBSD
Open Chinese Convert library and utilities
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
cde3ef1d7c- License
- APACHE20
- Categories
- chinese, converters
- Package size
- 5817.7 KiB, 21166.6 KiB installed
Description
Open Chinese Convert (OpenCC) is an open source Simplified-Traditional Chinese conversion project, providing high quality thesaurus and libopencc, as well as a conversion utility and a dictionary generator.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | chinese/opencc | 1.4.2_1 |
| DragonFly | chinese/opencc | 1.1.6 |
| MidnightBSD | chinese/opencc | 1.1.6_2 |
Install
Binary package:
pkg install zh-opencc
From the ports tree:
cd /usr/ports/chinese/opencc/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= zh-opencc>0:chinese/opencc
LIB_DEPENDS= libopencc.so:chinese/opencc
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.4.2_1 | 1.4.2_1 | 1.0.5_3 | 1.1.6 | 1.4.2_1 |
| FreeBSD:14:quarterly | 1.4.2_1 | 1.4.2_1 | n/a | 1.1.6 | 1.4.2_1 |
| FreeBSD:15:latest | 1.4.2_1 | 1.4.2_1 | n/a | 1.1.6 | 1.1.6 |
| FreeBSD:15:quarterly | 1.4.2_1 | 1.4.2_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.4.2_1 | 1.4.2_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
rapidjson>=0: devel/rapidjson${LOCALBASE}/include/tclap/CmdLine.h: devel/tclap12
Library 1
libmarisa.so: devel/marisa-trie
Test 1
googletest>=0: devel/googletest
The full lists below include those, and their dependencies in turn.
Build dependencies 18
Run dependencies 1
Required by 29
- chinese/bsdconv-opencc
- chinese/fcitx5-chinese-addons
- chinese/fcitx5-rime
- chinese/ibus-array
- chinese/ibus-libpinyin
- chinese/ibus-rime
- chinese/libime-jyutping
- chinese/librime
- chinese/php-opencc
- chinese/rime-array
- chinese/rime-bopomofo
- chinese/rime-cangjie
- chinese/rime-cantonese
- chinese/rime-combo-pinyin
- chinese/rime-double-pinyin
- chinese/rime-ipa
- chinese/rime-jyutping
- chinese/rime-luna-pinyin
- chinese/rime-middle-chinese
- chinese/rime-pinyin-simp
- chinese/rime-quick
- chinese/rime-scj
- chinese/rime-soutzoe
- chinese/rime-stenotype
- chinese/rime-stroke
- chinese/rime-terra-pinyin
- chinese/rime-wubi
- chinese/rime-wugniu
- textproc/goldendict-ng
Configuration
Options name: chinese_opencc
| Option | Default | Description |
|---|---|---|
| JIEBA | on | Jieba segmentation plugin |
- USES
- cmake:testing compiler:c++17-lang localbase:ldflags python:build
- Service scripts
- none
Files
pkg-plist 87
- bin/opencc
- bin/opencc_dict
- bin/opencc_phrase_extract
- include/opencc/Common.hpp
- include/opencc/Config.hpp
- include/opencc/Conversion.hpp
- include/opencc/ConversionChain.hpp
- include/opencc/ConversionInspection.hpp
- include/opencc/Converter.hpp
- include/opencc/Dict.hpp
- include/opencc/DictEntry.hpp
- include/opencc/DictGroup.hpp
- include/opencc/Exception.hpp
- include/opencc/Export.hpp
- include/opencc/Lexicon.hpp
- include/opencc/MarisaDict.hpp
- include/opencc/MaxMatchSegmentation.hpp
- include/opencc/Optional.hpp
- include/opencc/ResourceProvider.hpp
- include/opencc/Segmentation.hpp
- include/opencc/Segments.hpp
- include/opencc/SerializableDict.hpp
- include/opencc/SimpleConverter.hpp
- include/opencc/TextDict.hpp
- include/opencc/UTF8Util.hpp
- include/opencc/opencc.h
- include/opencc/plugin/OpenCCPlugin.h
- lib/cmake/opencc/OpenCCConfig.cmake
- lib/cmake/opencc/OpenCCConfigVersion.cmake
- lib/cmake/opencc/OpenCCTargets-.cmake
- lib/cmake/opencc/OpenCCTargets.cmake
- lib/libopencc.so
- lib/libopencc.so.1.4
- lib/libopencc.so.1.4.2
- libdata/pkgconfig/opencc.pc
- share/zh-opencc/CJK_Compatibility_Ideographs.ocd2
- share/zh-opencc/HKPhrases.ocd2
- share/zh-opencc/HKPhrasesRev.ocd2
- share/zh-opencc/HKVariants.ocd2
- share/zh-opencc/HKVariantsPhrases.ocd2
- share/zh-opencc/HKVariantsRev.ocd2
- share/zh-opencc/HKVariantsRevPhrases.ocd2
- share/zh-opencc/JPShinjitaiCharacters.ocd2
- share/zh-opencc/JPShinjitaiCharactersRev.ocd2
- share/zh-opencc/JPShinjitaiPhrases.ocd2
- share/zh-opencc/STCharacters.ocd2
- share/zh-opencc/STPhrases.ocd2
- share/zh-opencc/STPhrases_GeneratedFromRegionalPhrases.ocd2
- share/zh-opencc/TSCharacters.ocd2
- share/zh-opencc/TSCharactersExt.ocd2
- share/zh-opencc/TSPhrases.ocd2
- share/zh-opencc/TWPhrases.ocd2
- share/zh-opencc/TWPhrasesRev.ocd2
- share/zh-opencc/TWVariants.ocd2
- share/zh-opencc/TWVariantsPhrases.ocd2
- share/zh-opencc/TWVariantsRev.ocd2
- share/zh-opencc/TWVariantsRevPhrases.ocd2
- share/zh-opencc/hk2s.json
- share/zh-opencc/hk2sp.json
- share/zh-opencc/hk2t.json
- share/zh-opencc/jp2t.json
- share/zh-opencc/s2hk.json
- share/zh-opencc/s2hkp.json
- share/zh-opencc/s2t.json
- share/zh-opencc/s2tw.json
- share/zh-opencc/s2twp.json
- share/zh-opencc/t2hk.json
- share/zh-opencc/t2jp.json
- share/zh-opencc/t2s.json
- share/zh-opencc/t2tw.json
- share/zh-opencc/tw2s.json
- share/zh-opencc/tw2sp.json
- share/zh-opencc/tw2t.json
- lib/opencc/plugins/libopencc-jieba.so
- share/zh-opencc/hk2sp_jieba.json
- share/zh-opencc/s2hk_jieba.json
- share/zh-opencc/s2hkp_jieba.json
- share/zh-opencc/s2t_jieba.json
- share/zh-opencc/s2tw_jieba.json
- share/zh-opencc/s2twp_jieba.json
- share/zh-opencc/tw2sp_jieba.json
- share/zh-opencc/jieba_dict/hmm_model.utf8
- share/zh-opencc/jieba_dict/idf.utf8
- share/zh-opencc/jieba_dict/jieba.dict.utf8
- share/zh-opencc/jieba_dict/jieba_merged.ocd2
- share/zh-opencc/jieba_dict/stop_words.utf8
- share/zh-opencc/jieba_dict/user.dict.utf8
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| BYVoid-OpenCC-ver.1.4.2_GH0.tar.gz | 1.1843082e+07 | 8e5f5cf7fe195bd9b9be851adc9738c1ef7dc5c24441dd5878a56db4087a9a70 |