git: 316f4f389f03 - main - misc/tudu: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 24 Feb 2024 20:44:06 UTC
The branch main has been updated by bofh:

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

commit 316f4f389f039ac6d824dc7fcf6ec8387b45e290
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 20:32:57 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 20:43:21 +0000

    misc/tudu: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 misc/tudu/Makefile  | 2 ++
 misc/tudu/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/misc/tudu/Makefile b/misc/tudu/Makefile
index 4b9d038738b0..b14f35190389 100644
--- a/misc/tudu/Makefile
+++ b/misc/tudu/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	tudu
 PORTVERSION=	0.10.3
+PORTREVISION=	1
 CATEGORIES=	misc
 MASTER_SITES=	http://code.meskio.net/tudu/
 
@@ -11,6 +12,7 @@ LICENSE=	GPLv3
 
 USES=		ncurses
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 post-patch:
 	@${REINPLACE_CMD} -E 's|cd (.+) && (\$$\{MAKE\})|\2 -C \1|' \
diff --git a/misc/tudu/pkg-plist b/misc/tudu/pkg-plist
index 56b7cf3bca65..5d03bc6af6f5 100644
--- a/misc/tudu/pkg-plist
+++ b/misc/tudu/pkg-plist
@@ -1,5 +1,5 @@
 bin/tudu
 @sample etc/tudurc.sample
-man/man1/tudu.1.gz
+share/man/man1/tudu.1.gz
 %%DATADIR%%/tudu.dtd
 %%DATADIR%%/welcome.xml