mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Stagify.
This commit is contained in:
parent
3c45ca4882
commit
3909466d16
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363176
@ -10,15 +10,17 @@ MASTER_SITES= ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Set of Nagios plugins written in Perl to check devices with SNMP
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
NO_BUILD= yes
|
||||
USES= perl5
|
||||
USES= perl5 shebangfix
|
||||
USE_PERL5= run
|
||||
SHEBANG_FILES= ${PLUGINS}
|
||||
|
||||
RUN_DEPENDS+= p5-Net-SNMP>=0:${PORTSDIR}/net-mgmt/p5-Net-SNMP \
|
||||
${LOCALBASE}/libexec/nagios/utils.pm:${PORTSDIR}/net-mgmt/nagios-plugins
|
||||
|
||||
PLUGINS= \
|
||||
check_snmp_boostedge.pl \
|
||||
PLUGINS= check_snmp_boostedge.pl \
|
||||
check_snmp_cpfw.pl \
|
||||
check_snmp_css.pl \
|
||||
check_snmp_css_main.pl \
|
||||
@ -31,20 +33,19 @@ PLUGINS= \
|
||||
check_snmp_process.pl \
|
||||
check_snmp_storage.pl \
|
||||
check_snmp_vrrp.pl \
|
||||
check_snmp_win.pl \
|
||||
check_snmp_win.pl
|
||||
|
||||
PLIST_FILES= ${PLUGINS:S,^,libexec/nagios/,}
|
||||
|
||||
WRKSRC= ${WRKDIR}/plugins
|
||||
|
||||
NO_STAGE= yes
|
||||
post-extract:
|
||||
${SED} -i "" -e "s#/tmp/#/var/tmp/#" \
|
||||
-e "s#/usr/local/nagios/libexec#${LOCALBASE}/libexec/nagios#" \
|
||||
${PLUGINS:S,^,${WRKSRC}/,}
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/libexec/nagios
|
||||
${INSTALL_SCRIPT} ${PLUGINS:S,^,${WRKSRC}/,} ${PREFIX}/libexec/nagios/
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
|
||||
${INSTALL_SCRIPT} ${PLUGINS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/libexec/nagios/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +0,0 @@
|
||||
@dirrmtry libexec/nagios
|
Loading…
Reference in New Issue
Block a user