git: a16b2ff25303 - main - net/portfwd: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Wed, 20 Mar 2024 17:15:30 UTC
The branch main has been updated by eduardo:

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

commit a16b2ff25303db15c01d73c2e7f99a3268c1429c
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-20 17:02:20 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-20 17:15:04 +0000

    net/portfwd: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 net/portfwd/Makefile  | 3 ++-
 net/portfwd/pkg-plist | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/net/portfwd/Makefile b/net/portfwd/Makefile
index 2ae0ea3f6860..3915f8ac697c 100644
--- a/net/portfwd/Makefile
+++ b/net/portfwd/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	portfwd
 PORTVERSION=	0.29
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net
 MASTER_SITES=	SF
 
@@ -14,6 +14,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 USES=		autoreconf gmake
 USE_RC_SUBR=	${PORTNAME}
 
diff --git a/net/portfwd/pkg-plist b/net/portfwd/pkg-plist
index 775d112209f2..ef2150ead841 100644
--- a/net/portfwd/pkg-plist
+++ b/net/portfwd/pkg-plist
@@ -1,6 +1,4 @@
 sbin/portfwd
-man/man5/portfwd.cfg.5.gz
-man/man8/portfwd.8.gz
 %%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/CREDITS
 %%PORTDOCS%%%%DOCSDIR%%/FAQ
@@ -25,3 +23,5 @@ man/man8/portfwd.8.gz
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.cfg
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/udp.cfg
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/x.cfg
+share/man/man5/portfwd.cfg.5.gz
+share/man/man8/portfwd.8.gz