2014-04-07 00:56:23 +02:00
|
|
|
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pyggel
|
|
|
|
PORTVERSION= 0.08
|
|
|
|
DISTVERSIONSUFFIX= -alpha4c
|
2016-05-09 21:26:26 +02:00
|
|
|
PORTREVISION= 3
|
2014-04-07 00:56:23 +02:00
|
|
|
CATEGORIES= graphics python
|
|
|
|
MASTER_SITES= GOOGLE_CODE
|
2014-05-05 11:45:36 +02:00
|
|
|
DISTNAME= ${PORTNAME:tu}-V${DISTVERSION}${DISTVERSIONSUFFIX}
|
2014-04-07 00:56:23 +02:00
|
|
|
DIST_SUBDIR= python
|
2014-04-07 03:02:29 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2014-04-07 00:56:23 +02:00
|
|
|
|
2014-06-04 16:14:21 +02:00
|
|
|
MAINTAINER= koalative@gmail.com
|
2014-04-07 00:56:23 +02:00
|
|
|
COMMENT= Python Graphical Game Engine and Libraries
|
|
|
|
|
2016-01-12 15:33:21 +01:00
|
|
|
LICENSE= LGPL3 PD
|
2016-05-10 21:53:45 +02:00
|
|
|
LICENSE_COMB= multi
|
2014-04-07 00:56:23 +02:00
|
|
|
|
2016-09-14 17:59:34 +02:00
|
|
|
BROKEN= Unfetchable (google code has gone away)
|
2017-03-03 17:00:19 +01:00
|
|
|
DEPRECATED= Unfetchable for more than six months (google code has gone away)
|
|
|
|
EXPIRATION_DATE= 2017-04-30
|
2016-09-14 17:59:34 +02:00
|
|
|
|
2014-04-07 00:56:23 +02:00
|
|
|
RUN_DEPENDS= ${PYNUMPY} \
|
|
|
|
${PYGAME} \
|
2016-05-10 21:53:45 +02:00
|
|
|
${PYTHON_PKGNAMEPREFIX}PyOpenGL>=0:graphics/py-PyOpenGL \
|
2016-04-01 16:00:51 +02:00
|
|
|
${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow
|
2014-04-07 00:56:23 +02:00
|
|
|
|
2014-10-07 18:53:11 +02:00
|
|
|
USES= dos2unix python:2 zip
|
2014-04-07 00:56:23 +02:00
|
|
|
DOS2UNIX_GLOB= *.mtl *.py *.txt
|
2014-10-07 18:53:11 +02:00
|
|
|
USE_PYTHON= autoplist distutils
|
2014-04-07 00:56:23 +02:00
|
|
|
NO_BUILD= yes
|
2016-05-10 21:53:45 +02:00
|
|
|
NO_ARCH= yes
|
2014-04-07 00:56:23 +02:00
|
|
|
|
|
|
|
PORTDOCS= Readme.txt
|
|
|
|
PORTEXAMPLES= *
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|data_files =|#data_files =|' \
|
|
|
|
${WRKSRC}/setup.py
|
|
|
|
|
2016-05-10 21:53:45 +02:00
|
|
|
post-install-DOCS-on:
|
2014-04-07 00:56:23 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
|
2016-05-10 21:53:45 +02:00
|
|
|
post-install-EXAMPLES-on:
|
2014-04-07 00:56:23 +02:00
|
|
|
@(cd ${WRKSRC}/examples_and_tutorials && ${COPYTREE_SHARE} . \
|
|
|
|
${STAGEDIR}${EXAMPLESDIR}/examples_and_tutorials)
|
|
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${EXAMPLESDIR})
|
2016-05-10 21:53:45 +02:00
|
|
|
.for f in test_FBO test_camera test_gui test_mesh test_particle test_texture_swap
|
2014-04-07 00:56:23 +02:00
|
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${f}.py ${STAGEDIR}${EXAMPLESDIR})
|
2016-05-10 21:53:45 +02:00
|
|
|
.endfor
|
2014-04-07 00:56:23 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|