Download and Install py-game version 1.8.0 on Mac OS X
Thursday the 24th of July, 2008

    py-game  most recent diff


      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.8.0 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
      Google
      Web Darwinports.com



      # -*- 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
      # $Id: Portfile 38082 2008-07-05 23:14:42Z ryandesign macports.org $

      PortSystem 1.0
      PortGroup python24 1.0

      Name: py-game
      Version: 1.8.0
      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 8d9cca47d356db2ada07865aa066dceb sha1 00ef4695efc7a666017862ae4cffc316902dd99b rmd160 6df6f88deea5a1ef19933e6a0696e102843b293c

      patchfiles patch-config_darwin.py.diff

      depends_lib-append port:libsdl port:libsdl_mixer port:libsdl_image port:libsdl_ttf port:smpeg port:py-numeric port:py-pyobjc

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

      post-configure {
      # Make sure the X11 include directory is found.
      reinplace "s|-Ddarwin -lSDL|-Ddarwin -lSDL -I${x11prefix}/include|g" ${worksrcpath}/Setup
      }

      platform darwin 9 {
      depends_lib-delete port:py-pyobjc
      depends_lib-append port:py-pyobjc2 port:py-pyobjc2-cocoa
      }

      post-destroot {
      file delete -force ${destroot}${prefix}/share/doc/${name}
      file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
      file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 -W ${worksrcpath} install.html WHATSNEW readme.txt ${destroot}${prefix}/share/doc/${name}
      }

      livecheck.check regex
      livecheck.url http://pypi.python.org/pypi/Pygame/
      livecheck.regex {Pygame ([0-9]\.[0-9]+\.[0-9]+)}

    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



    image test