summaryrefslogtreecommitdiff
path: root/converters/utf8proc/Makefile
diff options
context:
space:
mode:
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"