openbsd-ports/graphics/py-opengl/Makefile
2011-06-08 17:31:05 +00:00

32 lines
722 B
Makefile

# $OpenBSD: Makefile,v 1.6 2011/06/08 17:35:28 jasper Exp $
COMMENT = Python bindings for OpenGL
MODPY_EGG_VERSION = 3.0.0
DISTNAME = PyOpenGL-${MODPY_EGG_VERSION}
PKGNAME = py-opengl-${MODPY_EGG_VERSION}
REVISION= 1
WANTLIB = GL GLU glut>=4
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
REGRESS_IS_INTERACTIVE = X11
LIB_DEPENDS = graphics/freeglut
REGRESS_DEPENDS = devel/pygame \
graphics/py-opengl \
math/py-numpy
do-regress:
${MODPY_BIN} ${WRKSRC}/tests/tests.py
.include <bsd.port.mk>