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