freebsd-ports/games/twitch/Makefile
Gerald Pfeifer 1cd277bdce Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3.  This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.

Part II, Bump PORTREVISIONs.

PR:		182136
Supported by:	Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by:	bdrewery (two -exp runs)
2014-03-10 20:55:20 +00:00

29 lines
826 B
Makefile

# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
PORTNAME= twitch
PORTVERSION= 1.0
PORTREVISION= 8
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/Twitch/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= An overhead 2-d shooter, reminiscent of games like Robotron
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game
USE_PYTHON= yes
NO_STAGE= yes
do-build:
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${WRKSRC}
do-install:
@${MKDIR} ${PREFIX}/share/twitch
(cd ${WRKSRC}; ${TAR} cf - images sound levels twitch.*) | \
(cd ${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
.include <bsd.port.mk>