git: 4e8374e10c1a - main - sysutils/finfo: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Sat, 16 Mar 2024 19:42:42 UTC
The branch main has been updated by naddy:

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

commit 4e8374e10c1ac45a5bbca1a47f8e7406687e0137
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-16 19:42:04 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-16 19:42:04 +0000

    sysutils/finfo: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/finfo/Makefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/sysutils/finfo/Makefile b/sysutils/finfo/Makefile
index 1c4e01449d78..faf28362d052 100644
--- a/sysutils/finfo/Makefile
+++ b/sysutils/finfo/Makefile
@@ -1,18 +1,21 @@
 PORTNAME=	finfo
 PORTVERSION=	0.1
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://freebsdcluster.org/~mich/software/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Finfo displays potentially useful information about a file
 
-PLIST_FILES=	bin/finfo man/man1/finfo.1.gz
+PLIST_FILES=	bin/finfo share/man/man1/finfo.1.gz
 
 do-build:
 	(cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c)
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1.gz ${STAGEDIR}${PREFIX}/man/man1/
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
+		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1.gz \
+		${STAGEDIR}${PREFIX}/share/man/man1/
 
 .include <bsd.port.mk>