gambit-c version 4.0b22 for Mac OS X 10.5 Leopard
Saturday the 17th of May, 2008

    gambit-c  most recent diff


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



      # $Id: Portfile 33441 2008-01-27 11:46:26Z ryandesign macports.org $

      PortSystem 1.0

      Name: gambit-c
      Version: 4.0b22
      Category: lang scheme
      Platform: darwin
      Maintainers: arto.bendiken gmail.com
      Description: Gambit-C is a fast Scheme implementation.
      Long Description: Gambit-C includes a Scheme interpreter and a Scheme compiler which can be used to build standalone executables. Because the compiler generates portable C code it is fairly easy to port to any platform with a decent C compiler. The thread system is very efficient and can support millions of concurrent processes. The Gambit-C system conforms to the R4RS, R5RS and IEEE Scheme standards. The full numeric tower is implemented, including: infinite precision integers (bignums), rationals, inexact reals (floating point numbers), and complex numbers.

      Homepage: http://www.iro.umontreal.ca/~gambit/
      master_sites ${homepage}/download/gambit/v4.0/source/
      distname gambc-${version}
      checksums sha1 3dad264611443991fc36fa0f949a5ff8b864f57a

      configure.args --infodir=${prefix}/share/info --libdir=${prefix}/lib/gambit-c --enable-single-host

      post-extract {
      # Get rid of the incompatible version-specific installation structure
      reinplace "s|PACKAGE_SUBDIR=\"/${version}\"|PACKAGE_SUBDIR=\"\"|g" ${worksrcpath}/configure.ac
      reinplace "s|&& \$(LN_S) \.\$(PACKAGE_SUBDIR) current||g" ${worksrcpath}/makefile.in
      reinplace "s|rm -f \$(prefix)/current \$(prefix)/current.lnk||g" ${worksrcpath}/makefile.in

      # Fix target paths since the configure options are not properly used in the makefiles
      foreach makefile [exec find ${worksrcpath} -name makefile.in] {
      reinplace "s|\$(prefix)\$(PACKAGE_SUBDIR)|\$(DESTDIR)\$(prefix)|g" $makefile
      reinplace "s|\$(prefix)/info|\$(prefix)/share/info|g" $makefile
      reinplace "s|\$(prefix)/doc|\$(prefix)/share/doc/gambit-c|g" $makefile
      reinplace "s|\$(prefix)/lib|\$(prefix)/lib/gambit-c|g" $makefile
      reinplace "s|\$(prefix)/syntax-case\.scm|\$(prefix)/lib/gambit-c/syntax-case\.scm|g" $makefile
      }
      }

      Variant: optimized { configure.args-append --enable-gcc-opts }
      Variant: profile { configure.args-append --enable-profile }

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

     Where to find more information:

    Darwin Ports



    image test