diff options
author | pawel <pawel@FreeBSD.org> | 2014-04-13 03:17:41 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-04-13 03:17:41 +0800 |
commit | b47ed85f3cca0e578d1693b6337afded6d3c50ba (patch) | |
tree | 52f879912b5c179a207da658b93cb50b7fbe0d4c /games/twitch | |
parent | d69c9c86a5ba290f8824b75036495745715a32e1 (diff) | |
download | freebsd-ports-gnome-b47ed85f3cca0e578d1693b6337afded6d3c50ba.tar.gz freebsd-ports-gnome-b47ed85f3cca0e578d1693b6337afded6d3c50ba.tar.zst freebsd-ports-gnome-b47ed85f3cca0e578d1693b6337afded6d3c50ba.zip |
- Add staging support
- Remove leading article from COMMENT
Diffstat (limited to 'games/twitch')
-rw-r--r-- | games/twitch/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/games/twitch/Makefile b/games/twitch/Makefile index 7e4ec2c36e6d..bd5083506d84 100644 --- a/games/twitch/Makefile +++ b/games/twitch/Makefile @@ -8,22 +8,21 @@ CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/Twitch/${PORTVERSION} MAINTAINER= ports@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> |