git: c2ecc0e689ce - main - net-mgmt/cnagios: Moved man to share/man

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

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

commit c2ecc0e689cef73907788532b202e9a409ba0923
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 22:13:09 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 22:17:45 +0000

    net-mgmt/cnagios: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 net-mgmt/cnagios/Makefile                | 4 ++--
 net-mgmt/cnagios/files/patch-Makefile.in | 2 +-
 net-mgmt/cnagios/pkg-plist               | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-mgmt/cnagios/Makefile b/net-mgmt/cnagios/Makefile
index 6e639bddaafe..1e32e619f56c 100644
--- a/net-mgmt/cnagios/Makefile
+++ b/net-mgmt/cnagios/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	cnagios
 PORTVERSION=	0.33
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net-mgmt
 
 MAINTAINER=	danny@dannywarren.com
@@ -26,7 +26,7 @@ CONFLICTS_INSTALL=	cnagios-nagios* # bin/cnagios
 
 NAGIOSDIR?=	/var/spool/nagios
 ETCDIR=		${PREFIX}/etc/nagios
-GNU_CONFIGURE=	YES
+GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-etc-dir="${ETCDIR}" \
 		--with-var-dir="${NAGIOSDIR}" \
 		--with-status-file="${NAGIOSDIR}/status.dat" \
diff --git a/net-mgmt/cnagios/files/patch-Makefile.in b/net-mgmt/cnagios/files/patch-Makefile.in
index 636749a7ac5e..e4af6c80c3b6 100644
--- a/net-mgmt/cnagios/files/patch-Makefile.in
+++ b/net-mgmt/cnagios/files/patch-Makefile.in
@@ -38,7 +38,7 @@
 -	  $(INSTALL) -c -m 644 cnagios.pl @NAGIOS_ETC_DIR@/cnagios.pl.NEW ; \
 -	fi
 +	$(INSTALL) -c -m 755 cnagios $(DESTDIR)@prefix@/bin/cnagios
-+	$(INSTALL) -c -m 444 cnagios.1 $(DESTDIR)@prefix@/man/man1/cnagios.1
++	$(INSTALL) -c -m 444 cnagios.1 $(DESTDIR)@prefix@/share/man/man1/cnagios.1
 +	$(INSTALL) -c -m 644 cnagiosrc $(DESTDIR)@NAGIOS_ETC_DIR@/cnagiosrc.sample
 +	$(INSTALL) -c -m 644 cnagios.help $(DESTDIR)@NAGIOS_ETC_DIR@/cnagios.help.sample
 +	$(INSTALL) -c -m 644 cnagios.pl $(DESTDIR)@NAGIOS_ETC_DIR@/cnagios.pl.sample
diff --git a/net-mgmt/cnagios/pkg-plist b/net-mgmt/cnagios/pkg-plist
index 5ac794a5a8cb..56337dafe0a9 100644
--- a/net-mgmt/cnagios/pkg-plist
+++ b/net-mgmt/cnagios/pkg-plist
@@ -2,4 +2,4 @@ bin/cnagios
 @sample %%ETCDIR%%/cnagios.help.sample
 @sample %%ETCDIR%%/cnagios.pl.sample
 @sample %%ETCDIR%%/cnagiosrc.sample
-man/man1/cnagios.1.gz
+share/man/man1/cnagios.1.gz