1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

net-mgmt/pandorafms_server: Move man pages to share/man

Approved by:	portmgr (blanket)
This commit is contained in:
Christian Weisgerber 2024-03-18 14:22:16 +01:00
parent 3ceb2c03a2
commit bd93dd42f9
3 changed files with 14 additions and 10 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= pandora_server
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net-mgmt
MAINTAINER= koichiro@rworks.jp
@ -95,13 +95,6 @@ RUN_DEPENDS+= ${LOCALBASE}/sbin/ipmi-sensors:sysutils/freeipmi
.endif
post-patch:
@${REINPLACE_CMD} \
-e 's|%%PREFIX%%|${PREFIX}|g' \
-e 's|%%DATADIR%%|${DATADIR}|g' \
-e 's|%%PANDORA_ETCDIR%%|${PANDORA_ETCDIR}|g' \
-e 's|%%PANDORA_LOGDIR%%|${PANDORA_LOGDIR}|g' \
-e 's|%%PANDORA_SPOOLDIR%%|${PANDORA_SPOOLDIR}|g' \
${WRKSRC}/pandora_server_installer
@${REINPLACE_CMD} -i "" \
-e 's,/usr/bin/perl,${PERL},g' \
`${GREP} -rl /usr/bin/perl ${WRKSRC} | ${GREP} -v pandora_server_installer`

View File

@ -0,0 +1,11 @@
--- pandora_server_installer.orig 2024-03-18 13:19:50 UTC
+++ pandora_server_installer
@@ -92,7 +92,7 @@ set_global_vars () {
PANDORA_CFG_FILE_DIST=$DISTRO/pandora_server.conf.new
PANDORA_INIT_SCRIPT=$DISTRO/pandora_server
TENTACLE_INIT_SCRIPT=$DISTRO/tentacle_server
- MANDIR=$PREFIX/man/man1
+ MANDIR=$PREFIX/share/man/man1
INITDIR=$PREFIX/etc/rc.d
PERL=/usr/local/bin/perl
PANDORA_RC_VAR="pandora_server_enable"

View File

@ -25,8 +25,8 @@
%%SITE_PERL%%/PandoraFMS/Traceroute.pm
%%SITE_PERL%%/PandoraFMS/Traceroute/PurePerl.pm
%%SITE_PERL%%/PandoraFMS/WMIServer.pm
man/man1/pandora_server.1.gz
man/man1/tentacle_server.1.gz
share/man/man1/pandora_server.1.gz
share/man/man1/tentacle_server.1.gz
%%DATADIR%%/util/alert_multicast.pl
%%DATADIR%%/util/change_remoteconfig.pl
%%DATADIR%%/util/compaq_chassis_trap_manager.pl