git: 101d4e1e3961 - main - textproc/toml-f: Update 0.2.2-4 -> 0.2.3

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 13 Apr 2022 04:05:06 UTC
The branch main has been updated by yuri:

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

commit 101d4e1e3961854e7e3307cf8d328b1e03a4cc45
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-04-13 04:04:29 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-04-13 04:05:01 +0000

    textproc/toml-f: Update 0.2.2-4 -> 0.2.3
    
    Reported by:    portscout
---
 textproc/toml-f/Makefile                   |  4 +---
 textproc/toml-f/distinfo                   |  6 +++---
 textproc/toml-f/files/patch-CMakeLists.txt | 11 +++++++++++
 textproc/toml-f/pkg-plist                  |  2 +-
 4 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/textproc/toml-f/Makefile b/textproc/toml-f/Makefile
index 4ed9e8aec051..51589786152f 100644
--- a/textproc/toml-f/Makefile
+++ b/textproc/toml-f/Makefile
@@ -1,8 +1,6 @@
 PORTNAME=	toml-f
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.2.2-4
-PORTREVISION=	1
-DISTVERSIONSUFFIX=	-gf066ec6
+DISTVERSION=	0.2.3
 CATEGORIES=	textproc
 
 MAINTAINER=	yuri@FreeBSD.org
diff --git a/textproc/toml-f/distinfo b/textproc/toml-f/distinfo
index 634724a70af7..3a8f51c8ebe1 100644
--- a/textproc/toml-f/distinfo
+++ b/textproc/toml-f/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1642535799
-SHA256 (toml-f-toml-f-v0.2.2-4-gf066ec6_GH0.tar.gz) = a68c70ac2eee3930b4c5b148af5c0bdfbafa1c4af2740bcf6c0d4fc7b6f7f230
-SIZE (toml-f-toml-f-v0.2.2-4-gf066ec6_GH0.tar.gz) = 72749
+TIMESTAMP = 1649822252
+SHA256 (toml-f-toml-f-v0.2.3_GH0.tar.gz) = 679e36daf1be40e187e3488e6aa44e33e27dd426ba1947f816563d20d063e02a
+SIZE (toml-f-toml-f-v0.2.3_GH0.tar.gz) = 94058
diff --git a/textproc/toml-f/files/patch-CMakeLists.txt b/textproc/toml-f/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..ebbc00455236
--- /dev/null
+++ b/textproc/toml-f/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2022-04-13 04:01:25 UTC
++++ CMakeLists.txt
+@@ -89,6 +89,8 @@ install(
+ )
+ 
+ # add the testsuite
++if (FREEBSD_BUILD_TESTS)
+ enable_testing()
+ set(fpm-toml "${PROJECT_SOURCE_DIR}/fpm.toml")
+ add_subdirectory("test")
++endif()
diff --git a/textproc/toml-f/pkg-plist b/textproc/toml-f/pkg-plist
index ffa9406cc52b..712e767a216c 100644
--- a/textproc/toml-f/pkg-plist
+++ b/textproc/toml-f/pkg-plist
@@ -31,5 +31,5 @@ lib/cmake/toml-f/toml-f-targets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/toml-f/toml-f-targets.cmake
 lib/libtoml-f.so
 lib/libtoml-f.so.0
-lib/libtoml-f.so.0.2.2
+lib/libtoml-f.so.0.2.3
 libdata/pkgconfig/toml-f.pc