blob: 20eeea669f8203c7c09d113254b3fd32916083b4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
# $FreeBSD$
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 # (or later)
LIB_DEPENDS= libcal3d.so:${PORTSDIR}/graphics/cal3d \
libfreetype.so:${PORTSDIR}/print/freetype2
RUN_DEPENDS= soya_editor:${PORTSDIR}/graphics/py-soya3d \
${PYTHON_PKGNAMEPREFIX}openal>0:${PORTSDIR}/audio/py-openal \
${PYTHON_PKGNAMEPREFIX}vorbis>0:${PORTSDIR}/audio/py-vorbis \
${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_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 <bsd.port.mk>
|