git: 4df367060538 - main - devel/ccache: Install man pages under share/man

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Tue, 05 Mar 2024 03:52:05 UTC
The branch main has been updated by jrm:

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

commit 4df367060538d835b85c59021d42b00d5d8d1ee1
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2024-03-05 03:49:30 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2024-03-05 03:51:52 +0000

    devel/ccache: Install man pages under share/man
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 devel/ccache/Makefile  | 4 ++--
 devel/ccache/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/devel/ccache/Makefile b/devel/ccache/Makefile
index 42a5a0b93f77..aa23e58fd1d8 100644
--- a/devel/ccache/Makefile
+++ b/devel/ccache/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ccache
 PORTVERSION=	3.7.12
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	devel
 MASTER_SITES=	https://github.com/ccache/ccache/releases/download/v${DISTVERSION}/ \
 		LOCAL/bdrewery
@@ -68,7 +68,7 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/ccache ${STAGEDIR}${PREFIX}/bin
 	# Memcached uses the 3.5 dev branch which requires asciidoc to generate
 	# ccache.1.
-	${INSTALL_MAN} ${WRKSRC}/doc/ccache.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/ccache.1 ${STAGEDIR}${PREFIX}/share/man/man1
 	${MKDIR} ${STAGEDIR}${PREFIX}/${CCLINKDIR}/world
 	${INSTALL_SCRIPT} ${WRKDIR}/world-ccache \
 		${STAGEDIR}${PREFIX}/${CCLINKDIR}/world/ccache
diff --git a/devel/ccache/pkg-plist b/devel/ccache/pkg-plist
index c3327694fe5a..ebe26d1a3220 100644
--- a/devel/ccache/pkg-plist
+++ b/devel/ccache/pkg-plist
@@ -1,6 +1,6 @@
 bin/ccache
 bin/ccache-update-links
-man/man1/ccache.1.gz
+share/man/man1/ccache.1.gz
 %%CCLINKDIR%%/world/ccache
 %%TINDERBOX%%%%DATADIR%%/ccache.tar
 @postexec echo "Create compiler links..."