1 # Created by: Rusmir Dusko <nemysis@FreeBSD.org>
6 DISTVERSIONSUFFIX= -alpha4c
8 CATEGORIES= graphics python
9 MASTER_SITES= GOOGLE_CODE
10 DISTNAME= ${PORTNAME:tu}-V${DISTVERSION}${DISTVERSIONSUFFIX}
12 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
14 MAINTAINER= koalative@gmail.com
15 COMMENT= Python Graphical Game Engine and Libraries
20 RUN_DEPENDS= ${PYNUMPY} \
22 ${PYTHON_PKGNAMEPREFIX}PyOpenGL>=0:graphics/py-PyOpenGL \
23 ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow
25 USES= dos2unix python:2 zip
26 DOS2UNIX_GLOB= *.mtl *.py *.txt
27 USE_PYTHON= autoplist distutils
34 OPTIONS_DEFINE= DOCS EXAMPLES
37 @${REINPLACE_CMD} -e 's|data_files =|#data_files =|' \
41 @${MKDIR} ${STAGEDIR}${DOCSDIR}
42 ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
44 post-install-EXAMPLES-on:
45 @(cd ${WRKSRC}/examples_and_tutorials && ${COPYTREE_SHARE} . \
46 ${STAGEDIR}${EXAMPLESDIR}/examples_and_tutorials)
47 @(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${EXAMPLESDIR})
48 .for f in test_FBO test_camera test_gui test_mesh test_particle test_texture_swap
49 @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${f}.py ${STAGEDIR}${EXAMPLESDIR})
52 .include <bsd.port.mk>