git: 39af87bea82c - main - x11/nvidia-settings: Move man pages to share/man

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Tue, 05 Mar 2024 23:39:52 UTC
The branch main has been updated by vvd:

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

commit 39af87bea82cfc298d571ccf0aaf56c52a8d9ca4
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-03-05 21:46:47 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-03-05 23:35:47 +0000

    x11/nvidia-settings: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 x11/nvidia-settings/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11/nvidia-settings/Makefile b/x11/nvidia-settings/Makefile
index 357fe7a3e108..7ea664226465 100644
--- a/x11/nvidia-settings/Makefile
+++ b/x11/nvidia-settings/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	nvidia-settings
 PORTVERSION=	535.146.02
+PORTREVISION=	1
 CATEGORIES=	x11
 
 MAINTAINER=	x11@FreeBSD.org
@@ -28,9 +29,9 @@ GH_ACCOUNT=	NVIDIA
 
 PLIST_FILES=	bin/nvidia-settings \
 		libexec/nvidia-settings \
-		man/man1/nvidia-settings.1.gz \
 		lib/libnvidia-gtk3.so.${PORTVERSION} \
 		share/applications/nvidia-settings.desktop \
+		share/man/man1/nvidia-settings.1.gz \
 		share/pixmaps/nvidia-settings.png
 
 SUB_FILES=	nvidia-settings
@@ -45,7 +46,6 @@ MAKE_ENV=	NV_USE_BUNDLED_LIBJANSSON=0 \
 		XNVCTRL_LDFLAGS=-L${LOCALBASE}/lib
 
 post-patch:	.SILENT
-	${REINPLACE_CMD} -e '/^MANDIR/s|share/||' ${WRKSRC}/utils.mk
 	${REINPLACE_CMD} -E -e 's,__(PIXMAP|UTILS)_PATH__/,,' \
 		-e 's|__NVIDIA_SETTINGS_DESKTOP_CATEGORIES__|Settings;HardwareSettings;|' \
 		${WRKSRC}/doc/nvidia-settings.desktop