From ab3d0192264b71026a4bf99fd7be88663a76abd1 Mon Sep 17 00:00:00 2001 From: minskim Date: Mon, 30 Apr 2018 19:31:47 +0000 Subject: converters/utf8proc: Import version 2.1.1 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. --- converters/utf8proc/DESCR | 3 +++ converters/utf8proc/Makefile | 30 ++++++++++++++++++++++++++++++ converters/utf8proc/PLIST | 5 +++++ converters/utf8proc/buildlink3.mk | 12 ++++++++++++ converters/utf8proc/distinfo | 6 ++++++ 5 files changed, 56 insertions(+) create mode 100644 converters/utf8proc/DESCR create mode 100644 converters/utf8proc/Makefile create mode 100644 converters/utf8proc/PLIST create mode 100644 converters/utf8proc/buildlink3.mk create mode 100644 converters/utf8proc/distinfo (limited to 'converters') diff --git a/converters/utf8proc/DESCR b/converters/utf8proc/DESCR new file mode 100644 index 00000000000..1300c4ad75a --- /dev/null +++ b/converters/utf8proc/DESCR @@ -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. diff --git a/converters/utf8proc/Makefile b/converters/utf8proc/Makefile new file mode 100644 index 00000000000..0e208d44b8e --- /dev/null +++ b/converters/utf8proc/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1 2018/04/30 19:31:47 minskim Exp $ + +DISTNAME= utf8proc-2.1.1 +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 +WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}/build + +CMAKE_ARG_PATH= .. +CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON + +INSTALLATION_DIRS+= include lib + +post-extract: + ${MKDIR} ${WRKSRC} + +do-install: + ${INSTALL_DATA} ${WRKDIR}/${PKGNAME_NOREV}/utf8proc.h \ + ${DESTDIR}${PREFIX}/include/ + ${INSTALL_LIB} ${WRKSRC}/libutf8proc.* ${DESTDIR}${PREFIX}/lib/ + +.include "../../mk/bsd.pkg.mk" diff --git a/converters/utf8proc/PLIST b/converters/utf8proc/PLIST new file mode 100644 index 00000000000..b55f3fa008f --- /dev/null +++ b/converters/utf8proc/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1 2018/04/30 19:31:47 minskim Exp $ +include/utf8proc.h +lib/libutf8proc.so +lib/libutf8proc.so.2 +lib/libutf8proc.so.${PKGVERSION} diff --git a/converters/utf8proc/buildlink3.mk b/converters/utf8proc/buildlink3.mk new file mode 100644 index 00000000000..777c5feeea8 --- /dev/null +++ b/converters/utf8proc/buildlink3.mk @@ -0,0 +1,12 @@ +# $NetBSD: buildlink3.mk,v 1.1 2018/04/30 19:31:47 minskim Exp $ + +BUILDLINK_TREE+= utf8proc + +.if !defined(UTF8PROC_BUILDLINK3_MK) +UTF8PROC_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.utf8proc+= utf8proc>=2.1.1 +BUILDLINK_PKGSRCDIR.utf8proc?= ../../converters/utf8proc +.endif # UTF8PROC_BUILDLINK3_MK + +BUILDLINK_TREE+= -utf8proc diff --git a/converters/utf8proc/distinfo b/converters/utf8proc/distinfo new file mode 100644 index 00000000000..5214c4cff90 --- /dev/null +++ b/converters/utf8proc/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2018/04/30 19:31:47 minskim Exp $ + +SHA1 (utf8proc-2.1.1.tar.gz) = 8c02fc26fbe7ab1c4c0d2fce3efecb4df8d935b9 +RMD160 (utf8proc-2.1.1.tar.gz) = c1294da1de99bb2ee6fad01d3dbf9e25e4ef0581 +SHA512 (utf8proc-2.1.1.tar.gz) = 66c3e79439dd4c4b148ec3a2a9f96442fcccb9e488384e52807f513dad64d4b7adea8626c60d21ea401ce4240ced0c71265de51c4d1550c37c8db9176dbb4fe8 +Size (utf8proc-2.1.1.tar.gz) = 152198 bytes -- cgit v1.2.3