Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 May 2013 14:30:31 +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: r317615 - head/sysutils/hploscripts
Message-ID:  <201305071430.r47EUVAS036427@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Tue May  7 14:30:31 2013
New Revision: 317615
URL: http://svnweb.freebsd.org/changeset/ports/317615

Log:
  Use shebangfix macro

Modified:
  head/sysutils/hploscripts/Makefile

Modified: head/sysutils/hploscripts/Makefile
==============================================================================
--- head/sysutils/hploscripts/Makefile	Tue May  7 14:27:41 2013	(r317614)
+++ head/sysutils/hploscripts/Makefile	Tue May  7 14:30:31 2013	(r317615)
@@ -13,18 +13,18 @@ COMMENT=	HP Lights-Out management perl s
 BUILD_DEPENDS=	p5-IO-Socket-SSL>=1.19:${PORTSDIR}/security/p5-IO-Socket-SSL
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
+USES=		shebangfix
 USE_PERL5=	yes
 NO_BUILD=	yes
 
+SHEBANG_FILES=	locfg.pl
+
 PORTDOCS=	iLO_perl_xml.pdf linux-LOsamplescripts.txt
 
 OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.options.mk>
 
-post-patch:
-	@${REINPLACE_CMD} -e '1s|.*|#!${PERL}|' ${WRKSRC}/locfg.pl
-
 do-install:
 	${MKDIR} ${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/*.xml ${EXAMPLESDIR}
@@ -33,7 +33,8 @@ do-install:
 .if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/iLO_perl_xml.pdf ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/linux-LOsamplescripts3.00.0-2.txt ${DOCSDIR}/linux-LOsamplescripts.txt
+	${INSTALL_DATA} ${WRKSRC}/linux-LOsamplescripts3.00.0-2.txt \
+		${DOCSDIR}/linux-LOsamplescripts.txt
 .endif
 
 regression-test: build



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