git: dfaf097b7855 - main - shells/etsh: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 25 Feb 2024 13:46:22 UTC
The branch main has been updated by bofh:

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

commit dfaf097b7855d129f5b4f7f93e821d20929fb801
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 13:39:11 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 13:39:11 +0000

    shells/etsh: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 shells/etsh/Makefile  |  3 +++
 shells/etsh/pkg-plist | 12 ++++++------
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/shells/etsh/Makefile b/shells/etsh/Makefile
index 5581585ef085..88ebccf1203e 100644
--- a/shells/etsh/Makefile
+++ b/shells/etsh/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	etsh
 DISTVERSION=	5.4.0
+PORTREVISION=	1
 CATEGORIES=	shells
 MASTER_SITES=	https://etsh.nl/src/${PORTNAME}_${PORTVERSION}/
 
@@ -13,4 +14,6 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 HAS_CONFIGURE=	yes
 
+MAKE_ENV+=	MANDIR=${PREFIX}/share/man/man1
+
 .include <bsd.port.mk>
diff --git a/shells/etsh/pkg-plist b/shells/etsh/pkg-plist
index bfa8a0ad2d69..122bfb29b77c 100644
--- a/shells/etsh/pkg-plist
+++ b/shells/etsh/pkg-plist
@@ -14,9 +14,9 @@ libexec/etsh-5.4.0/tsh/fd2
 libexec/etsh-5.4.0/tsh/glob
 libexec/etsh-5.4.0/tsh/goto
 libexec/etsh-5.4.0/tsh/if
-man/man1/etsh.1.gz
-man/man1/fd2.1.gz
-man/man1/glob.1.gz
-man/man1/goto.1.gz
-man/man1/if.1.gz
-man/man1/tsh.1.gz
+share/man/man1/etsh.1.gz
+share/man/man1/fd2.1.gz
+share/man/man1/glob.1.gz
+share/man/man1/goto.1.gz
+share/man/man1/if.1.gz
+share/man/man1/tsh.1.gz