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

    version 3.1

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


      The atanks Portfile 45610 2009-01-18 22:00:27Z blb macports.org $

      PortSystem 1.0

      Name: atanks
      Version: 3.1
      Category: games
      Platform: darwin
      Maintainers: nomaintainer

      Description: atanks is a multi-platform Scorched Earth clone
      Long Description: ${description}

      Homepage: http://atanks.sourceforge.net/
      Master Sites: sourceforge
      Checksums: md5 16c46685a089e40f1dc69010b4d839a8 sha1 3937a1dab9001c60be659bb913d95b9c57817d2c rmd160 e51624da4563b9cdc3e77275d6212895cded537f
      worksrcdir ${name}

      depends_lib port:allegro

      Patch Files: patch-Makefile patch-src-Makefile patch-src-files.cc

      post-patch {
      reinplace s| PREFIX |${prefix}|g ${worksrcpath}/Makefile
      reinplace s| DESTROOT |${destroot}|g ${worksrcpath}/Makefile
      }

      use_configure no

      build.env CFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
      build.args PREFIX=${prefix}

      platform darwin {
      post-destroot {
      xinstall -d ${destroot}${applications_dir}/ATanks.app/Contents/MacOS
      ln -s ${prefix}/bin/atanks ${destroot}${applications_dir}/ATanks.app/Contents/MacOS/ATanks
      }
      }

      livecheck.version [strsed ${version} {g/\.//}]
      livecheck.regex ${name} ${name}-(.*) released.*

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.