Support staging,

Use shebangfix
This commit is contained in:
Baptiste Daroussin 2013-11-24 19:48:42 +00:00
parent a40ed2e4ab
commit a0117760b3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334782

View file

@ -12,15 +12,16 @@ COMMENT= Perl script that converts CUE files into TOC files for cdrdao
RUN_DEPENDS= p5-Audio-Wav>=0:${PORTSDIR}/audio/p5-Audio-Wav RUN_DEPENDS= p5-Audio-Wav>=0:${PORTSDIR}/audio/p5-Audio-Wav
USES= perl5 USES= perl5 shebangfix
NO_STAGE= yes NO_WRKSUBDIR= yes
NO_BUILD= yes NO_BUILD= yes
PLIST_FILES= bin/cue2toc.pl PLIST_FILES= bin/cue2toc.pl
SHEBANG_FILES= cue2toc
pre-patch: pre-patch:
@${REINPLACE_CMD} -e 's|use warnings;||' ${WRKDIR}/cue2toc @${REINPLACE_CMD} -e 's|use warnings;||' ${WRKDIR}/cue2toc
do-install: do-install:
${INSTALL_SCRIPT} ${WRKDIR}/cue2toc ${PREFIX}/bin/cue2toc.pl ${INSTALL_SCRIPT} ${WRKDIR}/cue2toc ${STAGEDIR}${PREFIX}/bin/cue2toc.pl
.include <bsd.port.mk> .include <bsd.port.mk>