1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support stage

This commit is contained in:
Baptiste Daroussin 2014-04-06 18:36:40 +00:00
parent 9060e8958f
commit 0c18803885
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350400

View File

@ -19,19 +19,18 @@ RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 \
p5-String-ShellQuote>=0:${PORTSDIR}/textproc/p5-String-ShellQuote
USES= shebangfix perl5
NO_STAGE= yes
SHEBANG_FILES= mp32ogg
NO_WRKSUBDIR= yes
NO_BUILD= yes
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= #
EXTRACT_AFTER_ARGS= ${WRKSRC}/${PORTNAME}
NO_BUILD= yes
PLIST_FILES= bin/mp32ogg
post-patch:
@${REINPLACE_CMD} -i '' -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/mp32ogg
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mp32ogg ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/mp32ogg ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>