2005-10-10 19:46:45 +02:00
|
|
|
# New ports collection makefile for: slune
|
2005-10-09 02:46:39 +02:00
|
|
|
# Date created: 2005-10-06
|
|
|
|
# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= slune
|
2006-07-29 18:19:54 +02:00
|
|
|
PORTVERSION= 1.0.12
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 6
|
2005-10-09 02:46:39 +02:00
|
|
|
CATEGORIES= games python
|
|
|
|
MASTER_SITES= http://download.gna.org/slune/
|
|
|
|
DISTNAME= Slune-${PORTVERSION}
|
|
|
|
|
2006-07-23 04:45:24 +02:00
|
|
|
MAINTAINER= acm@FreeBSD.org
|
2005-10-10 19:46:45 +02:00
|
|
|
COMMENT= 3D game. includes racing, car-crashing, and lots of action
|
2005-10-09 02:46:39 +02:00
|
|
|
|
|
|
|
RUN_DEPENDS= soya_editor:${PORTSDIR}/graphics/py-soya3d \
|
|
|
|
${PYTHON_SITELIBDIR}/_openal.so:${PORTSDIR}/audio/py-openal \
|
|
|
|
${PYTHON_SITELIBDIR}/pysdl_mixer/sdl_mixer.so:${PORTSDIR}/audio/py-sdl_mixer \
|
|
|
|
${PYTHON_SITELIBDIR}/ogg/vorbis.so:${PORTSDIR}/audio/py-vorbis \
|
2006-01-30 22:36:28 +01:00
|
|
|
${PYTHON_SITELIBDIR}/py2play/level.py:${PORTSDIR}/net-p2p/py-py2play
|
2006-08-21 18:03:29 +02:00
|
|
|
LIB_DEPENDS= cal3d.12:${PORTSDIR}/graphics/cal3d \
|
2005-10-09 02:46:39 +02:00
|
|
|
GLEW.1:${PORTSDIR}/graphics/glew
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2006-04-09 23:52:30 +02:00
|
|
|
USE_GETTEXT= yes
|
2005-10-09 02:46:39 +02:00
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
USE_GL= yes
|
|
|
|
USE_SDL= sdl mixer
|
|
|
|
|
2007-07-30 11:42:28 +02:00
|
|
|
PYDISTUTILS_PKGNAME= Slune
|
2007-11-13 01:49:07 +01:00
|
|
|
PYDISTUTILS_EGGINFODIR= ${PREFIX}/share
|
2007-07-30 11:42:28 +02:00
|
|
|
|
2006-09-01 21:48:56 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -i "" -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.cfg
|
|
|
|
|
2005-10-09 02:46:39 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|