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

    lgeneral  most recent diff


    version 1.1.1

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


      The lgeneral Portfile 54306 2009-07-24 18:46:00Z toby macports.org $

      PortSystem 1.0

      Name: lgeneral
      Version: 1.1.1
      Category: games
      Platform: darwin
      Maintainers: nomaintainer
      Description: Turn-based strategy engine heavily inspired by Panzer General
      Long Description: LGeneral is a turn-based strategy engine heavily inspired by Panzer General. You play single scenarios or whole campaigns turn by turn against a human player or the AI. Entrenchment, rugged defense, defensive fire, surprise contacts, surrender, unit supply, weather influence, reinforcements and other implementations contribute to the tactical and strategic depth of the game.

      Homepage: http://lgames.sourceforge.net/index.php?project=LGeneral
      Master Sites: sourceforge
      distfiles ${distname}.tar.gz lgc-pg-0.32.tar.gz ${name}-data-1.1.3.tar.gz
      Checksums: ${distname}.tar.gz md5 18b88069c91e7e7c75cc44a9aa90d0d9 lgc-pg-0.32.tar.gz md5 750d3e68bea1fde7935a357133026c9a ${name}-data-1.1.3.tar.gz md5 786feb83f163834a22e3e85e1970145f

      depends_lib lib:libsdl:libsdl lib:libsdl_mixer:libsdl_mixer

      configure {
      set conf "CPPFLAGS=-I${prefix}/include CFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib ./configure --prefix=${prefix}"
      system "cd ${worksrcpath} && ${conf} --disable-sdltest"
      system "cd ${workpath}/${name}-data-1.1.3 && ${conf}"
      system "cd ${workpath}/lgc-pg-0.32 && ${conf} --disable-sdltest"
      reinplace "s|,-export-dynamic||g" ${worksrcpath}/src/Makefile
      }

      build {
      system "cd ${worksrcpath} && ${build.cmd} all"
      system "cd ${workpath}/${name}-data-1.1.3 && ${build.cmd} all"
      system "cd ${workpath}/lgc-pg-0.32 && ${build.cmd} all"
      }

      destroot {
      set cmd "${build.cmd} install ${destroot.destdir}"
      system "cd ${worksrcpath} && ${cmd}"
      system "cd ${workpath}/${name}-data-1.1.3 && ${cmd}"
      system "cd ${workpath}/lgc-pg-0.32 && ${cmd}"
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.