git: 0e073f8be762 - main - textproc/re-flex: update to 3.2.11

From: Pietro Cerutti <gahr_at_FreeBSD.org>
Date: Mon, 28 Nov 2022 12:30:15 UTC
The branch main has been updated by gahr:

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

commit 0e073f8be76279536a324e2d68ba1f215a1727dc
Author:     Pietro Cerutti <gahr@FreeBSD.org>
AuthorDate: 2022-11-28 12:27:04 +0000
Commit:     Pietro Cerutti <gahr@FreeBSD.org>
CommitDate: 2022-11-28 12:27:51 +0000

    textproc/re-flex: update to 3.2.11
---
 textproc/re-flex/Makefile | 8 +++++++-
 textproc/re-flex/distinfo | 6 +++---
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/textproc/re-flex/Makefile b/textproc/re-flex/Makefile
index bee0e88ea5ef..092c963945bf 100644
--- a/textproc/re-flex/Makefile
+++ b/textproc/re-flex/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	re-flex
-PORTVERSION=	3.2.8
+PORTVERSION=	3.2.11
 DISTVERSIONPREFIX=	v
 CATEGORIES=	textproc
 
@@ -21,6 +21,12 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	Genivia
 GH_PROJECT=	RE-flex
 
+post-patch:
+	${MV} ${WRKSRC}/cmake/CMakeLists.cmake ${WRKSRC}/CMakeLists.txt
+	${REINPLACE_CMD} \
+		's|reflex_static_lib|reflex|; s|reflex_shared_lib|reflex|' \
+		${WRKSRC}/CMakeLists.txt
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/include/reflex
 	(cd ${WRKSRC}/include/reflex && \
diff --git a/textproc/re-flex/distinfo b/textproc/re-flex/distinfo
index 0d01cf383948..7a2d39d4e69f 100644
--- a/textproc/re-flex/distinfo
+++ b/textproc/re-flex/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1659103320
-SHA256 (Genivia-RE-flex-v3.2.8_GH0.tar.gz) = 9dc3729080377f5a67b44630010ae76f45324917a8820cb6a240702a4d6fe7c8
-SIZE (Genivia-RE-flex-v3.2.8_GH0.tar.gz) = 5944160
+TIMESTAMP = 1669628095
+SHA256 (Genivia-RE-flex-v3.2.11_GH0.tar.gz) = 45b1b7e6bc47f567a16ffec710dcbfd4e95f0f7a34c14472809ca2fcda0ce143
+SIZE (Genivia-RE-flex-v3.2.11_GH0.tar.gz) = 5960505