git: baa96d4729d7 - main - net-p2p/bitcoin-utils: Move manpages to share/man

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Mon, 25 Mar 2024 18:57:37 UTC
The branch main has been updated by arrowd:

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

commit baa96d4729d7b8c6bdc4e02129849ada8cc54ad3
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-03-25 18:55:20 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-03-25 18:55:20 +0000

    net-p2p/bitcoin-utils: Move manpages to share/man
    
    Approved by:    portmgr (blanket)
---
 net-p2p/bitcoin-utils/Makefile | 4 ++--
 net-p2p/bitcoin/Makefile       | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/net-p2p/bitcoin-utils/Makefile b/net-p2p/bitcoin-utils/Makefile
index 3a5ff4a70410..c9e58a91c339 100644
--- a/net-p2p/bitcoin-utils/Makefile
+++ b/net-p2p/bitcoin-utils/Makefile
@@ -16,7 +16,7 @@ CONFIGURE_ARGS=	--without-daemon \
 		--disable-wallet
 
 PLIST_FILES=	bin/bitcoin-cli bin/bitcoin-tx bin/bitcoin-util \
-		man/man1/bitcoin-cli.1.gz man/man1/bitcoin-tx.1.gz \
-		man/man1/bitcoin-util.1.gz
+		share/man/man1/bitcoin-cli.1.gz share/man/man1/bitcoin-tx.1.gz \
+		share/man/man1/bitcoin-util.1.gz
 
 .include "${MASTERDIR}/Makefile"
diff --git a/net-p2p/bitcoin/Makefile b/net-p2p/bitcoin/Makefile
index af7e36e50862..9650bd02b429 100644
--- a/net-p2p/bitcoin/Makefile
+++ b/net-p2p/bitcoin/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	bitcoin
 PORTVERSION=	26.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net-p2p finance
 MASTER_SITES=	https://bitcoincore.org/bin/bitcoin-core-${PORTVERSION}/ \
 		LOCAL/swills:icon
@@ -20,6 +20,7 @@ LIB_DEPENDS=	libboost_date_time.so:devel/boost-libs \
 USES=		autoreconf compiler:c++11-lib cpe gmake libtool pkgconfig qt:5 shebangfix
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 SLAVE_PORT?=	no