git: 44aee009a758 - main - graphics/visprint: Move man pages to share/man

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

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

commit 44aee009a758804c5280363d3586d132bbed9760
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-16 15:06:28 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-16 15:06:28 +0000

    graphics/visprint: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 graphics/visprint/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/graphics/visprint/Makefile b/graphics/visprint/Makefile
index e0be41182c27..072655b06f99 100644
--- a/graphics/visprint/Makefile
+++ b/graphics/visprint/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	visprint
 PORTVERSION=	2.1
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.tastyrabbit.net/visprint/download/
 
@@ -13,7 +13,7 @@ LIB_DEPENDS=	libpng.so:graphics/png
 CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib -lpng
 
-PLIST_FILES=	bin/visprint man/man1/visprint.1.gz
+PLIST_FILES=	bin/visprint share/man/man1/visprint.1.gz
 
 do-build:
 	(cd ${WRKSRC} && ${CC} ${CFLAGS} -c visprint.c)
@@ -21,6 +21,7 @@ do-build:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/visprint ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/visprint.1.gz ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/visprint.1.gz \
+		${STAGEDIR}${PREFIX}/share/man/man1
 
 .include <bsd.port.mk>