- add shebangfix support

PR:		186064
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
Approved by:	mat
This commit is contained in:
Daniel Gerzo 2014-05-02 12:10:20 +00:00
parent 382fb2f15d
commit a196f63c80
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352808

View file

@ -18,13 +18,14 @@ RUN_DEPENDS= p5-Unix-Syslog>=0:${PORTSDIR}/sysutils/p5-Unix-Syslog \
p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS
NO_BUILD= yes
USES= perl5
USES= perl5 shebangfix
USE_PERL5= run
OPTIONS_DEFINE= DOCS
WRKSRC= ${WRKDIR}/${PORTNAME}
SUB_FILES= pkg-message
SHEBANG_FILES= ${PORTNAME}.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}