Files
ports/textproc/libutf8proc/Makefile
T
sthen f215878761 import ports/textproc/libutf8proc, to replace www/netsurf/libutf8proc.
(the netsurf version is a fork of an older version; this updated one still
works with netsurf). ok edd@, 'ok with removing www/netsurf/libutf8proc in
favor of a more "standard" utf8proc, as long as doing so doesn't break
netsurf' bentley@

utf8proc is a library for processing UTF-8 encoded Unicode strings.
Some features are Unicode normalization, stripping of default ignorable
characters, case folding and detection of grapheme cluster boundaries.
A special character mapping is available, which converts for example the
characters "Hyphen" (U+2010), "Minus" (U+2212) and "Hyphen-Minus"
(U+002D, ASCII Minus) all into the ASCII minus sign, to make them equal
for comparisons.
2025-04-22 16:49:54 +00:00

25 lines
488 B
Makefile

COMMENT = unicode library
V = 2.10.0
DISTNAME = utf8proc-$V
PKGNAME = libutf8proc-$V
HOMEPAGE = https://juliastrings.github.io/utf8proc/
SITES = https://github.com/JuliaStrings/utf8proc/releases/download/v$V/
CATEGORIES = textproc
SHARED_LIBS = utf8proc 2.2 # 3.1
# MIT
PERMIT_PACKAGE = Yes
MODULES = devel/cmake
DEBUG_PACKAGES = ${BUILD_PACKAGES}
CONFIGURE_ARGS = -DBUILD_SHARED_LIBS=On
# requires extra files downloaded by cmake
NO_TEST = Yes
.include <bsd.port.mk>