# Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= balazarbrothers PORTVERSION= 0.3.1 PORTREVISION= 7 CATEGORIES= games python MASTER_SITES= http://download.gna.org/${PORTNAME:S/brothers//}/ DISTNAME= ${PORTNAME:S/b/B/g}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Free software 3D puzzle game LICENSE= GPLv2 # or later LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcal3d.so:${PORTSDIR}/graphics/cal3d \ libfreetype.so:${PORTSDIR}/print/freetype2 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}vorbis>0:${PORTSDIR}/audio/py-vorbis \ ${PYTHON_PKGNAMEPREFIX}soya3d>0:${PORTSDIR}/graphics/py-soya3d \ ${PYTHON_PKGNAMEPREFIX}tofu>0:${PORTSDIR}/net/py-tofu \ ${PYTHON_PKGNAMEPREFIX}cerealizer>0:${PORTSDIR}/security/py-cerealizer NO_ARCH= yes USES= gettext python tar:bzip2 twisted USE_GL= glew USE_PYTHON= autoplist distutils PYDISTUTILS_PKGNAME= BalazarBrothers PYDISTUTILS_EGGINFODIR= ${PREFIX}/share PYDISTUTILS_SETUP= ${PYSETUP} PYDISTUTILS_INSTALLNOSINGLE= yes DESKTOP_ENTRIES="BalazarBrothers" "" "" "balazarbrothers" "" "" OPTIONS_DEFINE= OPENAL OPTIONS_DEFAULT= OPENAL OPENAL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openal>0:${PORTSDIR}/audio/py-openal 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 .include