freebsd-ports/games/slune/Makefile
Marcus von Appen fbd0197639 - Update devel/sdl12 to 1.2.15
- Update audio/sdl_mixer to 1.2.15
- Update graphics/sdl_image to 1.2.12
- Update graphics/sdl_ttf to 2.0.11
- Update graphics/sdl_gfx to 2.0.23
- Update net/sdl_net to 1.2.8
- Bump PORTREVISIONs on ports that depend on one or more packages due to
ABI and shared library version changes
- Update Mk/bsd.sdl.mk accordingly for the new shared library versions

Tested by:	exp-run by pav
2012-02-18 10:18:33 +00:00

60 lines
1.5 KiB
Makefile

# New ports collection makefile for: slune
# Date created: 2005-10-06
# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
#
# $FreeBSD$
#
PORTNAME= slune
PORTVERSION= 1.0.15
PORTREVISION= 4
CATEGORIES= games python
MASTER_SITES= http://download.gna.org/slune/
DISTNAME= Slune-${PORTVERSION}
MAINTAINER= acm@FreeBSD.org
COMMENT= 3D game. includes racing, car-crashing, and lots of action
RUN_DEPENDS= soya_editor:${PORTSDIR}/graphics/py-soya3d \
${PYTHON_SITELIBDIR}/_openal.so:${PORTSDIR}/audio/py-openal \
${PYTHON_SITELIBDIR}/ogg/vorbis.so:${PORTSDIR}/audio/py-vorbis \
${PYTHON_SITELIBDIR}/py2play/level.py:${PORTSDIR}/net-p2p/py-py2play
LIB_DEPENDS= cal3d.12:${PORTSDIR}/graphics/cal3d
USE_BZIP2= yes
USE_DOS2UNIX= *.po *.mo
USE_GETTEXT= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_GL= glew
USE_SDL= sdl mixer
PYDISTUTILS_PKGNAME= Slune
PYDISTUTILS_EGGINFODIR= ${PREFIX}/share
DESKTOP_ENTRIES= "Slune" \
"3D racing game" \
"${DATADIR}/images/slune.48.png" \
"slune" \
"Game;ArcadeGame;" \
false
post-extract:
.for FILE in slune.po.orig slune.po.rej
@${RM} ${WRKSRC}/locale/es/LC_MESSAGES/${FILE}
.endfor
.for FILE in slune.po-0 slune.sl.mo slune.sl.po slune2.mo slune2.po
@${RM} ${WRKSRC}/locale/sl/LC_MESSAGES/${FILE}
.endfor
post-patch:
@${REINPLACE_CMD} -i "" -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.cfg
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>