aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-04-13 01:15:30 +0800
committerpawel <pawel@FreeBSD.org>2014-04-13 01:15:30 +0800
commit8fcddbb6680759e82a5247b21dabde385ad3c3d0 (patch)
tree354aacde485d8fa31a943aaf6a08dcca15028393 /games
parent85746279ef124199099697d5295d3f17dce05764 (diff)
downloadfreebsd-ports-gnome-8fcddbb6680759e82a5247b21dabde385ad3c3d0.tar.gz
freebsd-ports-gnome-8fcddbb6680759e82a5247b21dabde385ad3c3d0.tar.zst
freebsd-ports-gnome-8fcddbb6680759e82a5247b21dabde385ad3c3d0.zip
Add staging support
Diffstat (limited to 'games')
-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>