# $Id: Portfile 66115 2010-04-06 04:51:52Z jmr@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name                 py-opengl
version              3.0.1b2
categories           python graphics
platforms            darwin
if {[info exists supported_archs]} {
    supported_archs noarch
}
maintainers          alakazam

description          PyOpenGL is a Python binding to OpenGL
long_description     PyOpenGL is the cross platform Python binding to OpenGL \
                     and related APIs. The binding is created using the \
                     standard ctypes library, and is provided under an \
                     extremely liberal BSD-style Open-Source license.

homepage             http://pyopengl.sourceforge.net/

master_sites         http://pypi.python.org/packages/source/P/PyOpenGL/
distname             PyOpenGL-${version}

checksums            md5     c7a69ea10855c5e5ef964790396e9d68 \
                     sha1    af25a39bb38d2e3934df289478f7f63f6a1c22a5 \
                     rmd160  2793dc5e13364d56fe6714ea28dc8a94ff174eae

depends_build-append port:py-setuptools
depends_lib-append   port:py-ctypes port:py-numpy

test.run             yes

livecheck.type       regex
livecheck.url        http://pypi.python.org/pypi/PyOpenGL
livecheck.regex      {PyOpenGL-(\d+.\d+.[a-z\d]+)}
