svn commit: r363176 - head/net-mgmt/nagios-snmp-plugins-extras
Vanilla I. Shu
vanilla at FreeBSD.org
Mon Jul 28 15:16:45 UTC 2014
Author: vanilla
Date: Mon Jul 28 15:16:44 2014
New Revision: 363176
URL: http://svnweb.freebsd.org/changeset/ports/363176
QAT: https://qat.redports.org/buildarchive/r363176/
Log:
Stagify.
Deleted:
head/net-mgmt/nagios-snmp-plugins-extras/pkg-plist
Modified:
head/net-mgmt/nagios-snmp-plugins-extras/Makefile
Modified: head/net-mgmt/nagios-snmp-plugins-extras/Makefile
==============================================================================
--- head/net-mgmt/nagios-snmp-plugins-extras/Makefile Mon Jul 28 15:12:26 2014 (r363175)
+++ head/net-mgmt/nagios-snmp-plugins-extras/Makefile Mon Jul 28 15:16:44 2014 (r363176)
@@ -10,15 +10,17 @@ MASTER_SITES= ftp://ftp.renatasystems.or
MAINTAINER= ports at 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>
More information about the svn-ports-all
mailing list