diff options
author | antoine <antoine@FreeBSD.org> | 2014-02-15 00:12:38 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-02-15 00:12:38 +0800 |
commit | 96b3d45171c6ca58e61962022f72895ed1492e01 (patch) | |
tree | 884e4032ae557703319679fe25a239e53968f315 /multimedia | |
parent | 914ef4f76cef7ea0e378f18039cd653241ee47ce (diff) | |
download | freebsd-ports-gnome-96b3d45171c6ca58e61962022f72895ed1492e01.tar.gz freebsd-ports-gnome-96b3d45171c6ca58e61962022f72895ed1492e01.tar.zst freebsd-ports-gnome-96b3d45171c6ca58e61962022f72895ed1492e01.zip |
Finish stage support
Reported by: pkg-fallout
PR: ports/186763
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/avidemux2/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/multimedia/avidemux2/Makefile b/multimedia/avidemux2/Makefile index 46201e4968ef..2a19e50b134d 100644 --- a/multimedia/avidemux2/Makefile +++ b/multimedia/avidemux2/Makefile @@ -14,31 +14,30 @@ post-configure: post-configure-common post-install: .if ${PORT_OPTIONS:MGTK2} || ${PORT_OPTIONS:MQT4} - @${MKDIR} "${DATADIR}" - ${INSTALL_DATA} "${WRKSRC}/avidemux_icon.png" "${DATADIR}/${PORTNAME}.png" + @${MKDIR} "${STAGEDIR}${DATADIR}" + ${INSTALL_DATA} "${WRKSRC}/avidemux_icon.png" "${STAGEDIR}${DATADIR}/${PORTNAME}.png" @${ECHO_CMD} "${DATADIR_REL}/${PORTNAME}.png" >> ${TMPPLIST} @${ECHO_CMD} "@unexec ${RMDIR} %D/${DATADIR_REL} 2>/dev/null || ${TRUE}" >> ${TMPPLIST} - @${MKDIR} "${DESKTOPDIR}" + @${MKDIR} "${STAGEDIR}${DESKTOPDIR}" @${ECHO_CMD} "@cwd ${DESKTOPDIR}" >> ${TMPPLIST} .if ${PORT_OPTIONS:MGTK2} @${SED} -e "s|%%PREFIX%%|${PREFIX}|g" -e "s|%%DATADIR%%|${DATADIR}|g" \ -e "s|%%NAME%%|${PORTNAME}|g" -e "s|%%API%%|gtk|g" \ < ${FILESDIR}/avidemux2.desktop.in > ${WRKDIR}/${PORTNAME}.desktop - ${INSTALL_DATA} "${WRKDIR}/${PORTNAME}.desktop" "${DESKTOPDIR}" + ${INSTALL_DATA} "${WRKDIR}/${PORTNAME}.desktop" "${STAGEDIR}${DESKTOPDIR}" @${ECHO_CMD} "${PORTNAME}.desktop" >> ${TMPPLIST} .endif .if ${PORT_OPTIONS:MQT4} @${SED} -e "s|%%PREFIX%%|${PREFIX}|g" -e "s|%%DATADIR%%|${DATADIR}|g" \ -e "s|%%NAME%%|${PORTNAME}|g" -e "s|%%API%%|qt4|g" \ < ${FILESDIR}/avidemux2.desktop.in > ${WRKDIR}/${PORTNAME}_qt4.desktop - ${INSTALL_DATA} "${WRKDIR}/${PORTNAME}_qt4.desktop" "${DESKTOPDIR}" + ${INSTALL_DATA} "${WRKDIR}/${PORTNAME}_qt4.desktop" "${STAGEDIR}${DESKTOPDIR}" @${ECHO_CMD} "${PORTNAME}_qt4.desktop" >> ${TMPPLIST} .endif @${ECHO_CMD} "@cwd ${PREFIX}" >> ${TMPPLIST} @${ECHO_CMD} "@unexec ${RMDIR} ${DESKTOPDIR} 2>/dev/null || true" >> ${TMPPLIST} @${ECHO_CMD} "@exec %D/bin/update-desktop-database 2>/dev/null || ${TRUE}" >> ${TMPPLIST} @${ECHO_CMD} "@unexec %D/bin/update-desktop-database 2>/dev/null || ${TRUE}" >> ${TMPPLIST} - -update-desktop-database .endif .include <bsd.port.mk> |