git: bd2611fa3a70 - main - textproc/jarowinkler-cpp: New port: Fast Jaro and Jaro Winkler distance C++ header-only library

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 25 Apr 2022 16:23:46 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bd2611fa3a708cdb1ccaacd5a84f74aefa6e1fae

commit bd2611fa3a708cdb1ccaacd5a84f74aefa6e1fae
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-04-25 16:01:12 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-04-25 16:01:12 +0000

    textproc/jarowinkler-cpp: New port: Fast Jaro and Jaro Winkler distance C++ header-only library
---
 textproc/Makefile                  |  1 +
 textproc/jarowinkler-cpp/Makefile  | 19 +++++++++++++++++++
 textproc/jarowinkler-cpp/distinfo  |  3 +++
 textproc/jarowinkler-cpp/pkg-descr |  3 +++
 textproc/jarowinkler-cpp/pkg-plist |  8 ++++++++
 5 files changed, 34 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index b805f1d7f122..61e19cc49c65 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -320,6 +320,7 @@
     SUBDIR += jade
     SUBDIR += jalingo
     SUBDIR += jarnal
+    SUBDIR += jarowinkler-cpp
     SUBDIR += java2html
     SUBDIR += jaxup
     SUBDIR += jdictionary
diff --git a/textproc/jarowinkler-cpp/Makefile b/textproc/jarowinkler-cpp/Makefile
new file mode 100644
index 000000000000..d3ecc3811e57
--- /dev/null
+++ b/textproc/jarowinkler-cpp/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	jarowinkler-cpp
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.0.0
+CATEGORIES=	textproc
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Fast Jaro and Jaro Winkler distance C++ header-only library
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		cmake compiler:c++17-lang
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	maxbachmann
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/textproc/jarowinkler-cpp/distinfo b/textproc/jarowinkler-cpp/distinfo
new file mode 100644
index 000000000000..7faf587e235d
--- /dev/null
+++ b/textproc/jarowinkler-cpp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1650902205
+SHA256 (maxbachmann-jarowinkler-cpp-v1.0.0_GH0.tar.gz) = 879cf0b903ead3e747dab36f3d512a91db9226d80ee58bbd9cc4d5eef0d15400
+SIZE (maxbachmann-jarowinkler-cpp-v1.0.0_GH0.tar.gz) = 10026
diff --git a/textproc/jarowinkler-cpp/pkg-descr b/textproc/jarowinkler-cpp/pkg-descr
new file mode 100644
index 000000000000..494862313925
--- /dev/null
+++ b/textproc/jarowinkler-cpp/pkg-descr
@@ -0,0 +1,3 @@
+Fast Jaro and Jaro Winkler distance C++ header-only library.
+
+WWW: https://github.com/maxbachmann/jarowinkler-cpp
diff --git a/textproc/jarowinkler-cpp/pkg-plist b/textproc/jarowinkler-cpp/pkg-plist
new file mode 100644
index 000000000000..9be841f08849
--- /dev/null
+++ b/textproc/jarowinkler-cpp/pkg-plist
@@ -0,0 +1,8 @@
+include/jaro_winkler/details/common.hpp
+include/jaro_winkler/details/intrinsics.hpp
+include/jaro_winkler/details/jaro_impl.hpp
+include/jaro_winkler/jaro_winkler.hpp
+lib/cmake/jaro_winkler/jaro_winklerConfig.cmake
+lib/cmake/jaro_winkler/jaro_winklerConfigVersion.cmake
+lib/cmake/jaro_winkler/jaro_winklerTargets.cmake
+lib/jaro_winkler.hpp