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

    angband  most recent diff


    version 3.0.6

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


      The angband Portfile 56065 2009-08-24 00:50:17Z ryandesign macports.org $
      PortSystem 1.0

      Name: angband
      Version: 3.0.6
      Revision: 1
      Category: games
      Platform: darwin
      Maintainers: nomaintainer
      Description: a rogue-like dungeon exploration game (curses-based)
      Long Description: Angband is a freeware computer dungeon exploration game based (loosely) on the books of J.R.R.Tolkien. You explore a very deep dungeon, kill monsters, try to equip yourself with the best weapons and armor you can find, and finally face Morgoth - The Dark Enemy.

      Homepage: http://rephial.org/

      Master Sites: http://angband.oook.cz/download/:source http://angband.oook.cz/download/extra/:extras http://angband.oook.cz/download/extra/:mac

      distfiles ${name}-${version}.tar.gz:source
      Checksums: ${name}-${version}.tar.gz md5 4c31b1b3679dff20db6a5fcb182c3e96
      extract.only ${name}-${version}.tar.gz

      configure.args --with-setgid=games --with-libpath=${prefix}/var/games/angband --bindir=${prefix}/bin --without-x

      pre-configure {
      addgroup games
      }

      Variant: x11 {
      distfiles-append ${name}-graf.zip:extras
      checksums-append ${name}-graf.zip md5 488320ea35e3542d959543dd3c0dacec

      depends_lib-append lib:libXaw:xorg-libXaw
      configure.args-delete --without-x
      configure.args-append --with-x

      post-destroot { system "mkdir ${worksrcpath}/graf; unzip ${distpath}/angband-graf.zip -d ${worksrcpath}/graf/"
      xinstall -m 755 -d ${destroot}${prefix}/var/games/angband/xtra/graf
      xinstall -m 644 -c ${worksrcpath}/graf/16x16.bmp ${destroot}${prefix}/var/games/angband/xtra/graf
      xinstall -m 644 -c ${worksrcpath}/graf/8X8.bmp ${destroot}${prefix}/var/games/angband/xtra/graf
      xinstall -m 644 -c ${worksrcpath}/graf/8x13.bmp ${destroot}${prefix}/var/games/angband/xtra/graf
      xinstall -m 644 -c ${worksrcpath}/graf/backgrnd.bmp ${destroot}${prefix}/var/games/angband/xtra/graf
      xinstall -m 644 -c ${worksrcpath}/graf/mask.bmp ${destroot}${prefix}/var/games/angband/xtra/graf }
      }

      # variant aqua {
      # distfiles-append ext-mac-306.zip:mac ext-graf-mac-306.zip:mac ext-sound-mac-306.zip:mac
      # checksums-append ext-mac-306.zip md5 e8989e1c4acf9efb10e0ab078e7303f2 # ext-graf-mac-306.zip md5 263d33545a8be198a4a014c73f581035 # ext-sound-mac-306.zip md5 7886ff8cd9ac98bdfec50c50131c406e
      #
      # post-extract {
      # system "unzip ${distpath}/ext-mac-306.zip -d ${worksrcpath}/src/; # unzip ${distpath}/ext-graf-mac-306.zip -d ${worksrcpath}/src/; # unzip ${distpath}/ext-sound-mac-306.zip -d ${worksrcpath}/src/"
      # }
      #
      # configure { reinplace "s|# define SET_UID||" ${worksrcpath}/src/h-config.h }
      #
      # build {
      # cd ${worksrcpath}/src
      # system "make -f Makefile.osx; # make -f Makefile.osx install-tiles; # make -f Makefile.osx install-sound"
      # }
      #
      # destroot { xinstall -d ${destroot}/Applications/MacPorts/
      # system "cp -r ${worksrcpath}/Angband.app ${destroot}/Applications/MacPorts/." }
      # }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.