From 3909466d169aa0ceba9660ea13d85263ba20a23a Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Mon, 28 Jul 2014 15:16:44 +0000 Subject: [PATCH] Stagify. --- net-mgmt/nagios-snmp-plugins-extras/Makefile | 15 ++++++++------- net-mgmt/nagios-snmp-plugins-extras/pkg-plist | 1 - 2 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 net-mgmt/nagios-snmp-plugins-extras/pkg-plist diff --git a/net-mgmt/nagios-snmp-plugins-extras/Makefile b/net-mgmt/nagios-snmp-plugins-extras/Makefile index b657a782e9d0..0d43161461ca 100644 --- a/net-mgmt/nagios-snmp-plugins-extras/Makefile +++ b/net-mgmt/nagios-snmp-plugins-extras/Makefile @@ -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 diff --git a/net-mgmt/nagios-snmp-plugins-extras/pkg-plist b/net-mgmt/nagios-snmp-plugins-extras/pkg-plist deleted file mode 100644 index 70333e5eb62f..000000000000 --- a/net-mgmt/nagios-snmp-plugins-extras/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -@dirrmtry libexec/nagios