1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00
freebsd-ports/games/solarwolf/Makefile
Maxim Sobolev d50622339d Add solarwolf 1.0, an action/arcade game originally based of SolarFox on the
Atari 2600.

Boys, if you think that the Python is inapproprite language for games
programming you ought to try this - it really rocks, even on a low-end machines
like my P133 notebook!
2001-05-04 10:51:36 +00:00

31 lines
844 B
Makefile

# New ports collection makefile for: solarwolf
# Date created: 4 May 2001
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= solarwolf
PORTVERSION= 1.0
CATEGORIES= games
MASTER_SITES= http://shredwheat.zopesite.com/solarwolf/files/
MAINTAINER= sobomax@FreeBSD.org
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game
USE_PYTHON= yes
do-build:
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
do-install:
@${MKDIR} ${PREFIX}/share/solarwolf
(cd ${WRKSRC}; tar cf - .) | \
(cd ${PREFIX}/share/solarwolf; tar --unlink -xf -)
@printf "#!/bin/sh\ncd ${PREFIX}/share/solarwolf && \
${PYTHON_CMD} ${PREFIX}/share/solarwolf/solarwolf.py\n" > ${WRKDIR}/solarwolf.sh
@${INSTALL_SCRIPT} ${WRKDIR}/solarwolf.sh ${PREFIX}/bin/solarwolf
.include <bsd.port.mk>