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

Last change on this file was 136001, checked in by ryandesign@…, 2 years ago

py-lepton: fix build error "clang: error: unknown argument: '-framework:OpenGL'"

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 136001 2015-05-09 11:19:45Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           python 1.0
5
6name                py-lepton
7version             1.0b2
8categories-append   graphics
9maintainers         nomaintainer
10license             MIT BSD
11
12description         Pluggable particle engine and API for Python
13long_description \
14   Lepton is a high-performance, pluggable particle engine and API for \
15   Python. It is designed for creating graphical special effects for games \
16   or other visual applications. The engine is designed to be very flexible \
17   and does not rely on any other libraries directly. You can use it either \
18   with OpenGL (via pyglet, PyOpenGL, wxPython, etc), or with pygame by \
19   selecting the appropriate renderer.
20
21python.versions     27
22
23platforms           darwin
24
25homepage            http://code.google.com/p/py-lepton/
26master_sites        googlecode:py-lepton
27distname            lepton-${version}
28
29# can be removed with next version update
30dist_subdir         python
31
32checksums           md5     3a7fcf870b20700620322b7a53bd102e \
33                    sha1    639369c8524b17744a7096b25ca28aa4bbd4cbd3 \
34                    rmd160  21bbc4f61d0b1027b7546bdd350c8beef71d8ef2
35
36if {${name} ne ${subport}} {
37    patchfiles      patch-setup.py.diff
38
39    post-destroot {
40        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} \
41            ${destroot}${prefix}/share/examples/${subport}
42        xinstall -m 644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \
43            ${destroot}${prefix}/share/doc/${subport}
44        eval copy [glob ${worksrcpath}/examples/*] \
45            ${destroot}${prefix}/share/examples/${subport}
46    }
47
48    livecheck.type  none
49}
Note: See TracBrowser for help on using the repository browser.