blob: c0225b48a873a5b41e91aa1652bc829a0ba29ac4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# New ports collection makefile for: twitch
# Date created: 10 March 2001
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= twitch
PORTVERSION= 1.0
PORTREVISION= 3
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
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>
|