diff --git a/emulators/dynagui/Makefile b/emulators/dynagui/Makefile index 1caf1f8bb5d5..77c120d13015 100644 --- a/emulators/dynagui/Makefile +++ b/emulators/dynagui/Makefile @@ -15,13 +15,12 @@ BUILD_DEPENDS= dynagen:${PORTSDIR}/emulators/dynagen USE_PYTHON= yes USE_PYDISTUTILS= yes -IMGDIR= ${PREFIX}/share/${PORTNAME}/img +IMGDIR= ${STAGEDIR}${PREFIX}/share/${PORTNAME}/img -NO_STAGE= yes post-install: - ${MKDIR} ${IMGDIR} + @${MKDIR} ${IMGDIR} ${INSTALL_DATA} ${WRKSRC}/img/* ${IMGDIR} - ${CHMOD} 755 ${PYTHON_SITELIBDIR}/dynagui.py - ${LN} -sf ${PYTHON_SITELIBDIR}/dynagui.py ${PREFIX}/bin/dynagui.py + ${CHMOD} 755 ${STAGEDIR}${PYTHON_SITELIBDIR}/dynagui.py + ${LN} -sf ${PYTHON_SITELIBDIR}/dynagui.py ${STAGEDIR}${PREFIX}/bin/dynagui.py .include