openbsd-ports/graphics/py-opengl/Makefile
2010-08-30 21:24:15 +00:00

33 lines
745 B
Makefile

# $OpenBSD: Makefile,v 1.2 2010/08/30 21:24:15 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= 0
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>