openbsd-ports/graphics/py-opengl/Makefile
wcmaier 39d88b3fe6 Import graphics/py-opengl (tested and requested by matthieu@):
PyOpenGL is the cross platform Python binding to OpenGL and related
APIs.  The binding is created using the standard (in Python 2.5 and
above) ctypes library, and is provided under an extremely liberal
BSD-style Open-Source license.

PyOpenGL includes support for OpenGL v1.1 through 3.0, GLU, GLUT v3.7
(and FreeGLUT), and GLE 3.  It also includes support for hundreds of
OpenGL extensions.

PyOpenGL is interoperable with a large number of external GUI libraries
for Python including (wxPython, FxPy, PyGame, and Qt).  It can be used
with the Tkinter GUI library if you have installed the Togl widget for
Tk.
2009-06-04 00:38:41 +00:00

32 lines
737 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2009/06/04 00:38:41 wcmaier Exp $
COMMENT = Python bindings for OpenGL
MODPY_EGG_VERSION = 3.0.0
DISTNAME = PyOpenGL-${MODPY_EGG_VERSION}
PKGNAME = py-opengl-${MODPY_EGG_VERSION}
WANTLIB = GL GLU
CATEGORIES = graphics
HOMEPAGE = http://pyopengl.sourceforge.net/
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=pyopengl/}
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/python
USE_X11 = Yes
REGRESS_IS_INTERACTIVE = X11
LIB_DEPENDS = glut.>=4::graphics/freeglut
REGRESS_DEPENDS = ::devel/pygame \
::graphics/py-opengl \
::math/py-numpy
do-regress:
${MODPY_BIN} ${WRKSRC}/tests/tests.py
.include <bsd.port.mk>