git: 7f8cefca3c51 - main - multimedia/w_scan2: move manpages to share/man

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Thu, 22 Feb 2024 21:35:55 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7f8cefca3c51d9a53d5ccfe25bc514038735ccfe

commit 7f8cefca3c51d9a53d5ccfe25bc514038735ccfe
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-02-22 21:33:39 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-02-22 21:33:39 +0000

    multimedia/w_scan2: move manpages to share/man
---
 multimedia/w_scan2/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/multimedia/w_scan2/Makefile b/multimedia/w_scan2/Makefile
index 46b244d1de86..fd3d5829380e 100644
--- a/multimedia/w_scan2/Makefile
+++ b/multimedia/w_scan2/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	w_scan2
 PORTVERSION=	1.0.15
+PORTREVISION=	1
 CATEGORIES=	multimedia
 
 MAINTAINER=	rene@FreeBSD.org
@@ -12,6 +13,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 BUILD_DEPENDS=	v4l_compat>=1.0.20120501:multimedia/v4l_compat
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 USES=		autoreconf gettext iconv localbase
 LDFLAGS+=	${ICONV_LIB}
 
@@ -20,7 +22,7 @@ GH_ACCOUNT=	stefantalpalaru
 
 PORTDOCS=	COPYING ChangeLog README.md
 PLIST_FILES=	bin/${PORTNAME} \
-		man/man1/${PORTNAME}.1.gz
+		share/man/man1/${PORTNAME}.1.gz
 
 OPTIONS_DEFINE=	DOCS