From eba7c3ec410a71ef23a72a2f7a9bc91947d46d0d Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sun, 24 Nov 2013 19:26:11 +0000 Subject: [PATCH] Support staging --- audio/dir2ogg/Makefile | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/audio/dir2ogg/Makefile b/audio/dir2ogg/Makefile index 257878ef56ef..9b3b476ce447 100644 --- a/audio/dir2ogg/Makefile +++ b/audio/dir2ogg/Makefile @@ -16,27 +16,23 @@ RUN_DEPENDS= faad:${PORTSDIR}/audio/faad \ mplayer:${PORTSDIR}/multimedia/mplayer \ oggenc:${PORTSDIR}/audio/vorbis-tools -NO_STAGE= yes USE_PYTHON= yes NO_BUILD= yes -MAN1= ${PORTNAME}.1 PORTDOCS= NEWS README -PLIST_FILES= bin/${PORTNAME} +PLIST_FILES= bin/${PORTNAME} \ + man/man1/${PORTNAME}.1.gz -.include post-patch: @${REINPLACE_CMD} -e \ '/^#!/s|/.*python|${SETENV} python|g' ${WRKSRC}/${PORTNAME} do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1 -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include