git: e53e89a5089c - main - shells/wcd: Moved man to share/man

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

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

commit e53e89a5089c201b345e4a81595dd25bcabe6b40
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 13:49:44 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 14:30:19 +0000

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

diff --git a/shells/wcd/Makefile b/shells/wcd/Makefile
index 61426bb47a20..a6d12b62c44f 100644
--- a/shells/wcd/Makefile
+++ b/shells/wcd/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	wcd
 DISTVERSION=	6.0.5
+PORTREVISION=	1
 CATEGORIES=	shells
 MASTER_SITES=	SF
 
@@ -14,7 +15,7 @@ USES=		gmake ncurses
 MAKE_ARGS=	docsubdir=${PORTNAME} \
 		EXT= \
 		LIB_CURSES=-l${NCURSES_IMPL} \
-		mandir=${PREFIX}/man \
+		mandir=${PREFIX}/share/man \
 		PREFIX=${PREFIX}
 CFLAGS+=	-I${NCURSESINC}
 
@@ -25,8 +26,7 @@ NLS_USES=		gettext
 NLS_MAKE_ARGS_OFF=	ENABLE_NLS=
 
 post-patch:
-	@${REINPLACE_CMD} -e '/manfile/ s|datarootdir|prefix|' \
-		-e 's|/usr/local|${LOCALBASE}|' \
+	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
 		${WRKSRC}/src/Makefile
 
 post-install:
diff --git a/shells/wcd/pkg-plist b/shells/wcd/pkg-plist
index 6930376c588a..e30552f5d176 100644
--- a/shells/wcd/pkg-plist
+++ b/shells/wcd/pkg-plist
@@ -1,13 +1,13 @@
 bin/wcd
-%%NLS%%man/de/man1/wcd.1.gz
-man/fr/man1/wcd.1.gz
-man/sr/man1/wcd.1.gz
-man/ro/man1/wcd.1.gz
-man/sv/man1/wcd.1.gz
-man/man1/wcd.1.gz
-%%NLS%%man/nl/man1/wcd.1.gz
-%%NLS%%man/pt_BR/man1/wcd.1.gz
-%%NLS%%man/uk/man1/wcd.1.gz
+%%NLS%%share/man/de/man1/wcd.1.gz
+share/man/fr/man1/wcd.1.gz
+share/man/sr/man1/wcd.1.gz
+share/man/ro/man1/wcd.1.gz
+share/man/sv/man1/wcd.1.gz
+share/man/man1/wcd.1.gz
+%%NLS%%share/man/nl/man1/wcd.1.gz
+%%NLS%%share/man/pt_BR/man1/wcd.1.gz
+%%NLS%%share/man/uk/man1/wcd.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/INSTALL.txt
 %%PORTDOCS%%%%DOCSDIR%%/README.txt
 %%PORTDOCS%%%%DOCSDIR%%/UNIX.txt