git: 2f9710aa91f0 - main - textproc/flex: Impelled to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 23 Jan 2024 21:51:53 UTC
The branch main has been updated by bofh:

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

commit 2f9710aa91f0b13940e6852462c7d275d751a392
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-23 21:11:01 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-23 21:51:25 +0000

    textproc/flex: Impelled to share/man
    
    Approved by:    portmgr (blanket)
---
 textproc/flex/Makefile  | 3 ++-
 textproc/flex/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/textproc/flex/Makefile b/textproc/flex/Makefile
index 96fa473fc98d..62f06004d871 100644
--- a/textproc/flex/Makefile
+++ b/textproc/flex/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	flex
 PORTVERSION=	2.6.4
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	textproc devel
 MASTER_SITES=	https://github.com/westes/flex/releases/download/v${PORTVERSION}/
 
@@ -16,6 +16,7 @@ BUILD_DEPENDS=	help2man:misc/help2man
 USES=		bison:alias cpe gmake libtool makeinfo
 CPE_VENDOR=	${PORTNAME}_project
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 # install flex header to its own dir to avoid conflict with system flex.
 CONFIGURE_ARGS=	--includedir=${PREFIX}/include/flex --disable-shared
 CONFIGURE_ENV=	MAKEINFO="${MAKEINFO} --no-split" \
diff --git a/textproc/flex/pkg-plist b/textproc/flex/pkg-plist
index d99a31d6c35c..57f56b445b61 100644
--- a/textproc/flex/pkg-plist
+++ b/textproc/flex/pkg-plist
@@ -2,7 +2,7 @@ bin/flex
 bin/flex++
 include/flex/FlexLexer.h
 lib/libfl.a
-man/man1/flex.1.gz
+share/man/man1/flex.1.gz
 %%NLS%%share/locale/ca/LC_MESSAGES/flex.mo
 %%NLS%%share/locale/da/LC_MESSAGES/flex.mo
 %%NLS%%share/locale/de/LC_MESSAGES/flex.mo