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

PortSystem          1.0
PortGroup python26  1.0

name                py26-opengl
version             3.0.1
categories          python graphics
platforms           darwin
if {[info exists supported_archs]} {
    supported_archs noarch
}
license             BSD
maintainers         jmr openmaintainer

description         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 licenses.

homepage            http://pyopengl.sourceforge.net/

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

checksums           md5     cdf03284f24279b8d9914bb680a37b5e \
                    sha1    3a5b4888b0c9f73513c9e41629c32e1279907524 \
                    rmd160  cd9c3f20ae7154cc4fcb810dea3a24bd469d3c05

depends_build       port:py26-distribute
depends_lib         port:py26-pil port:py26-opengl-accelerate

test.run            yes

livecheck.type      regex
livecheck.url       http://pypi.python.org/pypi/PyOpenGL
livecheck.regex     {PyOpenGL ([0-9a-c.]+)}
