aboutsummaryrefslogtreecommitdiff
path: root/sysutils/hploscripts
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2013-05-07 14:30:31 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2013-05-07 14:30:31 +0000
commitb28099b871a58f108ead6870dbb2d81fc1ca8cf6 (patch)
treea3994c3d0c314a5bd8b51a102ee8114d7a24b6ea /sysutils/hploscripts
parent148b5e70f9f17d0e0460fd0833a0ced930992d99 (diff)
downloadports-b28099b871a58f108ead6870dbb2d81fc1ca8cf6.tar.gz
ports-b28099b871a58f108ead6870dbb2d81fc1ca8cf6.zip
Notes
Diffstat (limited to 'sysutils/hploscripts')
-rw-r--r--sysutils/hploscripts/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/sysutils/hploscripts/Makefile b/sysutils/hploscripts/Makefile
index f55713534f11..0ff738b6483e 100644
--- a/sysutils/hploscripts/Makefile
+++ b/sysutils/hploscripts/Makefile
@@ -13,18 +13,18 @@ COMMENT= HP Lights-Out management perl scripts
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