diff options
author | bapt <bapt@FreeBSD.org> | 2013-11-25 03:26:11 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-11-25 03:26:11 +0800 |
commit | 24cbc6900a7de801acc41e095c4f217fe78547e7 (patch) | |
tree | 866e4ee23dfcd7c7f10a35a92ab5dd763ca4d5ce /audio/dir2ogg | |
parent | adc239a40d441126d80248d21aff4bec2c865470 (diff) | |
download | freebsd-ports-gnome-24cbc6900a7de801acc41e095c4f217fe78547e7.tar.gz freebsd-ports-gnome-24cbc6900a7de801acc41e095c4f217fe78547e7.tar.zst freebsd-ports-gnome-24cbc6900a7de801acc41e095c4f217fe78547e7.zip |
Support staging
Diffstat (limited to 'audio/dir2ogg')
-rw-r--r-- | audio/dir2ogg/Makefile | 16 |
1 files 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 <bsd.port.options.mk> 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 <bsd.port.mk> |