pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

utf8proc: Import version 2.1.0



Module Name:	pkgsrc-wip
Committed By:	Min Sik Kim <minskim%NetBSD.org@localhost>
Pushed By:	minskim
Date:		Tue Sep 19 09:43:06 2017 -0700
Changeset:	ba27fb729d9c7775a242b8df92f1d1fad8e18b5a

Modified Files:
	Makefile
Added Files:
	utf8proc/DESCR
	utf8proc/Makefile
	utf8proc/PLIST
	utf8proc/buildlink3.mk
	utf8proc/distinfo

Log Message:
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.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ba27fb729d9c7775a242b8df92f1d1fad8e18b5a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile               |  1 +
 utf8proc/DESCR         |  3 +++
 utf8proc/Makefile      | 29 +++++++++++++++++++++++++++++
 utf8proc/PLIST         |  3 +++
 utf8proc/buildlink3.mk | 13 +++++++++++++
 utf8proc/distinfo      |  6 ++++++
 6 files changed, 55 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 7e2053ac0d..31e7a646dd 100644
--- a/Makefile
+++ b/Makefile
@@ -4469,6 +4469,7 @@ SUBDIR+=	urlwatch
 SUBDIR+=	uschedule
 SUBDIR+=	using-mpi
 SUBDIR+=	ussp-push
+SUBDIR+=	utf8proc
 SUBDIR+=	uthash
 SUBDIR+=	util-linux
 SUBDIR+=	uzbl
diff --git a/utf8proc/DESCR b/utf8proc/DESCR
new file mode 100644
index 0000000000..1300c4ad75
--- /dev/null
+++ b/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/utf8proc/Makefile b/utf8proc/Makefile
new file mode 100644
index 0000000000..fdec0bd1d5
--- /dev/null
+++ b/utf8proc/Makefile
@@ -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@localhost
+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"
diff --git a/utf8proc/PLIST b/utf8proc/PLIST
new file mode 100644
index 0000000000..454d78433e
--- /dev/null
+++ b/utf8proc/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+include/utf8proc.h
+lib/libutf8proc.a
diff --git a/utf8proc/buildlink3.mk b/utf8proc/buildlink3.mk
new file mode 100644
index 0000000000..429359ec71
--- /dev/null
+++ b/utf8proc/buildlink3.mk
@@ -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
diff --git a/utf8proc/distinfo b/utf8proc/distinfo
new file mode 100644
index 0000000000..1943254c09
--- /dev/null
+++ b/utf8proc/distinfo
@@ -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


Home | Main Index | Thread Index | Old Index