git: 0695da6953c2 - main - shells: Move manpages to share/man

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Mon, 11 Mar 2024 20:27:07 UTC
The branch main has been updated by arrowd:

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

commit 0695da6953c26c3a427a92446932eabeabba9a8f
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-03-11 20:25:22 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-03-11 20:25:22 +0000

    shells: Move manpages to share/man
    
    Approved by:    portmgr (blanket)
---
 shells/dash/Makefile  |  4 +++-
 shells/rush/Makefile  |  2 ++
 shells/rush/pkg-plist | 10 +++++-----
 3 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/shells/dash/Makefile b/shells/dash/Makefile
index 35b92c721192..58c6c09140a1 100644
--- a/shells/dash/Makefile
+++ b/shells/dash/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	dash
 PORTVERSION=	0.5.12
+PORTREVISION=	1
 CATEGORIES=	shells
 MASTER_SITES=	http://gondor.apana.org.au/~herbert/dash/files/
 
@@ -11,6 +12,7 @@ LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 # SIGRTMAX is larger than NSIG*2 which mksignames.c does not support.  Just
 # disable RT signal handling.
 CFLAGS+=	-DUNUSABLE_RT_SIGNALS
@@ -18,7 +20,7 @@ CFLAGS+=	-DUNUSABLE_RT_SIGNALS
 USES=		cpe gmake
 
 PLIST_FILES=	bin/dash \
-		man/man1/dash.1.gz
+		share/man/man1/dash.1.gz
 PORTDOCS=	ChangeLog
 
 OPTIONS_DEFINE=	DOCS
diff --git a/shells/rush/Makefile b/shells/rush/Makefile
index c82d922e298f..54bbc1f45765 100644
--- a/shells/rush/Makefile
+++ b/shells/rush/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	rush
 DISTVERSION=	2.3
+PORTREVISION=	1
 CATEGORIES=	shells
 MASTER_SITES=	GNU
 
@@ -15,6 +16,7 @@ USES=		cpe gettext-runtime gmake tar:xz
 CPE_VENDOR=	gnu
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 INFO=		${PORTNAME}
 
diff --git a/shells/rush/pkg-plist b/shells/rush/pkg-plist
index 9a3d2b770c11..44170b1fd4fd 100644
--- a/shells/rush/pkg-plist
+++ b/shells/rush/pkg-plist
@@ -2,11 +2,6 @@ bin/rush-po
 bin/rushlast
 bin/rushwho
 etc/rush.rc
-man/man1/rush-po.1.gz
-man/man1/rushlast.1.gz
-man/man1/rushwho.1.gz
-man/man5/rush.rc.5.gz
-man/man8/rush.8.gz
 sbin/rush
 share/locale/da/LC_MESSAGES/rush.mo
 share/locale/de/LC_MESSAGES/rush.mo
@@ -22,3 +17,8 @@ share/locale/sv/LC_MESSAGES/rush.mo
 share/locale/uk/LC_MESSAGES/rush.mo
 share/locale/vi/LC_MESSAGES/rush.mo
 share/locale/zh_CN/LC_MESSAGES/rush.mo
+share/man/man1/rush-po.1.gz
+share/man/man1/rushlast.1.gz
+share/man/man1/rushwho.1.gz
+share/man/man5/rush.rc.5.gz
+share/man/man8/rush.8.gz