Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2014 09:07:32 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350070 - head/net-mgmt/nagios-certexp-plugin
Message-ID:  <201404040907.s3497Wud091168@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Apr  4 09:07:31 2014
New Revision: 350070
URL: http://svnweb.freebsd.org/changeset/ports/350070
QAT: https://qat.redports.org/buildarchive/r350070/

Log:
  - Support staging
  - Use shebangfix
  - Use WWW: with a single space

Modified:
  head/net-mgmt/nagios-certexp-plugin/Makefile
  head/net-mgmt/nagios-certexp-plugin/pkg-descr

Modified: head/net-mgmt/nagios-certexp-plugin/Makefile
==============================================================================
--- head/net-mgmt/nagios-certexp-plugin/Makefile	Fri Apr  4 09:01:55 2014	(r350069)
+++ head/net-mgmt/nagios-certexp-plugin/Makefile	Fri Apr  4 09:07:31 2014	(r350070)
@@ -15,18 +15,19 @@ RUN_DEPENDS+=	p5-Net-SSLeay>=0:${PORTSDI
 		p5-Date-Manip>=0:${PORTSDIR}/devel/p5-Date-Manip \
 		p5-Getopt-Long>=0:${PORTSDIR}/devel/p5-Getopt-Long
 
-USES=		perl5
+USES=		perl5 shebangfix
 NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
+
+SHEBANG_FILES=	check_certexp.pl
 PLIST_FILES=	${NAGIOS_PLUGIN_DIR}/check_certexp.pl
 PLIST_DIRS=	${NAGIOS_PLUGIN_DIR}
 
 NAGIOS_PLUGIN_DIR=	libexec/nagios
 
-NO_STAGE=	yes
 do-extract:
-	${MKDIR} ${WRKSRC}
-	${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/check_certexp.pl
+	@${MKDIR} ${WRKSRC}
+	@${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/check_certexp.pl
 
 post-patch:
 	${REINPLACE_CMD} -e \
@@ -34,7 +35,7 @@ post-patch:
 		${WRKSRC}/check_certexp.pl
 
 do-install:
-	${MKDIR} ${PREFIX}/${NAGIOS_PLUGIN_DIR}
-	${INSTALL_SCRIPT} ${WRKSRC}/check_certexp.pl ${PREFIX}/${NAGIOS_PLUGIN_DIR}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${NAGIOS_PLUGIN_DIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/check_certexp.pl ${STAGEDIR}${PREFIX}/${NAGIOS_PLUGIN_DIR}
 
 .include <bsd.port.mk>

Modified: head/net-mgmt/nagios-certexp-plugin/pkg-descr
==============================================================================
--- head/net-mgmt/nagios-certexp-plugin/pkg-descr	Fri Apr  4 09:01:55 2014	(r350069)
+++ head/net-mgmt/nagios-certexp-plugin/pkg-descr	Fri Apr  4 09:07:31 2014	(r350070)
@@ -5,4 +5,4 @@ the embedded Perl interpreter (not teste
 Date::Manip to be installed on the Nagios host.
 
 Author: Holger Weiss <holger@CIS.FU-Berlin.DE>
-WWW:    http://www.jhweiss.de/software/nagios.html
+WWW: http://www.jhweiss.de/software/nagios.html



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