git: e365920345f9 - main - sysutils/npmount: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Fri, 22 Mar 2024 20:18:38 UTC
The branch main has been updated by eduardo:

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

commit e365920345f95db63126d51cdb689a8e98b3d085
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-22 18:40:37 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-22 20:18:17 +0000

    sysutils/npmount: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/npmount/Makefile  | 3 +++
 sysutils/npmount/pkg-plist | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/sysutils/npmount/Makefile b/sysutils/npmount/Makefile
index b8cdd17462a3..caecd187a145 100644
--- a/sysutils/npmount/Makefile
+++ b/sysutils/npmount/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	npmount
 DISTVERSION=	0.1.1-3
 DISTVERSIONSUFFIX=	-ge0c8050
+PORTREVISION=	1
 CATEGORIES=	sysutils
 
 MAINTAINER=	jwb@FreeBSD.org
@@ -16,6 +17,8 @@ LIB_DEPENDS=	libxtend.so:devel/libxtend
 USE_GITHUB=	yes
 GH_ACCOUNT=	outpaddling
 
+MAKE_ENV=	MANDIR=${PREFIX}/share/man
+
 WITH_DEBUG=	yes
 
 .include <bsd.port.mk>
diff --git a/sysutils/npmount/pkg-plist b/sysutils/npmount/pkg-plist
index c29f83af97c2..80797115c706 100644
--- a/sysutils/npmount/pkg-plist
+++ b/sysutils/npmount/pkg-plist
@@ -2,4 +2,4 @@
 bin/npmount
 @mode
 @sample %%ETCDIR%%.conf.sample
-man/man1/npmount.1.gz
+share/man/man1/npmount.1.gz