git: 80ce7d0f47d3 - main - textproc/re-flex: update to 3.1.0, build with CMake

From: Pietro Cerutti <gahr_at_FreeBSD.org>
Date: Tue, 14 Dec 2021 08:37:59 UTC
The branch main has been updated by gahr:

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

commit 80ce7d0f47d3d58ecffb98a24fc2163a30b2470d
Author:     Pietro Cerutti <gahr@FreeBSD.org>
AuthorDate: 2021-12-14 08:36:30 +0000
Commit:     Pietro Cerutti <gahr@FreeBSD.org>
CommitDate: 2021-12-14 08:37:49 +0000

    textproc/re-flex: update to 3.1.0, build with CMake
    
    Release notes: https://github.com/Genivia/RE-flex/releases/tag/v3.1.0
---
 textproc/re-flex/Makefile  | 7 +++----
 textproc/re-flex/distinfo  | 6 +++---
 textproc/re-flex/pkg-plist | 5 ++++-
 3 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/textproc/re-flex/Makefile b/textproc/re-flex/Makefile
index 933217634df1..0b8c6b286e79 100644
--- a/textproc/re-flex/Makefile
+++ b/textproc/re-flex/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	re-flex
-PORTVERSION=	3.0.12
+PORTVERSION=	3.1.0
 DISTVERSIONPREFIX=	v
 PORTREVISION=	0
 CATEGORIES=	textproc
@@ -9,7 +9,7 @@ COMMENT=	Regex-centric, fast and flexible scanner generator for C++
 
 LICENSE=	BSD3CLAUSE
 
-USES=		autoreconf compiler:c++11-lib gmake
+USES=		compiler:c++11-lib cmake
 
 CONFLICTS_INSTALL=	reflex
 
@@ -17,8 +17,6 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	Genivia
 GH_PROJECT=	RE-flex
 
-GNU_CONFIGURE=	yes
-
 TEST_TARGET=	test
 
 post-install:
@@ -27,5 +25,6 @@ post-install:
 	 ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/include/reflex)
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/lex.vim ${STAGEDIR}${DATADIR}/lex.vim
+	${INSTALL_MAN} ${WRKSRC}/doc/man/reflex.1 ${STAGEDIR}/${MAN1PREFIX}/man/man1/
 
 .include <bsd.port.mk>
diff --git a/textproc/re-flex/distinfo b/textproc/re-flex/distinfo
index 3c5f5c3967ca..484e528d3e2a 100644
--- a/textproc/re-flex/distinfo
+++ b/textproc/re-flex/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1638176484
-SHA256 (Genivia-RE-flex-v3.0.12_GH0.tar.gz) = 3341ac841a79544e7645027ab9e920a76971cdb85d1d12b0b67275614418d916
-SIZE (Genivia-RE-flex-v3.0.12_GH0.tar.gz) = 6131163
+TIMESTAMP = 1639467442
+SHA256 (Genivia-RE-flex-v3.1.0_GH0.tar.gz) = 7f069c2b4dcf1c05313bd0460af5dcc40cb3153ff8715c179797c70559e5d870
+SIZE (Genivia-RE-flex-v3.1.0_GH0.tar.gz) = 6133489
diff --git a/textproc/re-flex/pkg-plist b/textproc/re-flex/pkg-plist
index 9cf6842c3bf5..a20eff21f646 100644
--- a/textproc/re-flex/pkg-plist
+++ b/textproc/re-flex/pkg-plist
@@ -21,6 +21,9 @@ include/reflex/traits.h
 include/reflex/unicode.h
 include/reflex/utf8.h
 lib/libreflex.a
-lib/libreflexmin.a
+lib/libreflex.so
+lib/cmake/reflex/ReflexConfig.cmake
+lib/cmake/reflex/ReflexTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/reflex/ReflexTargets.cmake
 %%DATADIR%%/lex.vim
 man/man1/reflex.1.gz