git: d3282f7abaa9 - main - devel/cppi: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 23 Feb 2024 10:02:05 UTC
The branch main has been updated by bofh:

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

commit d3282f7abaa9bd8e34a0a03ad11a39f944589142
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-23 09:15:20 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-23 10:01:31 +0000

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

diff --git a/devel/cppi/Makefile b/devel/cppi/Makefile
index 074a394ddcd7..14f0f4ed78d8 100644
--- a/devel/cppi/Makefile
+++ b/devel/cppi/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	cppi
 PORTVERSION=	1.18
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 MASTER_SITES=	GNU
 
@@ -9,6 +9,7 @@ COMMENT=	Tool to indent the C preprocessor directives
 
 USES=		charsetfix gmake tar:xz	# gmake is needed for -jX builds
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CPPFLAGS+=	-I${LOCALBASE}/include
 
 OPTIONS_DEFINE=	NLS
diff --git a/devel/cppi/pkg-plist b/devel/cppi/pkg-plist
index aea713bb35ef..3e4544a135c4 100644
--- a/devel/cppi/pkg-plist
+++ b/devel/cppi/pkg-plist
@@ -1,5 +1,5 @@
 bin/cppi
-man/man1/cppi.1.gz
+share/man/man1/cppi.1.gz
 %%NLS%%share/locale/de/LC_MESSAGES/cppi.mo
 %%NLS%%share/locale/eo/LC_MESSAGES/cppi.mo
 %%NLS%%share/locale/fi/LC_MESSAGES/cppi.mo