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

    version 5.4.4

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


      The rogue Portfile 59478 2009-10-15 15:57:08Z aschenke macports.org $

      PortSystem 1.0
      Name: rogue
      Version: 5.4.4
      Revision: 1
      Category: games
      Platform: darwin
      Maintainers: aschenke

      Description: Rogue is a popular dungeon exploring adventure game

      Long Description: Rogue is a popular dungeon exploring adventure game. It is one of the earliest (early 1980s) dungeon crawl games, and is an ancestor of games like Diablo. Version 5.4 is the last iteration of the original Rogue by Toy, Arnold, and Wichman developed for Unix.

      Homepage: http://rogue.rogueforge.net/

      Master Sites: http://rogue.rogueforge.net/files/rogue5.4/

      Checksums: md5 033288f46444b06814c81ea69d96e075 sha1 aef9e589c4f31eb6d3eeb9d543ab8787b00fb022

      distname ${name}${version}-src

      worksrcdir ${name}${version}

      depends_lib-append port:ncurses
      configure.cflags-append -I${prefix}/include/ncurses
      configure.cppflags-append -I${prefix}/include/ncurses
      build.env-append LDFLAGS=-L${prefix}/lib
      configure.args-append --with-ncurses

      Variant: singleuser description {Disables system-wide scoreboards and allows local user installation without root privileges} {}

      pre-configure {
      if {![variant_isset singleuser]} {
      addgroup games
      }
      }

      post-configure {
      reinplace "s|rogue.scr|${prefix}/var/games/rogue/rogue.scr|" ${worksrcpath}/config.h
      reinplace "s|rogue.lck|${prefix}/var/games/rogue/rogue.lck|" ${worksrcpath}/config.h
      }

      build.target
      build.cmd { make }

      destroot {
      if {![variant_isset singleuser]} {
      xinstall -m 2755 -g games -c ${worksrcpath}/rogue ${destroot}${prefix}/bin/rogue
      } else {
      xinstall -m 755 -c ${worksrcpath}/rogue ${destroot}${prefix}/bin/rogue
      }

      xinstall -m 644 -c ${worksrcpath}/rogue.6 ${destroot}${prefix}/share/man/man6/rogue.6

      if {![variant_isset singleuser]} {
      xinstall -m 775 -g games -d ${destroot}${prefix}/var/games/rogue
      } else {
      xinstall -m 775 -d ${destroot}${prefix}/var/games/rogue
      }

      file mkdir ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 -c ${worksrcpath}/${name}.doc ${destroot}${prefix}/share/doc/${name}/${name}.doc
      xinstall -m 644 -c ${worksrcpath}/${name}.html ${destroot}${prefix}/share/doc/${name}/${name}.html
      xinstall -m 644 -c ${worksrcpath}/${name}.cat ${destroot}${prefix}/share/doc/${name}/${name}.cat
      xinstall -m 644 -c ${worksrcpath}/LICENSE.TXT ${destroot}${prefix}/share/doc/${name}/LICENSE.TXT
      xinstall -m 644 -c ${worksrcpath}/${name}.me ${destroot}${prefix}/share/doc/${name}/${name}.me
      }

      destroot.keepdirs ${destroot}${prefix}/var/games/rogue

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.