54321 version 1.0.2001.11.16 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 1.0.2001.11.16

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


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

      PortSystem 1.0

      Name: 54321
      Version: 1.0.2001.11.16
      Category: games
      Platform: macosx
      Maintainers: nomaintainer

      Description: 5 games in 4, 3, or 2 dimensions for 1 player
      Long Description: 54321 is five games in four, three, or two dimensions for one player. 54321 takes five classic two-dimensional puzzle games and extends them into three and four dimensions. For more information, see the help within the game.

      Homepage: http://www.nklein.com/products/54321/
      Master Sites: ${homepage}${version}/
      dist_subdir ${name}/${version}
      distname ${name}
      extract.suffix .tgz

      depends_build port:libiconv port:zlib

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

      Checksums: md5 20b2ad52ef45742c1a65911b225b6ddc sha1 9841276d6e1f00de4de22cc11d19e1f08a9a01cb rmd160 63381c6f9cbc2d785ebf76dddc54b178cd704078

      post-patch {
      reinplace -E "/CXX/s/CC/g++/" ${worksrcpath}/archs/Darwin/variables.GNU
      reinplace -E "s /(usr/local|sw) ${prefix} " ${worksrcpath}/archs/Darwin/variables.GNU
      }

      use_configure no

      build.type gnu
      build.env CC=g++

      destroot {
      xinstall -d ${destroot}${applications_dir}
      copy ${worksrcpath}/Release/bin/Darwin/${name}.app ${destroot}${applications_dir}
      }

      Variant: universal {
      post-patch {
      reinplace -E "/^CPPFLAGS/s|\\+=|+= ${configure.universal_cflags}|" ${worksrcpath}/archs/Darwin/variables.GNU
      reinplace -E "/^LDFLAGS/s|\\+=|+= ${configure.universal_ldflags}|" ${worksrcpath}/archs/Darwin/variables.GNU
      }
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.