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

- Support staging

This commit is contained in:
Dmitry Marakasov 2013-12-23 14:02:13 +00:00
parent 834ee0191e
commit 98f8f0e48f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337247

View File

@ -11,24 +11,21 @@ COMMENT= Rename mp3s and manipulate them
RUN_DEPENDS= p5-tagged>=0:${PORTSDIR}/audio/p5-tagged
NO_STAGE= yes
USES= perl5
NO_BUILD= yes
PORTDOCS= readme
PLIST_FILES= bin/mp3mover \
%%DATADIR%%/sample-.mp3moverrc \
%%DATADIR%%/shellperfect-.mp3moverrc
PLIST_DIRS= %%DATADIR%%
PLIST_FILES= bin/mp3mover
PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mp3mover.pl ${PREFIX}/bin/mp3mover
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/sample-.mp3moverrc ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/shellperfect-.mp3moverrc ${DATADIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme ${DOCSDIR}
.endif
${INSTALL_SCRIPT} ${WRKSRC}/mp3mover.pl ${STAGEDIR}${PREFIX}/bin/mp3mover
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/sample-.mp3moverrc ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/shellperfect-.mp3moverrc ${STAGEDIR}${DATADIR}/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>