BSD Ports

chinese/p5-Encode-HanConvert 0.35_2 FreeBSD

Traditional and Simplified Chinese mappings

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
chinese, perl5
Package size
653.6 KiB, 4774.1 KiB installed

Description

This module is an attempt to solve most common problems occurred in Traditional vs. Simplified Chinese conversion, in an efficient, flexible way, without resorting to external tools or modules.

After installing this module, you'll have two additional encoding formats: big5-simp maps Big5 into Unicode's Simplified Chinese (and vice versa), and gbk-trad maps CP936 (better known as GBK) into Unicode's Traditional Chinese and back.

The module exports various xxx_to_yyy functions by default, where xxx and yyy are one of big5, gb (i.e. GBK/CP936), simp (simplified Chinese unicode), or trad (traditional Chinese unicode).

In the other systems

SystemPortVersion
FreeBSDchinese/p5-Encode-HanConvert0.35_2
DragonFlychinese/p5-Encode-HanConvert0.35_2
MidnightBSDchinese/p5-Encode-HanConvert0.35_2

Install

Binary package:

pkg install p5-Encode-HanConvert

From the ports tree:

cd /usr/ports/chinese/p5-Encode-HanConvert/ && make install clean

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

RUN_DEPENDS=	p5-Encode-HanConvert>0:chinese/p5-Encode-HanConvert

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.35_20.35_20.35_20.35_20.35_2
FreeBSD:14:quarterly0.35_20.35_2n/a0.35_20.35_2
FreeBSD:15:latest0.35_20.35_2n/a0.35_20.35_2
FreeBSD:15:quarterly0.35_20.35_2n/an/an/a
FreeBSD:16:latest0.35_20.35_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

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

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 8
  • bin/b2g.pl
  • bin/g2b.pl
  • %%SITE_ARCH%%/Encode/HanConvert.pm
  • %%SITE_ARCH%%/Encode/HanConvert/Perl.pm
  • %%SITE_ARCH%%/Encode/HanConvert/Perl.pm-orig
  • %%SITE_ARCH%%/auto/Encode/HanConvert/HanConvert.so
  • %%PERL5_MAN1%%/b2g.pl.1.gz
  • %%PERL5_MAN1%%/g2b.pl.1.gz
distinfo 1
FileSizeSHA256
Encode-HanConvert-0.35.tar.gz24653065519610e33ee9b4c13f0674d08a32445ff3fe64bb6091332925e71c7b6cead8
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.