pkgsrc-wip/slune/Makefile

37 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.14 2011/01/14 21:36:48 asau Exp $
#
DISTNAME= Slune-0.6.1
PKGNAME= ${PYPKGPREFIX}-Slune-0.6.1
CATEGORIES= games
MASTER_SITES= http://download.gna.org/slune/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://home.gna.org/oomadness/en/slune/index.html
COMMENT= Action game, featuring cars, races and Tux the Penguin
PY_PATCHPLIST= yes
PYDISTUTILSPKG= yes
DEPENDS+= ${PYPKGPREFIX}-Py2Play>=0.1.6:../../wip/py-Py2Play
DEPENDS+= ${PYPKGPREFIX}-Soya>=0.6.1:../../wip/py-Soya
DEPENDS+= ${PYPKGPREFIX}-EditObj2>=0.5.2:../../wip/py-EditObj2
DEPENDS+= ${PYPKGPREFIX}-vorbis>=1.3:../../audio/py-vorbis
PYSETUPINSTALLARGS= --install-lib ${PYSITELIB} --install-scripts ${PREFIX}/bin --install-data ${PREFIX}/share/
PYFILES= __init__.py character.py circuit_generator.py controler.py \
fight.py freestyle.py globdef.py gui.py gui_gl.py \
gui_option.py hunt.py ia_algogen.py init_editobj.py level.py \
player.py race.py race_algogen.py race_algogen2.py \
sound.py videosequence.py
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/${PYSITELIB}/slune
for a in ${PYFILES}; do \
${INSTALL_DATA} ${WRKSRC}/$$a ${PREFIX}/${PYSITELIB}/slune/$$a ; \
done
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"