Update graphics/cimg to version 1.7.5,3
[dports.git] / graphics / py-pyggel / Makefile
1 # Created by: Rusmir Dusko <nemysis@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       pyggel
5 PORTVERSION=    0.08
6 DISTVERSIONSUFFIX=      -alpha4c
7 PORTREVISION=   3
8 CATEGORIES=     graphics python
9 MASTER_SITES=   GOOGLE_CODE
10 DISTNAME=       ${PORTNAME:tu}-V${DISTVERSION}${DISTVERSIONSUFFIX}
11 DIST_SUBDIR=    python
12 PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
13
14 MAINTAINER=     koalative@gmail.com
15 COMMENT=        Python Graphical Game Engine and Libraries
16
17 LICENSE=        LGPL3 PD
18 LICENSE_COMB=   multi
19
20 RUN_DEPENDS=    ${PYNUMPY} \
21                 ${PYGAME} \
22                 ${PYTHON_PKGNAMEPREFIX}PyOpenGL>=0:graphics/py-PyOpenGL \
23                 ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow
24
25 USES=           dos2unix python:2 zip
26 DOS2UNIX_GLOB=  *.mtl *.py *.txt
27 USE_PYTHON=     autoplist distutils
28 NO_BUILD=       yes
29 NO_ARCH=        yes
30
31 PORTDOCS=       Readme.txt
32 PORTEXAMPLES=   *
33
34 OPTIONS_DEFINE= DOCS EXAMPLES
35
36 post-patch:
37         @${REINPLACE_CMD} -e 's|data_files =|#data_files =|' \
38                 ${WRKSRC}/setup.py
39
40 post-install-DOCS-on:
41         @${MKDIR} ${STAGEDIR}${DOCSDIR}
42         ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
43
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})
50 .endfor
51
52 .include <bsd.port.mk>