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

    version 1.39

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


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

      PortSystem 1.0

      Name: lemon
      Version: 1.39
      Revision: 1
      Category: lang devel
      Platform: darwin
      Maintainers: mww
      Description: An LALR(1) parser generator like yacc or bison.
      Long Description: ${description}

      Homepage: http://www.hwaci.com/sw/lemon/
      Master Sites: http://people.FreeBSD.org/~seanc/ports/lemon/ freebsd
      Checksums: sha1 0baa13c54d437b21ccf802792e4ef081e5af3348
      use_bzip2 yes
      post-extract {
      xinstall -m 644 ${filespath}/Makefile ${worksrcpath}
      xinstall -m 755 ${filespath}/configure ${worksrcpath}
      }

      Patch Files: patch-lemon.c.diff

      configure.env-append PREFIX=${prefix}

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/lemon
      xinstall -m 755 -W ${worksrcpath} lemon lemoncxx ${destroot}${prefix}/bin
      xinstall -m 644 ${worksrcpath}/lempar.c ${destroot}${prefix}/share/lemon/lempar.c
      xinstall -m 644 ${worksrcpath}/lempar.c ${destroot}${prefix}/share/lemon/lempar.cpp
      }

      livecheck.type moddate
      livecheck.url http://www.sqlite.org/cvstrac/getfile/sqlite/tool/lemon.c


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.