Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 2014 15:16:45 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363176 - head/net-mgmt/nagios-snmp-plugins-extras
Message-ID:  <201407281516.s6SFGjld016588@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407281516.s6SFGjld016588>