1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/games/farblazer/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

33 lines
918 B
Makefile

# New ports collection makefile for: farblazer
# Date created: 12 December 2001
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= farblazer
PORTVERSION= 0.7
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://www.pygame.org/gamelets/games/
MAINTAINER= ports@FreeBSD.org
COMMENT= An action/arcade game originally based of StarBlazer on the Apple ][
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} ${DATADIR}
(cd ${WRKSRC}; ${TAR} cf - .) | \
(cd ${DATADIR}; ${TAR} --exclude=\*.orig --unlink -xf -)
@printf "#!/bin/sh\ncd ${DATADIR} && \
exec ${PYTHON_CMD} ${DATADIR}/${PORTNAME}.py \"$$\@\"\n" > ${WRKDIR}/${PORTNAME}.sh
@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>