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

    allegro  most recent diff


    version 4.2.2

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


      The allegro Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: allegro
      Version: 4.2.2
      Revision: 1
      Description: A game programming library for C/C++ developers.
      Long Description: Allegro is a game programming library for C/C++ developers distributed freely, supporting many platforms.
      Maintainers: raimue openmaintainer
      Category: devel games
      Platform: darwin
      use_parallel_build yes
      Homepage: http://alleg.sourceforge.net/
      Master Sites: sourceforge:alleg
      Checksums: md5 87ffb1def034e0ec29a9ad4a595cda7e
      Patch Files: patch-makefile.osx

      configure {
      system "cd ${worksrcpath} && sh fix.sh macosx"
      reinplace "s|CC = gcc|CC = ${configure.cc}|" ${worksrcpath}/makefile.osx
      }

      # check for universal build
      pre-build {
      if {! [variant_isset universal]} {
      build.args PREFIX=${prefix}
      } else {
      build.args PREFIX=${prefix} UB=1
      }
      }

      build.target

      destroot.target install install-man
      destroot.args PREFIX=${prefix}

      # some additional tools were build, let's install them
      post-destroot {
      foreach tool {colormap dat dat2c dat2s exedat grabber pack pat2dat rgbmap textconv} {
      xinstall -m 0755 -W ${worksrcpath}/tools/ ${tool} ${destroot}${prefix}/bin/
      }
      }

      livecheck.type regex
      livecheck.url http://alleg.sourceforge.net/wip.html
      livecheck.regex {Stable branch ([\d.]+) source releases}

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.