# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           python25 1.0
name                py25-lepton
version             1.0b2
categories-append   graphics
maintainers         nomaintainer
description         Pluggable particle engine and API for Python
long_description \
   Lepton is a high-performance, pluggable particle engine and API for \
   Python. It is designed for creating graphical special effects for games \
   or other visual applications. The engine is designed to be very flexible \
   and does not rely on any other libraries directly. You can use it either \
   with OpenGL (via pyglet, PyOpenGL, wxPython, etc), or with pygame by \
   selecting the appropriate renderer.

platforms           darwin

homepage            http://code.google.com/p/py-lepton/
master_sites        http://py-lepton.googlecode.com/files/
distname            lepton-${version}

checksums           md5     3a7fcf870b20700620322b7a53bd102e \
                    sha1    639369c8524b17744a7096b25ca28aa4bbd4cbd3 \
                    rmd160  21bbc4f61d0b1027b7546bdd350c8beef71d8ef2

post-destroot {
   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
      ${destroot}${prefix}/share/examples/${name}
   xinstall -m 644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \
      ${destroot}${prefix}/share/doc/${name}
   eval copy [glob ${worksrcpath}/examples/*] \
      ${destroot}${prefix}/share/examples/${name}
}

livecheck.type      regex
livecheck.url       http://code.google.com/p/py-lepton/downloads/list
livecheck.regex     {lepton-([0-9a-z.]+)\.tar\.gz}

