Skip to content

Commit

Permalink
net-mgmt/pandorafms_server: Move man pages to share/man
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
  • Loading branch information
Christian Weisgerber authored and Christian Weisgerber committed Mar 18, 2024
1 parent 3ceb2c0 commit bd93dd4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
9 changes: 1 addition & 8 deletions net-mgmt/pandorafms_server/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pandora_server
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net-mgmt

MAINTAINER= koichiro@rworks.jp
Expand Down Expand Up @@ -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`
Expand Down
11 changes: 11 additions & 0 deletions net-mgmt/pandorafms_server/files/patch-pandora__server__installer
@@ -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"
4 changes: 2 additions & 2 deletions net-mgmt/pandorafms_server/pkg-plist
Expand Up @@ -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
Expand Down

0 comments on commit bd93dd4

Please sign in to comment.