git: 5904e433a44c - main - devel/cgit: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 01 Feb 2024 20:15:05 UTC
The branch main has been updated by bofh:

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

commit 5904e433a44c9efa1705482edf55c7f1fd30d036
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-31 14:29:07 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-01 20:00:47 +0000

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

diff --git a/devel/cgit/Makefile b/devel/cgit/Makefile
index 0479bb8a9eab..6db5baa0f3b2 100644
--- a/devel/cgit/Makefile
+++ b/devel/cgit/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	cgit
 PORTVERSION=	1.2.3
+PORTREVISION=	1
 CATEGORIES=	devel www
 MASTER_SITES=	http://git.zx2c4.com/cgit/snapshot/:cgit \
 		KERNEL_ORG/software/scm/git:git
@@ -63,6 +64,6 @@ post-install-DOCS-on:
 
 post-install-ASCIIDOC-on:
 	a2x --doctype manpage --format manpage ${WRKSRC}/cgitrc.5.txt
-	${INSTALL_MAN} ${WRKSRC}/cgitrc.5 ${STAGEDIR}${PREFIX}/man/man5
+	${INSTALL_MAN} ${WRKSRC}/cgitrc.5 ${STAGEDIR}${PREFIX}/share/man/man5
 
 .include <bsd.port.mk>
diff --git a/devel/cgit/pkg-plist b/devel/cgit/pkg-plist
index 765565f06062..be7f25d8dc10 100644
--- a/devel/cgit/pkg-plist
+++ b/devel/cgit/pkg-plist
@@ -13,7 +13,7 @@ lib/cgit/filters/owner-example.lua
 lib/cgit/filters/simple-authentication.lua
 lib/cgit/filters/syntax-highlighting.py
 lib/cgit/filters/syntax-highlighting.sh
-%%ASCIIDOC%%man/man5/cgitrc.5.gz
+%%ASCIIDOC%%share/man/man5/cgitrc.5.gz
 %%WWWDIR%%/cgit.cgi
 %%WWWDIR%%/cgit.css
 %%WWWDIR%%/cgit.png