git: b48bdf22d767 - main - net-p2p/litecoin*: Moved man to share/man

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

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

commit b48bdf22d76760b55e335c9d48c29cb95122df7f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 20:45:52 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 21:40:40 +0000

    net-p2p/litecoin*: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 net-p2p/litecoin-daemon/Makefile | 4 ++--
 net-p2p/litecoin-utils/Makefile  | 6 +++---
 net-p2p/litecoin/Makefile        | 5 +++--
 3 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/net-p2p/litecoin-daemon/Makefile b/net-p2p/litecoin-daemon/Makefile
index 5b241dbc8b7e..86dc55a99c3f 100644
--- a/net-p2p/litecoin-daemon/Makefile
+++ b/net-p2p/litecoin-daemon/Makefile
@@ -1,5 +1,5 @@
 MASTERDIR=	${.CURDIR}/../litecoin
-PORTREVISION=	6
+PORTREVISION=	7
 PKGNAMESUFFIX=	-daemon
 
 COMMENT=	Virtual Peer-to-Peer Currency (Daemon)
@@ -22,7 +22,7 @@ CONFIGURE_ARGS=	--with-daemon \
 		--without-utils
 
 PLIST_FILES=	bin/litecoind
-PLIST_FILES+=	man/man1/litecoind.1.gz
+PLIST_FILES+=	share/man/man1/litecoind.1.gz
 PLIST_FILES+=	"@sample etc/litecoin.conf.sample"
 
 USE_RC_SUBR=	litecoind
diff --git a/net-p2p/litecoin-utils/Makefile b/net-p2p/litecoin-utils/Makefile
index 697cf6753e9a..905272a34909 100644
--- a/net-p2p/litecoin-utils/Makefile
+++ b/net-p2p/litecoin-utils/Makefile
@@ -1,5 +1,5 @@
 MASTERDIR=	${.CURDIR}/../litecoin
-PORTREVISION=	6
+PORTREVISION=	7
 PKGNAMESUFFIX=	-utils
 
 COMMENT=	Virtual Peer-to-Peer Currency (CLI and Utilities)
@@ -19,8 +19,8 @@ CONFIGURE_ARGS=	--without-daemon \
 		--disable-wallet
 
 PLIST_FILES=	bin/litecoin-cli bin/litecoin-tx \
-		man/man1/litecoin-cli.1.gz man/man1/litecoin-tx.1.gz \
+		share/man/man1/litecoin-cli.1.gz share/man/man1/litecoin-tx.1.gz \
 		bin/litecoin-wallet \
-		man/man1/litecoin-wallet.1.gz
+		share/man/man1/litecoin-wallet.1.gz
 
 .include "${MASTERDIR}/Makefile"
diff --git a/net-p2p/litecoin/Makefile b/net-p2p/litecoin/Makefile
index deb4e129bbef..6b9ca7da5917 100644
--- a/net-p2p/litecoin/Makefile
+++ b/net-p2p/litecoin/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	litecoin
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.21.2.1
-PORTREVISION=	9
+PORTREVISION=	10
 CATEGORIES=	net-p2p finance
 
 MAINTAINER=	hsw@bitmark.com
@@ -18,6 +18,7 @@ USES=		autoreconf compiler:c++11-lib cpe gmake libtool localbase pkgconfig qt:5
 
 USE_GITHUB=	yes
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 SLAVE_PORT?=	no
 
@@ -79,7 +80,7 @@ CONFIGURE_ENV=	CRYPTO_CFLAGS="-I${OPENSSLINC}" CRYPTO_LIBS="-L${OPENSSLLIB} -lcr
 		OBJCXX="${CXX}" OBJCXXFLAGS="${CXXFLAGS}"
 MAKE_ENV+=	V=1
 
-PLIST_FILES?=	bin/litecoin-qt man/man1/litecoin-qt.1.gz \
+PLIST_FILES?=	bin/litecoin-qt share/man/man1/litecoin-qt.1.gz \
 		share/applications/litecoin-qt.desktop share/pixmaps/litecoin.png
 
 .include <bsd.port.options.mk>