bison version 2.3 for Mac OS X 10.5 Leopard
Monday the 12th of May, 2008

    bison  most recent diff


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



      # $Id: Portfile 33154 2008-01-19 15:17:55Z mww macports.org $

      PortSystem 1.0
      Name: bison
      Version: 2.3
      revision 2
      Category: devel
      Maintainers: mww
      Description: general-purpose parser generator
      Long Description: Bison is a general-purpose parser generator that converts a grammar description for an LALR context-free grammar into a C program to parse that grammar. Once you are proficient with Bison, you can use it to develop a wide range of language parsers, from those used in simple desk calculators to complex programming languages.

      Homepage: http://www.gnu.org/software/bison/
      Platform: darwin
      master_sites gnu
      checksums md5 c18640c6ec31a169d351e3117ecce3ec sha1 7e489f35c6d8171f0cb0cad3dda0fb39f2cb0b62 rmd160 c6a116d6b763fad3f4df6e303943e09ed080cb26
      use_bzip2 yes

      depends_lib port:gettext port:m4 port:libiconv

      configure.args --infodir=${prefix}/share/info --mandir=${prefix}/share/man --disable-yacc

      test.run yes
      test.target check

      post-destroot {
      set docdir ${prefix}/share/doc/${name}
      xinstall -d ${destroot}${docdir}/examples/calc++
      xinstall -m 0444 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS THANKS TODO ${destroot}${docdir}
      xinstall -m 444 -W ${worksrcpath}/examples/calc++ calc++-driver.cc calc++-driver.hh calc++-parser.cc calc++-parser.hh calc++-parser.stamp calc++-parser.yy calc++-scanner.cc calc++-scanner.ll calc++.cc location.hh position.hh stack.hh test ${destroot}${docdir}/examples/calc++
      }

      livecheck.check regex
      livecheck.url http://ftp.gnu.org/gnu/bison/?C=M&O=D
      livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)

      Variant: yacc {
      configure.args-delete --disable-yacc
      }



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

     Where to find more information:

    Darwin Ports



    image test