git: 83edd06e2af5 - main - ports-mgmt/pkg_tree: moving manpages to share/man

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sat, 27 Jan 2024 10:53:03 UTC
The branch main has been updated by arrowd:

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

commit 83edd06e2af57b47c06c233a500c14e686724a40
Author:     Tatsuki Makino <tatsuki_makino@hotmail.com>
AuthorDate: 2024-01-21 12:00:00 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-01-27 10:52:25 +0000

    ports-mgmt/pkg_tree: moving manpages to share/man
    
    Approved by:    portmgr (blanket)
---
 ports-mgmt/pkg_tree/Makefile             | 4 ++--
 ports-mgmt/pkg_tree/files/patch-Makefile | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ports-mgmt/pkg_tree/Makefile b/ports-mgmt/pkg_tree/Makefile
index 7d339f5f146d..53aa24121fc7 100644
--- a/ports-mgmt/pkg_tree/Makefile
+++ b/ports-mgmt/pkg_tree/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	pkg_tree
 DISTVERSION=	1.1
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	https://www.mavetju.org/download/
 
@@ -15,6 +15,6 @@ USES=		perl5 shebangfix
 SHEBANG_FILES=	pkg_tree
 NO_ARCH=	yes
 PLIST_FILES=	bin/pkg_tree \
-		man/man7/pkg_tree.7.gz
+		share/man/man7/pkg_tree.7.gz
 
 .include <bsd.port.mk>
diff --git a/ports-mgmt/pkg_tree/files/patch-Makefile b/ports-mgmt/pkg_tree/files/patch-Makefile
index f60573f31a6a..c0a4bc6799f3 100644
--- a/ports-mgmt/pkg_tree/files/patch-Makefile
+++ b/ports-mgmt/pkg_tree/files/patch-Makefile
@@ -7,7 +7,7 @@
 -	install -o root -g wheel -m 755 -c pkg_tree /usr/local/bin
 -	install -o root -g wheel -m 644 -c pkg_tree.7 /usr/local/man/man7
 +	${BSD_INSTALL_SCRIPT} pkg_tree ${DESTDIR}${PREFIX}/bin
-+	${BSD_INSTALL_MAN} pkg_tree.7 ${DESTDIR}${PREFIX}/man/man7
++	${BSD_INSTALL_MAN} pkg_tree.7 ${DESTDIR}${PREFIX}/share/man/man7
  
  clean:
  	rm pkg_tree.7