# -*- 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
categories-append devel multimedia graphics
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/
master_sites pypi:P/Pygame
distname pygame-${version}
checksums rmd160 8ff2ae8d1846cf7df237cf2350b1652be097d337 \
sha256 700d1781c999af25d11bfd1f3e158ebb660f72ebccb2040ecafe5069d0b2c0b6
python.versions 26 27 35 36 37
patchfiles patch-config_darwin.py.diff \
patch-disable_portmidi.diff
depends_lib port:py${python.version}-numpy \
configure.env-append LOCALBASE=${prefix}
configure.cmd ${python.bin} config.py
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