BSD Ports

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

SystemPortVersion
FreeBSDchinese/opencc1.4.2_1
DragonFlychinese/opencc1.1.6
MidnightBSDchinese/opencc1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.4.2_11.4.2_11.0.5_31.1.61.4.2_1
FreeBSD:14:quarterly1.4.2_11.4.2_1n/a1.1.61.4.2_1
FreeBSD:15:latest1.4.2_11.4.2_1n/a1.1.61.1.6
FreeBSD:15:quarterly1.4.2_11.4.2_1n/an/an/a
FreeBSD:16:latest1.4.2_11.4.2_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Library 1

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 18
Run dependencies 1

Configuration

Options name: chinese_opencc

OptionDefaultDescription
JIEBAonJieba 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
FileSizeSHA256
BYVoid-OpenCC-ver.1.4.2_GH0.tar.gz1.1843082e+078e5f5cf7fe195bd9b9be851adc9738c1ef7dc5c24441dd5878a56db4087a9a70

Commit history 3

DateCommitCreditsLog message
cde3ef1d7c Xin LI chinese/opencc: unbundle marisa, rapidjson, tclap, and googletest
Use system versions of libraries that have matching ports instead of the bundled copies shipped in deps/. PR: ports/297782 Reported by: diizzy Approved by: maintainer
90c1b15715 Xin LI chinese/opencc: update to 1.4.2
- Remove patch-cmake_GitVersion.cmake (fix included upstream) PR: ports/297780 Approved by: maintainer
584636d93a Frank Lin chinese/opencc: Upgrade from 1.3.1 to 1.4.1.
Changes in this update: - Enable the Jieba segmentation plugin via a new JIEBA option (default on). - OpenCC now requires C++17: USES compiler:c++11-lib -> c++17-lang. - Regenerate files/patch-CMakeLists.txt for the reorganized upstream tree. - Add files/patch-cmake_GitVersion.cmake so the release tarball (which ships without Git metadata) reports 1.4.1 instead of 1.4.0. Obtained from upstream commit c23e743702f4. PR: ports/296829 Approved by: maintainer