git: 5ed64b688ef2 - main - devel/m4: Impelled to share/man

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

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

commit 5ed64b688ef2f71c037f465743a1e18004f23c68
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-23 20:13:56 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-23 21:51:18 +0000

    devel/m4: Impelled to share/man
    
    Approved by:    portmgr (blanket)
---
 devel/m4/Makefile  | 2 ++
 devel/m4/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/devel/m4/Makefile b/devel/m4/Makefile
index 0acb9d1c57ac..130ab0b572b9 100644
--- a/devel/m4/Makefile
+++ b/devel/m4/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	m4
 PORTVERSION=	1.4.19
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	devel
 MASTER_SITES=	GNU
@@ -15,6 +16,7 @@ USES=		cpe iconv tar:xz
 
 CONFIGURE_ARGS=	--program-prefix=g
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 EXAMPLESDIR=	${PREFIX}/share/examples/gm4
 
diff --git a/devel/m4/pkg-plist b/devel/m4/pkg-plist
index 76fa6d1723be..87ce1b9b55ed 100644
--- a/devel/m4/pkg-plist
+++ b/devel/m4/pkg-plist
@@ -1,5 +1,5 @@
 bin/gm4
-man/man1/gm4.1.gz
+share/man/man1/gm4.1.gz
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/capitalize.m4
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/capitalize2.m4
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comments.m4