git: 3ceb2c03a25f - main - net-mgmt/pandorafms_agent: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Mon, 18 Mar 2024 13:51:49 UTC
The branch main has been updated by naddy:

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

commit 3ceb2c03a25f6036cd482d4ba4f80ebbd43491f7
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-18 12:48:39 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-18 13:51:37 +0000

    net-mgmt/pandorafms_agent: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 net-mgmt/pandorafms_agent/Makefile                           |  1 +
 .../pandorafms_agent/files/patch-pandora__agent__installer   | 12 ++++++++++--
 net-mgmt/pandorafms_agent/pkg-plist                          |  4 ++--
 3 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/net-mgmt/pandorafms_agent/Makefile b/net-mgmt/pandorafms_agent/Makefile
index 425714f8be39..6782a1a4d4ef 100644
--- a/net-mgmt/pandorafms_agent/Makefile
+++ b/net-mgmt/pandorafms_agent/Makefile
@@ -1,4 +1,5 @@
 PORTNAME=	pandora_agent
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 
 MAINTAINER=	koichiro@rworks.jp
diff --git a/net-mgmt/pandorafms_agent/files/patch-pandora__agent__installer b/net-mgmt/pandorafms_agent/files/patch-pandora__agent__installer
index 61a71caf4bb7..48f8710be813 100644
--- a/net-mgmt/pandorafms_agent/files/patch-pandora__agent__installer
+++ b/net-mgmt/pandorafms_agent/files/patch-pandora__agent__installer
@@ -1,6 +1,14 @@
---- pandora_agent_installer.orig	2019-08-12 10:17:59 UTC
+--- pandora_agent_installer.orig	2016-04-08 09:51:58 UTC
 +++ pandora_agent_installer
-@@ -88,13 +88,9 @@ fi
+@@ -49,7 +49,6 @@ FreeBSD)
+ 	;;
+ FreeBSD)
+ 	PANDORA_CFG=$PREFIX/etc/pandora
+-	PANDORA_MAN=$PREFIX/man
+ 	PANDORA_STARTUP=$PREFIX/etc/rc.d/pandora_agent
+ 	DAEMON_SCRIPT=$OS_NAME/pandora_agent
+ 	PANDORA_PERL_PATH=/usr/local/bin/perl
+@@ -88,13 +87,9 @@ fi
  
  [ "$4" ] && PANDORA_PERL_PATH=$4
  
diff --git a/net-mgmt/pandorafms_agent/pkg-plist b/net-mgmt/pandorafms_agent/pkg-plist
index 03603d5a64a3..68e3d78d9ef0 100644
--- a/net-mgmt/pandorafms_agent/pkg-plist
+++ b/net-mgmt/pandorafms_agent/pkg-plist
@@ -6,8 +6,8 @@ bin/pandora_revent
 bin/tentacle_client
 etc/rc.d/pandora_agent
 @sample(pandora,,400) %%ETCDIR%%/pandora_agent.conf.sample
-man/man1/tentacle_client.1.gz
-man/man1/pandora_agent.1.gz
+share/man/man1/tentacle_client.1.gz
+share/man/man1/pandora_agent.1.gz
 @mode 555
 %%DATADIR%%/plugins/files_indir
 %%DATADIR%%/plugins/grep_log