diff --git a/audio/soundgrab/Makefile b/audio/soundgrab/Makefile index b759ef83cb07..5d6768ba7854 100644 --- a/audio/soundgrab/Makefile +++ b/audio/soundgrab/Makefile @@ -20,16 +20,15 @@ RUN_DEPENDS= sox:${PORTSDIR}/audio/sox \ LICENSE= GPLv2 -USES= perl5 -NO_STAGE= yes +USES= perl5 shebangfix +SHEBANG_FILES= src/soundgrab NO_BUILD= yes -MAN1= soundgrab.1 -PLIST_FILES= bin/soundgrab +PLIST_FILES= bin/soundgrab man/man1/soundgrab.1.gz do-install: @pod2man ${WRKSRC}/src/soundgrab ${WRKSRC}/src/soundgrab.1 - ${INSTALL_SCRIPT} ${WRKSRC}/src/soundgrab ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/src/soundgrab.1 ${MAN1PREFIX}/man/man1 + ${INSTALL_SCRIPT} ${WRKSRC}/src/soundgrab ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/src/soundgrab.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include