31 lines
813 B
Makefile
31 lines
813 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
|
||
|
CATEGORIES= games
|
||
|
MASTER_SITES= http://www.zipcon.net/~adamf/software/farblazer/
|
||
|
|
||
|
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} ${DATADIR}
|
||
|
(cd ${WRKSRC}; tar cf - .) | \
|
||
|
(cd ${DATADIR}; tar --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>
|