Commits

Ryan Schmidt authored bf269cf42d7
py-game: Fix build on case-sensitive filesystems

Closes: https://trac.macports.org/ticket/57339
No tags

python/py-game/Portfile

Modified
1 1 # -*- 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
2 2
3 3 PortSystem 1.0
4 4 PortGroup python 1.0
5 5
6 6 name py-game
7 7 version 1.9.4
8 +revision 1
8 9 categories-append devel multimedia graphics
9 10 platforms darwin
10 11 license LGPL-2.1+
11 12 maintainers {jmr @jmroot} openmaintainer
12 13 description pygame, python modules for writing games
13 14 long_description Pygame is a set of Python modules designed for \
14 15 writing games. It is written on top of the excellent \
15 16 SDL library. This allows you to create fully featured \
16 17 games and multimedia programs in the python language. \
17 18 Pygame is highly portable and runs on nearly every \
35 36 port:libsdl_image \
36 37 port:libsdl_ttf
37 38
38 39 use_configure yes
39 40 configure.env-append LOCALBASE=${prefix}
40 41 configure.cmd ${python.bin} config.py
41 42
42 43 post-destroot {
43 44 copy {*}[glob ${worksrcpath}/docs/*] ${destroot}${prefix}/share/doc/${subport}
44 45 xinstall -m 644 -W ${worksrcpath} install.html LGPL WHATSNEW \
45 - readme.html readme.rst ${destroot}${prefix}/share/doc/${subport}
46 + readme.html README.rst ${destroot}${prefix}/share/doc/${subport}
46 47 }
47 48
48 49 variant portmidi description {Enable MIDI support using portmidi} {
49 50 depends_lib-append port:portmidi
50 51 patchfiles-delete patch-disable_portmidi.diff
51 52 }
52 53
53 54 livecheck.type none
54 55 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut