1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/games/solarwolf/Makefile
Maxim Sobolev ba5358038a Correct permissions of the installed datafiles. Bump PORTREVISION.
PR:		45207
Submitted by:	Stefan `Sec` Zehl <sec@42.org>
2003-02-03 13:39:15 +00:00

35 lines
953 B
Makefile

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