git: fca8fe7dde71 - main - devel/coccinelle: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 05:44:35 UTC
The branch main has been updated by bofh:

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

commit fca8fe7dde71dc49b13c6e46d518e7ec2b1bf0b9
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 19:06:52 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 05:15:56 +0000

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

diff --git a/devel/coccinelle/Makefile b/devel/coccinelle/Makefile
index 3b7663c2bf58..99533970bc10 100644
--- a/devel/coccinelle/Makefile
+++ b/devel/coccinelle/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	coccinelle
 PORTVERSION=	1.1.1
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	ports@FreeBSD.org
@@ -22,6 +23,7 @@ BINARY_ALIAS=	make=${LOCALBASE}/bin/gmake
 SHEBANG_FILES=	tools/pycocci
 USE_PERL5=	build
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ENV=	PYTHON="${PYTHON_CMD}" PYVER="${PYTHON_VER}"
 MAKE_ARGS=	PYTHON_VERSION="${PYTHON_VER}"
 
diff --git a/devel/coccinelle/pkg-plist b/devel/coccinelle/pkg-plist
index f5d15e871d96..0fab15a46a90 100644
--- a/devel/coccinelle/pkg-plist
+++ b/devel/coccinelle/pkg-plist
@@ -63,8 +63,8 @@ lib/coccinelle/python/coccilib/trac.py
 lib/coccinelle/python/coccilib/xml_firehose.py
 lib/coccinelle/standard.h
 lib/coccinelle/standard.iso
-man/man1/pycocci.1.gz
-man/man1/spatch.1.gz
-man/man1/spgen.1.gz
-man/man3/Coccilib.3cocci.gz
+share/man/man1/pycocci.1.gz
+share/man/man1/spatch.1.gz
+share/man/man1/spgen.1.gz
+share/man/man3/Coccilib.3cocci.gz
 share/bash-completion/completions/spatch