# $Id: Portfile 136001 2015-05-09 11:19:45Z ryandesign@macports.org $ PortSystem 1.0 PortGroup python 1.0 name py-lepton version 1.0b2 categories-append graphics maintainers nomaintainer license MIT BSD 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. python.versions 27 platforms darwin homepage http://code.google.com/p/py-lepton/ master_sites googlecode:py-lepton distname lepton-${version} # can be removed with next version update dist_subdir python checksums md5 3a7fcf870b20700620322b7a53bd102e \ sha1 639369c8524b17744a7096b25ca28aa4bbd4cbd3 \ rmd160 21bbc4f61d0b1027b7546bdd350c8beef71d8ef2 if {${name} ne ${subport}} { patchfiles patch-setup.py.diff post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} \ ${destroot}${prefix}/share/examples/${subport} xinstall -m 644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \ ${destroot}${prefix}/share/doc/${subport} eval copy [glob ${worksrcpath}/examples/*] \ ${destroot}${prefix}/share/examples/${subport} } livecheck.type none }