FreeBSD Ports

chinese/php-opencc 0.0.0.20201211_1

OpenCC shared extension for php

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
584636d93a
License
PHP301
Categories
chinese
Package size
7.7 KiB, 16.1 KiB installed

Description

Open Chinese Convert is an opensource project for conversion between Traditional Chinese and Simplified Chinese, supporting character-level conversion, phrase-level conversion, variant conversion and regional idioms among Mainland China, Taiwan and Hong kong.

Install

As a binary package — by origin, or by package name:

pkg install chinese/php-opencc
pkg install php82-opencc

From the ports tree:

cd /usr/ports/chinese/php-opencc/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	php82-opencc>0:chinese/php-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:latest0.0.0.20201211_10.0.0.20201211_10.0.0.202012110.0.0.202012110.0.0.20201211_1
FreeBSD:14:quarterly0.0.0.20201211_10.0.0.20201211_1n/a0.0.0.202012110.0.0.20201211_1
FreeBSD:15:latest0.0.0.20201211_10.0.0.20201211_1n/a0.0.0.202012110.0.0.20201211
FreeBSD:15:quarterly0.0.0.20201211_10.0.0.20201211_1n/an/an/a
FreeBSD:16:latest0.0.0.20201211_10.0.0.20201211_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

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

All build dependencies 13
All run dependencies 8

No port depends on this one.

Configuration

No options to configure.

USES
php:ext
Service scripts
none
Flavors
php83-opencc-0.0.0.20201211_1, php84-opencc-0.0.0.20201211_1, php85-opencc-0.0.0.20201211_1, php86-opencc-0.0.0.20201211_1

Message after installing

This file has been added to automatically load the installed extension:
/usr/local/etc/php/ext-20-opencc.ini.sample

Files

distinfo 1
FileSizeSHA256
NauxLiu-opencc4php-0.0.0.20201211-56973eb_GH0.tar.gz750581d00a5488f9874e1632bbd82acfecf547060062150ae411b1d698fcbdccc9b8

Commit history 1

DateCommitCreditsLog message
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