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