Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2014 16:07:43 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353855 - head/net-mgmt/nagios-check_email_delivery
Message-ID:  <201405121607.s4CG7hxW018100@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zi
Date: Mon May 12 16:07:42 2014
New Revision: 353855
URL: http://svnweb.freebsd.org/changeset/ports/353855
QAT: https://qat.redports.org/buildarchive/r353855/

Log:
  - Add USES+=shebangfix
  - Bump PORTREVISION

Modified:
  head/net-mgmt/nagios-check_email_delivery/Makefile

Modified: head/net-mgmt/nagios-check_email_delivery/Makefile
==============================================================================
--- head/net-mgmt/nagios-check_email_delivery/Makefile	Mon May 12 16:02:59 2014	(r353854)
+++ head/net-mgmt/nagios-check_email_delivery/Makefile	Mon May 12 16:07:42 2014	(r353855)
@@ -3,7 +3,7 @@
 
 PORTNAME=	check_email_delivery
 PORTVERSION=	0.7.1b
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://buhacoff.net/software/check_email_delivery/archive/ \
 		http://mirrors.rit.edu/zi/
@@ -18,7 +18,13 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 RUN_DEPENDS=	p5-Net-SMTP-TLS>=0:${PORTSDIR}/mail/p5-Net-SMTP-TLS \
 		p5-Mail-IMAPClient>=0:${PORTSDIR}/mail/p5-Mail-IMAPClient
 
-USES=		perl5
+USES=		perl5 shebangfix
+SCRIPTS=	check_email_delivery check_email_delivery_epn \
+		check_imap_quota check_imap_quota_epn \
+		check_imap_receive check_imap_receive_epn \
+		check_smtp_send check_smtp_send_epn \
+		imap_ssl_cert imap_ssl_cert_epn
+SHEBANG_FILES=	${SCRIPTS}
 USE_PERL5=	run
 NO_BUILD=	yes
 DOC_FILES=	check_email_delivery.html check_email_delivery.pod \
@@ -33,17 +39,10 @@ PORTSCOUT=	ignore:1
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
-	${INSTALL_SCRIPT} ${WRKSRC}/check_email_delivery ${STAGEDIR}${PREFIX}/libexec/nagios/
-	${INSTALL_SCRIPT} ${WRKSRC}/check_email_delivery_epn ${STAGEDIR}${PREFIX}/libexec/nagios/
-	${INSTALL_SCRIPT} ${WRKSRC}/check_imap_quota ${STAGEDIR}${PREFIX}/libexec/nagios/
-	${INSTALL_SCRIPT} ${WRKSRC}/check_imap_quota_epn ${STAGEDIR}${PREFIX}/libexec/nagios/
-	${INSTALL_SCRIPT} ${WRKSRC}/check_imap_receive ${STAGEDIR}${PREFIX}/libexec/nagios/
-	${INSTALL_SCRIPT} ${WRKSRC}/check_imap_receive_epn ${STAGEDIR}${PREFIX}/libexec/nagios/
-	${INSTALL_SCRIPT} ${WRKSRC}/check_smtp_send ${STAGEDIR}${PREFIX}/libexec/nagios/
-	${INSTALL_SCRIPT} ${WRKSRC}/check_smtp_send_epn ${STAGEDIR}${PREFIX}/libexec/nagios/
-	${INSTALL_SCRIPT} ${WRKSRC}/imap_ssl_cert ${STAGEDIR}${PREFIX}/libexec/nagios/
-	${INSTALL_SCRIPT} ${WRKSRC}/imap_ssl_cert_epn ${STAGEDIR}${PREFIX}/libexec/nagios/
-.if !defined(NOPORTDOCS)
+.for file in ${SCRIPTS}
+	@${INSTALL_SCRIPT} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/libexec/nagios/
+.endfor
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in ${DOC_FILES}
 	@${INSTALL_DATA} ${WRKSRC}/docs/${file} ${STAGEDIR}${DOCSDIR}



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