BSD Ports

textproc/uchardet 0.0.8_1 MidnightBSD

Universal charset detection library

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
gpl2, lgpl2.1, MPL11
Categories
textproc

Description

uchardet is an encoding detection library, which takes a sequence of bytes in an unknown character encoding without any additional information, and attempts to determine the encoding of the text. Returned encoding names are iconv-compatible.

It started as a C language binding of the original C++ implementation of the universal charset detection library by Mozilla. It can now detect more charsets, and more reliably than the original implementation.

In the other systems

SystemPortVersion
MidnightBSDtextproc/uchardet0.0.8_1
FreeBSDtextproc/uchardet0.0.8_1
OpenBSDtextproc/uchardet0.0.8
NetBSDtextproc/uchardet0.0.8nb1
DragonFlytextproc/uchardet0.0.8_1
HardenedBSDtextproc/uchardet0.0.8_1
GhostBSDtextproc/uchardet0.0.8_1
OPNsensetextproc/uchardet0.0.8_1

Install

Binary package:

mport install uchardet

From mports:

cd /usr/mports/textproc/uchardet && make install clean

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

RUN_DEPENDS=	uchardet>0:textproc/uchardet
LIB_DEPENDS=	libuchardet.so:textproc/uchardet

Dependencies

Required by 1

Configuration

No options to configure.

USES
cmake compiler:c++11-lang pathfix tar:xz
Service scripts
none

Files

Manual pages 1
  • uchardet(1)
pkg-plist 12
  • bin/uchardet
  • include/uchardet/uchardet.h
  • lib/cmake/uchardet/uchardet-config-version.cmake
  • lib/cmake/uchardet/uchardet-config.cmake
  • lib/cmake/uchardet/uchardet-targets-.cmake
  • lib/cmake/uchardet/uchardet-targets.cmake
  • lib/libuchardet.a
  • lib/libuchardet.so
  • lib/libuchardet.so.0
  • lib/libuchardet.so.0.0.8
  • libdata/pkgconfig/uchardet.pc
  • share/man/man1/uchardet.1.gz
distinfo 1
FileSizeSHA256
uchardet-0.0.8.tar.xz222648e97a60cfc00a1c147a674b097bb1422abd9fa78a2d9ce3f3fdcc2e78a34ac5f0
Master sites 1
  • https://www.freedesktop.org/software/uchardet/releases/