summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2018-04-30 19:31:47 +0000
committerminskim <minskim@pkgsrc.org>2018-04-30 19:31:47 +0000
commitab3d0192264b71026a4bf99fd7be88663a76abd1 (patch)
treec95e955fdd4b8760303db953eb4e22e0ae4c4617 /converters
parentdda1cd41aee57c6379cfd581feb41ffb4aa19bef (diff)
downloadpkgsrc-ab3d0192264b71026a4bf99fd7be88663a76abd1.tar.gz
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.
Diffstat (limited to 'converters')
-rw-r--r--converters/utf8proc/DESCR3
-rw-r--r--converters/utf8proc/Makefile30
-rw-r--r--converters/utf8proc/PLIST5
-rw-r--r--converters/utf8proc/buildlink3.mk12
-rw-r--r--converters/utf8proc/distinfo6
5 files changed, 56 insertions, 0 deletions
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