aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/pythonchess/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/games/pythonchess/Makefile b/games/pythonchess/Makefile
index 5571a4ac3e6a..ce6345b4b9f1 100644
--- a/games/pythonchess/Makefile
+++ b/games/pythonchess/Makefile
@@ -16,17 +16,14 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinte
USE_PYTHON= yes
-NO_STAGE= yes
do-build:
@(${ECHO_CMD} "#!${SH}"; \
${ECHO_CMD} "cd ${DATADIR} && ${PYTHON_CMD} board.py") \
> ${WRKDIR}/${PORTNAME}
do-install:
- @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
- @${MKDIR} ${DATADIR}
-.for f in *.gif *.py *.txt
- @${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
-.endfor
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} *.gif *.py *.txt ${STAGEDIR}${DATADIR})
.include <bsd.port.mk>