git: 1c5304f954d6 - main - sysutils/cpufetch: Move man to share/man

From: Joel Bodenmann <jbo_at_FreeBSD.org>
Date: Sat, 24 Feb 2024 19:21:39 UTC
The branch main has been updated by jbo:

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

commit 1c5304f954d69d5258b042b193e3e0535c5d24b9
Author:     Joel Bodenmann <jbo@FreeBSD.org>
AuthorDate: 2024-02-24 19:07:34 +0000
Commit:     Joel Bodenmann <jbo@FreeBSD.org>
CommitDate: 2024-02-24 19:19:15 +0000

    sysutils/cpufetch: Move man to share/man
    
    Approved by:            zirias (mentor)
    Differential Revision:  https://reviews.freebsd.org/D44065
---
 sysutils/cpufetch/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sysutils/cpufetch/Makefile b/sysutils/cpufetch/Makefile
index d8401fee5782..af12fafcdf49 100644
--- a/sysutils/cpufetch/Makefile
+++ b/sysutils/cpufetch/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	cpufetch
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.05
+PORTREVISION=	1
 CATEGORIES=	sysutils
 
 MAINTAINER=	jbo@FreeBSD.org
@@ -10,7 +11,7 @@ WWW=		https://github.com/Dr-Noob/cpufetch
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-ONLY_FOR_ARCHS=	amd64 i386
+ONLY_FOR_ARCHS=		amd64 i386
 ONLY_FOR_ARCHS_REASON=	not yet ported to other architectures
 
 USES=		gmake
@@ -19,11 +20,11 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	Dr-Noob
 
 PLIST_FILES=	bin/cpufetch \
-		man/man1/cpufetch.1.gz
+		share/man/man1/cpufetch.1.gz
 
 # Custom install as upstream uses invalid -Dm755 and -Dm644 instead of ${INSTALL_PROGRAM} and ${INSTALL_DATA} accordingly.
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/cpufetch ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/cpufetch.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/cpufetch.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 .include <bsd.port.mk>