svn commit: r351123 - head/games/twitch
Pawel Pekala
pawel at FreeBSD.org
Sat Apr 12 19:17:41 UTC 2014
Author: pawel
Date: Sat Apr 12 19:17:41 2014
New Revision: 351123
URL: http://svnweb.freebsd.org/changeset/ports/351123
QAT: https://qat.redports.org/buildarchive/r351123/
Log:
- Add staging support
- Remove leading article from COMMENT
Modified:
head/games/twitch/Makefile
Modified: head/games/twitch/Makefile
==============================================================================
--- head/games/twitch/Makefile Sat Apr 12 18:43:37 2014 (r351122)
+++ head/games/twitch/Makefile Sat Apr 12 19:17:41 2014 (r351123)
@@ -8,22 +8,21 @@ CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/Twitch/${PORTVERSION}
MAINTAINER= ports at FreeBSD.org
-COMMENT= An overhead 2-d shooter, reminiscent of games like Robotron
+COMMENT= Overhead 2-d shooter, reminiscent of games like Robotron
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game
+RUN_DEPENDS= ${PYGAME}
USE_PYTHON= yes
-NO_STAGE= yes
do-build:
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${WRKSRC}
do-install:
- @${MKDIR} ${PREFIX}/share/twitch
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/twitch
(cd ${WRKSRC}; ${TAR} cf - images sound levels twitch.*) | \
- (cd ${PREFIX}/share/twitch; ${TAR} xf -)
+ (cd ${STAGEDIR}${PREFIX}/share/twitch; ${TAR} xf -)
@printf "#!/bin/sh\ncd ${PREFIX}/share/twitch && \
${PYTHON_CMD} ${PREFIX}/share/twitch/twitch.py\n" > ${WRKDIR}/twitch.sh
- @${INSTALL_SCRIPT} ${WRKDIR}/twitch.sh ${PREFIX}/bin/twitch
+ ${INSTALL_SCRIPT} ${WRKDIR}/twitch.sh ${STAGEDIR}${PREFIX}/bin/twitch
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list