63315c45b4
Changes: - Unicode 11 support - utf8proc_NFKC_Casefold convenience function for NFKC_Casefold normalization - UTF8PROC_STRIPNA option to strip unassigned codepoints. - Support building static libraries on Windows (callers need to #define UTF8PROC_STATIC) - cmake fix to avoid defining UTF8PROC_EXPORTS globally - toupper of U+00df now yields U+1E9E, similar to musl; case-folding still yields the standard "ss" mapping. - utf8proc_charwidth now returns 1 for U+00AD (soft hyphen) and for unassigned/PUA codepoints.
17 lines
439 B
Makefile
17 lines
439 B
Makefile
# $NetBSD: Makefile,v 1.4 2018/08/17 15:22:37 minskim Exp $
|
|
|
|
DISTNAME= utf8proc-2.2.0
|
|
CATEGORIES= converters
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=JuliaLang/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= https://julialang.org/utf8proc/
|
|
COMMENT= Clean C library for processing UTF-8 Unicode data
|
|
LICENSE= mit
|
|
|
|
USE_CMAKE= yes
|
|
USE_LANGUAGES= c99
|
|
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|