git: 6e1ae8619add - main - net-p2p/btpd: Move man pages to share/man

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

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

commit 6e1ae8619addd9d7e40036f6de4bb41c938be488
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-20 13:42:50 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-20 14:04:20 +0000

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

diff --git a/net-p2p/btpd/Makefile b/net-p2p/btpd/Makefile
index 9b807e735902..ddd8681d3ee3 100644
--- a/net-p2p/btpd/Makefile
+++ b/net-p2p/btpd/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	btpd
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.16
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	net-p2p
 
 MAINTAINER=	mat@FreeBSD.org
@@ -20,6 +20,7 @@ USE_GITHUB=	yes
 USE_RC_SUBR=	btpd
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ARGS=	--with-openssl=${OPENSSLBASE}
 
 OPTIONS_DEFINE=	DOCS
diff --git a/net-p2p/btpd/pkg-plist b/net-p2p/btpd/pkg-plist
index e993bd9f6321..c574ccedc453 100644
--- a/net-p2p/btpd/pkg-plist
+++ b/net-p2p/btpd/pkg-plist
@@ -1,7 +1,7 @@
 bin/btcli
 bin/btinfo
 bin/btpd
-man/man1/btcli.1.gz
-man/man1/btinfo.1.gz
-man/man1/btpd.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/README
+share/man/man1/btcli.1.gz
+share/man/man1/btinfo.1.gz
+share/man/man1/btpd.1.gz