# $Id$ PortSystem 1.0 PortGroup python 1.0 name py-glewpy version 0.7.4 revision 10 maintainers nomaintainer description Python bindings for GLEW (OpenGL Extension Wrangler) long_description GLEWpy aims to bring advanced OpenGL extensions to Python. \ This will allow the Python OpenGL developer to use features such as \ fragment and vertex shaders and image processing on the GPU. \ It serves as a compliment to PyOpenGL and toolkits such as \ GLUT and SDL (pygame). categories-append graphics platforms darwin freebsd homepage http://glewpy.sourceforge.net/ master_sites sourceforge:project/glewpy/glewpy/glewpy-${version} distname glewpy-${version} checksums md5 3d2aae86aae328ab60897915bf9530fc python.versions 27 if {$subport ne $name} { patchfiles patch-setup.py depends_lib-append port:glew \ port:py${python.version}-pyrex post-patch { reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/setup.py } post-destroot { xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${subport} } livecheck.type none } else { livecheck.type sourceforge livecheck.name glewpy livecheck.regex /${livecheck.name}-(\[0-9.\]+)${extract.suffix} }