From 98f8f0e48fbb8114c3d5d89323677ac30929ba64 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Mon, 23 Dec 2013 14:02:13 +0000 Subject: [PATCH] - Support staging --- audio/mp3mover/Makefile | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/audio/mp3mover/Makefile b/audio/mp3mover/Makefile index 5fc90efe9334..12dbd5046812 100644 --- a/audio/mp3mover/Makefile +++ b/audio/mp3mover/Makefile @@ -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