# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup python 1.0 name py-game version 1.9.4 revision 1 categories-append devel multimedia graphics platforms darwin license LGPL-2.1+ maintainers {jmr @jmroot} openmaintainer description pygame, python modules for writing games long_description Pygame is a set of Python modules designed for \ writing games. It is written on top of the excellent \ SDL library. This allows you to create fully featured \ games and multimedia programs in the python language. \ Pygame is highly portable and runs on nearly every \ platform and operating system. homepage http://www.pygame.org/ python.rootname Pygame master_sites pypi:P/Pygame distname pygame-${version} checksums rmd160 8ff2ae8d1846cf7df237cf2350b1652be097d337 \ sha256 700d1781c999af25d11bfd1f3e158ebb660f72ebccb2040ecafe5069d0b2c0b6 python.versions 26 27 35 36 37 if {$subport ne $name} { patchfiles patch-config_darwin.py.diff \ patch-disable_portmidi.diff depends_lib port:py${python.version}-numpy \ port:libsdl_mixer \ port:libsdl_image \ port:libsdl_ttf use_configure yes configure.env-append LOCALBASE=${prefix} configure.cmd ${python.bin} config.py post-destroot { copy {*}[glob ${worksrcpath}/docs/*] ${destroot}${prefix}/share/doc/${subport} xinstall -m 644 -W ${worksrcpath} install.html LGPL WHATSNEW \ readme.html README.rst ${destroot}${prefix}/share/doc/${subport} } variant portmidi description {Enable MIDI support using portmidi} { depends_lib-append port:portmidi patchfiles-delete patch-disable_portmidi.diff } livecheck.type none }