git: 3384bf4452fc - main - net-mgmt/ndpmon: move man to share/man

From: Kurt Jaeger <pi_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 20:43:32 UTC
The branch main has been updated by pi:

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

commit 3384bf4452fc10561c818057a5185ad343f65978
Author:     Kurt Jaeger <pi@FreeBSD.org>
AuthorDate: 2024-02-26 20:43:12 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2024-02-26 20:43:12 +0000

    net-mgmt/ndpmon: move man to share/man
---
 net-mgmt/ndpmon/Makefile  | 5 +++--
 net-mgmt/ndpmon/pkg-plist | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/net-mgmt/ndpmon/Makefile b/net-mgmt/ndpmon/Makefile
index f8b0598d02c7..fa6236b6e894 100644
--- a/net-mgmt/ndpmon/Makefile
+++ b/net-mgmt/ndpmon/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ndpmon
 PORTVERSION=	1.4.0
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	net-mgmt
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-1.4/
 
@@ -18,6 +18,7 @@ USE_GNOME=	libxml2
 USE_RC_SUBR=	ndpmonitor
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ENV=	OSTYPE=FreeBSD
 CONFIGURE_ARGS=	--with-var-datadir=${PREFIX}/var --with-confdir=${ETCDIR} \
 		--with-libxml2=${LOCALBASE} --cache-file=/dev/null
@@ -53,7 +54,7 @@ post-patch:
 .endif
 
 do-install:
-	${INSTALL_MAN} ${WRKSRC}/ndpmon.8 ${STAGEDIR}${PREFIX}/man/man8
+	${INSTALL_MAN} ${WRKSRC}/ndpmon.8 ${STAGEDIR}${PREFIX}/share/man/man8
 	${INSTALL_PROGRAM} ${WRKSRC}/ndpmon ${STAGEDIR}${PREFIX}/sbin
 
 	${MKDIR} ${STAGEDIR}${DATADIR}
diff --git a/net-mgmt/ndpmon/pkg-plist b/net-mgmt/ndpmon/pkg-plist
index 7ff37514843e..514b7e321f77 100644
--- a/net-mgmt/ndpmon/pkg-plist
+++ b/net-mgmt/ndpmon/pkg-plist
@@ -1,6 +1,6 @@
 %%ETCDIR%%/config_ndpmon.xml-dist
 sbin/ndpmon
-man/man8/ndpmon.8.gz
+share/man/man8/ndpmon.8.gz
 %%DATADIR%%/config_ndpmon.dtd
 %%DATADIR%%/demopipeprogram.pl.sample
 %%DATADIR%%/neighbor_list.dtd