aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-24 22:13:09 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-24 22:17:45 +0000
commitc2ecc0e689cef73907788532b202e9a409ba0923 (patch)
treeeac46fca65f0021e230702b0d0c177700a1abd2a
parentea9cf2bcd93698d97575cc8dbc04a0a73a39d54d (diff)
downloadports-c2ecc0e689cef73907788532b202e9a409ba0923.tar.gz
ports-c2ecc0e689cef73907788532b202e9a409ba0923.zip
net-mgmt/cnagios: Moved man to share/man
Approved by: portmgr (blanket)
-rw-r--r--net-mgmt/cnagios/Makefile4
-rw-r--r--net-mgmt/cnagios/files/patch-Makefile.in2
-rw-r--r--net-mgmt/cnagios/pkg-plist2
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