utf8proc: Import version 2.1.0

utf8proc is a small, clean C library that provides Unicode
normalization, case-folding, and other operations for data in the
UTF-8 encoding, supporting Unicode version 9.0.
This commit is contained in:
Min Sik Kim 2017-09-19 09:43:06 -07:00
parent fd57c31530
commit ba27fb729d
6 changed files with 55 additions and 0 deletions

View file

@ -4469,6 +4469,7 @@ SUBDIR+= urlwatch
SUBDIR+= uschedule
SUBDIR+= using-mpi
SUBDIR+= ussp-push
SUBDIR+= utf8proc
SUBDIR+= uthash
SUBDIR+= util-linux
SUBDIR+= uzbl

3
utf8proc/DESCR Normal file
View file

@ -0,0 +1,3 @@
utf8proc is a small, clean C library that provides Unicode
normalization, case-folding, and other operations for data in the
UTF-8 encoding, supporting Unicode version 9.0.

29
utf8proc/Makefile Normal file
View file

@ -0,0 +1,29 @@
# $NetBSD$
DISTNAME= utf8proc-2.1.0
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_GITHUB:=JuliaLang/}
GITHUB_PROJECT= utf8proc
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
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}/build
USE_CMAKE= yes
CMAKE_ARG_PATH= ..
INSTALLATION_DIRS+= include lib
post-extract:
${MKDIR} ${WRKSRC}
do-install:
${INSTALL_DATA} ${WRKDIR}/${PKGNAME_NOREV}/utf8proc.h \
${DESTDIR}${PREFIX}/include/
${INSTALL_LIB} ${WRKSRC}/libutf8proc.a ${DESTDIR}${PREFIX}/lib/
.include "../../mk/bsd.pkg.mk"

3
utf8proc/PLIST Normal file
View file

@ -0,0 +1,3 @@
@comment $NetBSD$
include/utf8proc.h
lib/libutf8proc.a

13
utf8proc/buildlink3.mk Normal file
View file

@ -0,0 +1,13 @@
# $NetBSD$
BUILDLINK_TREE+= utf8proc
.if !defined(UTF8PROC_BUILDLINK3_MK)
UTF8PROC_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.utf8proc+= utf8proc>=2.1.0
BUILDLINK_PKGSRCDIR.utf8proc?= ../../converters/utf8proc
BUILDLINK_DEPMETHOD.utf8proc?= build
.endif # UTF8PROC_BUILDLINK3_MK
BUILDLINK_TREE+= -utf8proc

6
utf8proc/distinfo Normal file
View file

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (utf8proc-2.1.0.tar.gz) = 2c4e949490820f53841dfc951c12b0a36dfbfa40
RMD160 (utf8proc-2.1.0.tar.gz) = b26aa87baea9146a650f3f958a1cda5d2612e47e
SHA512 (utf8proc-2.1.0.tar.gz) = 72b7f377fa6a62018d3eeab8723a27e25db3d1f794ae0bf21fff62ec1a7439bec52e7c93d2a00c218de6ff518097fb4a7a87c56e61ba8c98e689aa8f7171c812
Size (utf8proc-2.1.0.tar.gz) = 151842 bytes