git: d4142a014042 - main - www/man2web: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 13:15:39 UTC
The branch main has been updated by bofh:

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

commit d4142a014042050eb464d69b73a0509eff0d0036
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 12:56:17 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 13:15:10 +0000

    www/man2web: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 www/man2web/Makefile  | 5 +++--
 www/man2web/pkg-plist | 4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/www/man2web/Makefile b/www/man2web/Makefile
index de020d2ddd72..ed8051500ccc 100644
--- a/www/man2web/Makefile
+++ b/www/man2web/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	man2web
 PORTVERSION=	0.88
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
@@ -13,9 +13,10 @@ LICENSE_FILE=	${WRKSRC}/doc/GPL
 
 USES=		cpe
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--bindir="${PREFIX}/${CGIDIR}" \
 		--sysconfdir="${PREFIX}/etc" \
-		--with-manpath=/usr/share/man:${LOCALBASE}/man \
+		--with-manpath=/usr/share/man:${LOCALBASE}/share/man \
 		--with-distro=freebsd --enable-lynx
 
 CGIDIR=		www/cgi-bin
diff --git a/www/man2web/pkg-plist b/www/man2web/pkg-plist
index 473adff61b3b..adf59a29a119 100644
--- a/www/man2web/pkg-plist
+++ b/www/man2web/pkg-plist
@@ -1,5 +1,5 @@
 bin/man2web
 etc/man2web.conf.default
-man/man1/man2web.1.gz
-man/man5/man2web.conf.5.gz
+share/man/man1/man2web.1.gz
+share/man/man5/man2web.conf.5.gz
 %%CGIDIR%%/man2web