# Created by: Jose Alonso Cardenas Marquez # $FreeBSD: head/games/balazar/Makefile 412346 2016-04-01 14:00:51Z mat $ PORTNAME= balazar PORTVERSION= 0.3.4 PORTREVISION= 7 CATEGORIES= games python MASTER_SITES= http://download.gna.org/balazar/ DISTNAME= Balazar-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= 3D adventure and roleplaying game LICENSE= GPLv2+ LIB_DEPENDS= libcal3d.so:graphics/cal3d \ libfreetype.so:print/freetype2 RUN_DEPENDS= soya_editor:graphics/py-soya3d \ ${PYTHON_PKGNAMEPREFIX}openal>0:audio/py-openal \ ${PYTHON_PKGNAMEPREFIX}vorbis>0:audio/py-vorbis \ ${PYTHON_PKGNAMEPREFIX}tofu>0:net/py-tofu \ ${PYTHON_PKGNAMEPREFIX}cerealizer>0:security/py-cerealizer NO_ARCH= yes USES= gettext python tar:bzip2 twisted USE_GL= glew USE_SDL= mixer sdl USE_PYTHON= autoplist distutils PYDISTUTILS_PKGNAME= Balazar PYDISTUTILS_EGGINFODIR= ${PREFIX}/share PORTDOCS= README DESKTOP_ENTRIES="Balazar" "" "" "balazar" "" "" OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ '/^install-purelib/s|=.*|= ${PREFIX}/share| ; \ /^install-scripts/s|=.*|= ${PREFIX}/bin| ; \ /^install-data/s|=.*|= ${PREFIX}/share|' ${WRKSRC}/setup.cfg @${REINPLACE_CMD} -e \ '/LC_MESSAGES/s|".",||' ${WRKSRC}/setup.py post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include