alex version 2.1.0 for Mac OS X 10.5 Leopard
Sunday the 11th of May, 2008

    alex  most recent diff


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



      # $Id: Portfile 28161 2007-08-23 09:57:51Z ryandesign macports.org $

      PortSystem 1.0
      Name: alex
      Version: 2.1.0
      Category: devel
      Maintainers: gwright macports.org
      Platform: darwin
      Description: A Lexical Analyzer Generator for Haskell
      Long Description: Alex is a tool for generating lexical analysers in Haskell, given a description of the tokens to be recognised in the form of regular expressions. It is similar to the tools lex or flex for C/C++.

      Homepage: http://www.haskell.org/alex/
      master_sites http://www.haskell.org/alex/dist/${version}

      checksums md5 17e80d39cc3f1aba28dcea0e358c81e9

      depends_build port:ghc

      configure { cd ${worksrcpath}
      system "runhaskell Setup configure --ghc --prefix=${prefix}"
      }

      build { cd ${worksrcpath}
      system "runhaskell Setup build -v"
      }

      destroot { cd ${worksrcpath}
      system "runhaskell Setup copy --copy-prefix=${destroot}${prefix}"
      }

      livecheck.check regex
      livecheck.regex "version (.+) released"

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

     Where to find more information:

    Darwin Ports



    image test