2019-08-30 20:26:32 +02:00
|
|
|
# $NetBSD: Makefile,v 1.26 2019/08/30 18:26:32 nia Exp $
|
2007-07-13 17:06:09 +02:00
|
|
|
|
2016-07-24 02:48:16 +02:00
|
|
|
DISTNAME= PyOpenGL-3.1.1a1
|
2007-07-13 17:06:09 +02:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^Py//}
|
2016-08-21 03:32:45 +02:00
|
|
|
PKGREVISION= 1
|
2007-07-13 17:06:09 +02:00
|
|
|
CATEGORIES= graphics
|
2016-07-24 02:48:16 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=P/PyOpenGL/}
|
2007-07-13 17:06:09 +02:00
|
|
|
|
2010-11-01 01:08:09 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2007-07-13 17:06:09 +02:00
|
|
|
HOMEPAGE= http://pyopengl.sourceforge.net/
|
2013-12-25 02:29:06 +01:00
|
|
|
COMMENT= Python bindings for OpenGL
|
2016-07-24 02:48:16 +02:00
|
|
|
# There are many similar licenses, see license.txt
|
|
|
|
LICENSE= modified-bsd AND mit
|
2007-07-13 17:06:09 +02:00
|
|
|
|
2013-06-04 09:45:01 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-Tk-[0-9]*:../../x11/py-Tk
|
|
|
|
|
2016-07-24 02:48:16 +02:00
|
|
|
REPLACE_PYTHON+= *.py */*.py */*/*.py */*/*/*.py */*/*/*/*.py
|
|
|
|
|
|
|
|
# Tests require:
|
|
|
|
# - devel/py-virtualenv
|
|
|
|
# - devel/py-game
|
|
|
|
# - math/py-numpy
|
|
|
|
# ...
|
|
|
|
|
|
|
|
SUBST_CLASSES+= pyver
|
|
|
|
SUBST_MESSAGE.pyver= Set Python version suffix for virtualenv calls.
|
|
|
|
SUBST_STAGE.pyver= pre-configure
|
|
|
|
SUBST_FILES.pyver= tests/tests.py
|
|
|
|
SUBST_SED.pyver= -e '121s,virtualenv,virtualenv-${PYVERSSUFFIX},'
|
|
|
|
|
|
|
|
do-test:
|
|
|
|
${RUN} ${PYTHONBIN} ${WRKSRC}/tests/tests.py
|
2014-01-26 01:22:29 +01:00
|
|
|
|
|
|
|
.include "../../lang/python/application.mk"
|
2014-01-25 11:29:56 +01:00
|
|
|
.include "../../lang/python/distutils.mk"
|
2019-08-30 20:26:32 +02:00
|
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
|
|
.include "../../graphics/freeglut/buildlink3.mk"
|
|
|
|
.include "../../graphics/glu/buildlink3.mk"
|
2016-08-21 03:32:45 +02:00
|
|
|
.include "../../math/py-numpy/buildlink3.mk"
|
2007-07-13 17:06:09 +02:00
|
|
|
.include "../../lang/tcl/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|