Rocksndiamonds version 3.2.4 - How to Download and Install on Mac OS X
Monday the 23rd of November, 2009

    rocksndiamonds  most recent diff


    version 3.2.4

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


      The rocksndiamonds Portfile 58210 2009-09-24 06:56:08Z ryandesign macports.org $

      PortSystem 1.0

      Name: rocksndiamonds
      Version: 3.2.4
      Category: games
      Platform: darwin
      Maintainers: phw
      Description: Arcade style game Boulderdash or Emerald Mine clone
      Long Description: Arcade style game Boulderdash (C64) or Emerald Mine (Amiga) clone. Included are many levels known from the games Boulderdash, Emerald Mine, Sokoban, Supaplex and DX-Boulderdash, level elements for Diamond Caves II style games and a lot of new levels designed by others.

      Homepage: http://www.artsoft.org/rocksndiamonds/
      Master Sites: http://www.artsoft.org/RELEASES/unix/${name}
      Checksums: md5 561bbebc7f59b3fa61bae9d7340ae49d
      Patch Files: patch-Makefile.diff

      depends_lib path:lib/pkgconfig/sdl.pc:libsdl port:libsdl_image port:libsdl_mixer port:libsdl_net

      configure {
      reinplace "s|_PREFIX_|${prefix}|g" ${worksrcpath}/Makefile
      }

      build.target sdl

      destroot {
      xinstall -s -m 755 ${worksrcpath}/rocksndiamonds ${destroot}${prefix}/bin
      file mkdir ${destroot}${prefix}/share/games/rocksndiamonds
      file copy ${worksrcpath}/graphics ${worksrcpath}/levels ${worksrcpath}/music ${worksrcpath}/sounds ${destroot}${prefix}/share/games/rocksndiamonds
      }

      platform darwin 8 {
      build.args CC=/usr/bin/gcc-4.0
      }

      platform macosx {
      post-destroot {
      file mkdir ${destroot}/Applications/MacPorts/RocksnDiamonds.app/Contents/MacOS
      system "ln -s ${prefix}/bin/rocksndiamonds ${destroot}/Applications/MacPorts/RocksnDiamonds.app/Contents/MacOS/RocksnDiamonds"
      }
      }


    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/rocksndiamonds
      % sudo port install rocksndiamonds
      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 rocksndiamonds
      ---> Verifying checksum for rocksndiamonds
      ---> Extracting rocksndiamonds
      ---> Configuring rocksndiamonds
      ---> Building rocksndiamonds with target all
      ---> Staging rocksndiamonds into destroot
      ---> Installing rocksndiamonds
    - 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 rocksndiamonds with these commands:
      %  man rocksndiamonds
      % apropos rocksndiamonds
      % which rocksndiamonds
      % locate rocksndiamonds

     Where to find more information:

    Darwin Ports



    Lightbox this page.