summaryrefslogtreecommitdiff
path: root/converters/utf8proc/Makefile
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/utf8proc/Makefile
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/utf8proc/Makefile')
-rw-r--r--converters/utf8proc/Makefile30
1 files changed, 30 insertions, 0 deletions
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"