diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2012-05-29 21:13:41 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2012-05-29 21:13:41 +0000 |
commit | 99b06f2bb5186382838b530174ef1bda840477ec (patch) | |
tree | d22c803bbb15484674d06eee784d8bceeff23fe5 /net-mgmt/cnagios/files | |
parent | f184d715f51b28b37333f89b2200b4ab1c72db55 (diff) | |
download | ports-99b06f2bb5186382838b530174ef1bda840477ec.tar.gz ports-99b06f2bb5186382838b530174ef1bda840477ec.zip |
Notes
Diffstat (limited to 'net-mgmt/cnagios/files')
-rw-r--r-- | net-mgmt/cnagios/files/patch-Makefile.in | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/net-mgmt/cnagios/files/patch-Makefile.in b/net-mgmt/cnagios/files/patch-Makefile.in new file mode 100644 index 000000000000..689b03fbbae7 --- /dev/null +++ b/net-mgmt/cnagios/files/patch-Makefile.in @@ -0,0 +1,48 @@ +--- Makefile.in.orig 2011-03-28 17:45:52.000000000 +0200 ++++ Makefile.in 2012-05-25 19:38:11.948782413 +0200 +@@ -27,39 +27,20 @@ + + + install: +- @if [ -f @prefix@/bin/cnagios ]; then \ +- echo mv @prefix@/bin/cnagios @prefix@/bin/cnagios.OLD ; \ +- mv @prefix@/bin/cnagios @prefix@/bin/cnagios.OLD ; \ +- fi + @echo installing cnagios in @prefix@/bin + @$(INSTALL) -c -m 755 cnagios @prefix@/bin/cnagios + + @echo installing cnagios.1 in @prefix@/man/man1 + @$(INSTALL) -c -m 755 cnagios.1 @prefix@/man/man1/cnagios.1 + +- @if [ ! -f @NAGIOS_ETC_DIR@/cnagiosrc ]; then \ +- echo installing cnagiosrc in @NAGIOS_ETC_DIR@ ; \ +- $(INSTALL) -c -m 644 cnagiosrc @NAGIOS_ETC_DIR@/cnagiosrc ; \ +- else \ +- echo installing cnagiosrc as @NAGIOS_ETC_DIR@/cnagiosrc.NEW ; \ +- $(INSTALL) -c -m 644 cnagiosrc @NAGIOS_ETC_DIR@/cnagiosrc.NEW ; \ +- fi ++ echo installing cnagiosrc.sample in @NAGIOS_ETC_DIR@ ++ $(INSTALL) -c -m 644 cnagiosrc @NAGIOS_ETC_DIR@/cnagiosrc.sample + +- @if [ ! -f @NAGIOS_ETC_DIR@/cnagios.help ]; then \ +- echo installing cnagios.help in @NAGIOS_ETC_DIR@ ; \ +- $(INSTALL) -c -m 644 cnagios.help @NAGIOS_ETC_DIR@/cnagios.help ; \ +- else \ +- echo installing cnagios.help as @NAGIOS_ETC_DIR@/cnagios.help.NEW ; \ +- $(INSTALL) -c -m 644 cnagios.help @NAGIOS_ETC_DIR@/cnagios.help.NEW ; \ +- fi ++ echo installing cnagios.help.sample in @NAGIOS_ETC_DIR@ ++ $(INSTALL) -c -m 644 cnagios.help @NAGIOS_ETC_DIR@/cnagios.help.sample + +- @if [ ! -f @NAGIOS_ETC_DIR@/cnagios.pl ]; then \ +- echo installing cnagios.pl in @NAGIOS_ETC_DIR@ ; \ +- $(INSTALL) -c -m 644 cnagios.pl @NAGIOS_ETC_DIR@/cnagios.pl ; \ +- else \ +- echo installing cnagios.pl as @NAGIOS_ETC_DIR@/cnagios.pl.NEW ; \ +- $(INSTALL) -c -m 644 cnagios.pl @NAGIOS_ETC_DIR@/cnagios.pl.NEW ; \ +- fi ++ echo installing cnagios.pl in @NAGIOS_ETC_DIR@ ++ $(INSTALL) -c -m 644 cnagios.pl @NAGIOS_ETC_DIR@/cnagios.pl.sample + + install2: + @if [ -f /usr/local/bin/cnagios ]; then \ |