svn commit: r317615 - head/sysutils/hploscripts

Emanuel Haupt ehaupt at FreeBSD.org
Tue May 7 14:30:32 UTC 2013


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


More information about the svn-ports-all mailing list