freebsd-ports/graphics/py-pyggel/Makefile
Mathieu Arnold bebf3178ae Mark the remaining ports depending on Google Code as DEPRECATED, with an
EXPIRATION_DATE at the end of April 2017.

In the past six months, about a third of the ports marked BROKEN because
they were hosted on Google Code have been fixed.  The remaining must not
be of use to anyone.

With hat:	portmgr
Sponsored by:	Absolight
2017-03-03 16:00:19 +00:00

56 lines
1.5 KiB
Makefile

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