larn version 4.6.2 for Mac OS X 10.5 Leopard
Sunday the 11th of May, 2008

    larn  most recent diff


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



      # $Id: Portfile 30573 2007-10-31 10:43:39Z ryandesign macports.org $

      PortSystem 1.0
      Name: larn
      Version: 4.6.2
      revision 4
      Category: games
      Maintainers: aschenke tampabay.rr.com
      Description: Text-based cavern exploring game
      Long Description: Larn is a text-based fantasy role-playing game similar to Rogue, Nethack, etc.
      Platform: darwin
      use_bzip2 yes
      master_sites http://www.mirrorservice.org/sites/master.us.finkmirrors.net/distfiles/
      distname ${name}-${version}-RELEASE
      checksums md5 cea96f48caa057793f6bcaf3394ca388
      build.type bsd
      build.args LDADD+=-L${prefix}/lib\\ -lcompat\\ -lcurses
      worksrcdir ${name}
      patchfiles patch-diag.c patch-display.c patch-global.c patch-help.c patch-io.c patch-main.c patch-monster.c patch-moreobj.c patch-movem.c patch-object.c patch-scores.c patch-store.c

      depends_lib port:libcompat

      configure {
      reinplace "s|MAN|MAN6|" ${worksrcpath}/Makefile
      reinplace "s|/usr/share/games|${prefix}/share|g" ${worksrcpath}/pathnames.h
      reinplace "s|/var/games|${prefix}/var/games|g" ${worksrcpath}/pathnames.h
      }

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/larn
      xinstall -m 755 -c ${worksrcpath}/larn ${destroot}${prefix}/bin
      xinstall -m 644 -c ${worksrcpath}/larn.6.gz ${destroot}${prefix}/share/man/man6
      xinstall -m 644 -c ${worksrcpath}/datfiles/larn.help ${destroot}${prefix}/share/larn
      xinstall -m 644 -c ${worksrcpath}/datfiles/larnmaze ${destroot}${prefix}/share/larn
      xinstall -m 775 -d ${destroot}${prefix}/var/games/larn
      xinstall -m 660 -c /dev/null ${destroot}${prefix}/var/games/larn/lscore12.0
      xinstall -m 660 -c /dev/null ${destroot}${prefix}/var/games/larn/llog12.0
      }

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

     Where to find more information:

    Darwin Ports



    image test