2006-05-17 21:00:07 +02:00
|
|
|
# New ports collection makefile for: balazarbrothers
|
|
|
|
# Date created: 2006-05-07
|
|
|
|
# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= balazarbrothers
|
2006-06-15 01:33:55 +02:00
|
|
|
PORTVERSION= 0.3.1
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 5
|
2006-05-17 21:00:07 +02:00
|
|
|
CATEGORIES= games python
|
2006-06-15 01:33:55 +02:00
|
|
|
MASTER_SITES= http://download.gna.org/${PORTNAME:S/brothers//}/
|
|
|
|
DISTNAME= ${PORTNAME:S/b/B/g}-${PORTVERSION}
|
2006-05-17 21:00:07 +02:00
|
|
|
|
2006-07-23 04:45:24 +02:00
|
|
|
MAINTAINER= acm@FreeBSD.org
|
2006-05-17 21:00:07 +02:00
|
|
|
COMMENT= Balazar Brother is a free software 3D puzzle game
|
|
|
|
|
2006-08-21 18:03:29 +02:00
|
|
|
LIB_DEPENDS= cal3d.12:${PORTSDIR}/graphics/cal3d \
|
2006-05-17 21:00:07 +02:00
|
|
|
freetype.9:${PORTSDIR}/print/freetype2
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/cerealizer/__init__.py:${PORTSDIR}/security/py-cerealizer \
|
|
|
|
${PYTHON_SITELIBDIR}/soya/__init__.py:${PORTSDIR}/graphics/py-soya3d \
|
|
|
|
${PYTHON_SITELIBDIR}/tofu/__init__.py:${PORTSDIR}/net/py-tofu \
|
|
|
|
${PYTHON_SITELIBDIR}/ogg/__init__.py:${PORTSDIR}/audio/py-vorbis
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS=yes
|
|
|
|
USE_TWISTED= yes
|
2010-04-27 23:58:27 +02:00
|
|
|
USE_GL= glew
|
2006-05-17 21:00:07 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
|
2007-07-30 11:42:28 +02:00
|
|
|
PYDISTUTILS_PKGNAME= BalazarBrothers
|
2007-11-13 00:33:01 +01:00
|
|
|
PYDISTUTILS_EGGINFODIR= ${PREFIX}/share
|
2006-06-15 01:33:55 +02:00
|
|
|
DATADIR= share/balazar_brothers
|
2006-05-17 21:00:07 +02:00
|
|
|
|
2009-06-13 17:46:12 +02:00
|
|
|
OPTIONS= OPENAL "Use openal sound system" on
|
2006-05-17 21:00:07 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_OPENAL)
|
|
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_openal.so:${PORTSDIR}/audio/py-openal
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/setup.cfg
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|