pkgsrc/textproc/uchardet/buildlink3.mk
nia 65185d5960 textproc: Add uchardet
uchardet is an encoding detector 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.

uchardet 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.
2020-06-09 13:53:00 +00:00

12 lines
317 B
Makefile

# $NetBSD: buildlink3.mk,v 1.1 2020/06/09 13:53:00 nia Exp $
BUILDLINK_TREE+= uchardet
.if !defined(UCHARDET_BUILDLINK3_MK)
UCHARDET_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.uchardet+= uchardet>=0.0.7
BUILDLINK_PKGSRCDIR.uchardet?= ../../textproc/uchardet
.endif # UCHARDET_BUILDLINK3_MK
BUILDLINK_TREE+= -uchardet