source: trunk/dports/python/py-glewpy/Portfile

Last change on this file was 139308, checked in by jmr@…, 2 years ago

glew: update to 1.13.0 and rev bump dependents

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 139308 2015-08-12 02:46:18Z ryandesign@macports.org $
2
3PortSystem              1.0
4PortGroup               python 1.0
5
6name                    py-glewpy
7version                 0.7.4
8revision                10
9maintainers             nomaintainer
10description             Python bindings for GLEW (OpenGL Extension Wrangler)
11long_description        GLEWpy aims to bring advanced OpenGL extensions to Python. \
12                        This will allow the Python OpenGL developer to use features such as \
13                        fragment and vertex shaders and image processing on the GPU. \
14                        It serves as a compliment to PyOpenGL and toolkits such as \
15                        GLUT and SDL (pygame).
16categories-append       graphics
17platforms               darwin freebsd
18homepage                http://glewpy.sourceforge.net/
19master_sites            sourceforge:project/glewpy/glewpy/glewpy-${version}
20distname                glewpy-${version}
21checksums               md5 3d2aae86aae328ab60897915bf9530fc
22
23python.versions         27
24
25if {$subport ne $name} {
26    patchfiles              patch-setup.py
27   
28    depends_lib-append      port:glew \
29                            port:py${python.version}-pyrex
30   
31    post-patch {
32        reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/setup.py
33    }
34    post-destroot {
35            xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${subport}
36    }
37    livecheck.type          none
38} else {
39    livecheck.type          sourceforge
40    livecheck.name          glewpy
41    livecheck.regex         /${livecheck.name}-(\[0-9.\]+)${extract.suffix}
42}
Note: See TracBrowser for help on using the repository browser.