git: c04291a5840b - main - devel/newt: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 31 Jan 2024 12:59:50 UTC
The branch main has been updated by bofh:

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

commit c04291a5840b2863be8bff4e02df1c3cf44bbea8
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-31 12:10:04 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-31 12:58:44 +0000

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

diff --git a/devel/newt/Makefile b/devel/newt/Makefile
index a02a269f3a99..83b24b8618c9 100644
--- a/devel/newt/Makefile
+++ b/devel/newt/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	newt
 PORTVERSION=	0.52.22
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	https://releases.pagure.org/newt/
 
@@ -16,6 +17,7 @@ LIB_DEPENDS=	libpopt.so:devel/popt \
 USES=		autoreconf gmake localbase ncurses pathfix
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 MAKE_ENV=	PCFLAGS="${CFLAGS}"
 MAKE_JOBS_UNSAFE=	yes
 
diff --git a/devel/newt/pkg-plist b/devel/newt/pkg-plist
index 35a05535ba6d..2ec68e0757da 100644
--- a/devel/newt/pkg-plist
+++ b/devel/newt/pkg-plist
@@ -9,7 +9,7 @@ lib/libnewt.so.%%VERSION%%
 %%TCL%%lib/whip%%VERSION%%/pkgIndex.tcl
 %%TCL%%lib/whip%%VERSION%%/whiptcl.so
 libdata/pkgconfig/libnewt.pc
-man/man1/whiptail.1.gz
+share/man/man1/whiptail.1.gz
 %%NLS%%share/locale/ar/LC_MESSAGES/newt.mo
 %%NLS%%share/locale/as/LC_MESSAGES/newt.mo
 %%NLS%%share/locale/ast/LC_MESSAGES/newt.mo