Py-game version 1.9.1 - How to Download and Install on Mac OS X
Friday the 3rd of September, 2010

    py-game  most recent diff


    version 1.9.1

      View the most recent changes for the py-game port at: py-game.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for py-game.
      The raw portfile for py-game 1.9.1 is located here:
      http://py-game.darwinports.com/dports/python/py-game/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/py-game


      # -*- 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
      The py-game Portfile 60714 2009-11-20 21:28:17Z jmr macports.org $

      PortSystem 1.0
      PortGroup python24 1.0

      Name: py-game
      Version: 1.9.1
      Revision: 1
      Category: python devel multimedia graphics
      Platform: darwin
      Maintainers: nomaintainer
      Description: 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: ${homepage}ftp/
      distname pygame-${version}release
      Checksums: md5 1c4cdc708d17c8250a2d78ef997222fc sha1 a45aeb0623e36ae7a1707b5f41ee6274f72ca4fa rmd160 352d74d6cb025e7489e1123a7a25d1695beabafb

      Patch Files: patch-config_darwin.py.diff

      depends_lib-append path:lib/pkgconfig/sdl.pc:libsdl port:libsdl_mixer port:libsdl_image port:libsdl_ttf port:smpeg port:py-numpy

      use_configure yes
      configure.env-append LOCALBASE=${prefix}
      configure.cmd ${python.bin} config.py

      post-destroot {
      delete ${destroot}${prefix}/share/doc/${name}/examples
      eval copy [glob ${worksrcpath}/docs/*] ${destroot}${prefix}/share/doc/${name}
      copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 -W ${worksrcpath} install.html WHATSNEW README.txt ${destroot}${prefix}/share/doc/${name}
      }

      livecheck.type regex
      livecheck.url ${homepage}download.shtml
      livecheck.regex {}

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the
    main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/py-game
      % sudo port install py-game
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching py-game
      ---> Verifying checksum for py-game
      ---> Extracting py-game
      ---> Configuring py-game
      ---> Building py-game with target all
      ---> Staging py-game into destroot
      ---> Installing py-game
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using py-game with these commands:
      %  man py-game
      % apropos py-game
      % which py-game
      % locate py-game

     Where to find more information:

    Darwin Ports



    Lightbox this page.