guile16 version 1.6.8 for Mac OS X 10.5 Leopard
Saturday the 17th of May, 2008

    guile16  most recent diff


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



      # $Id: Portfile 34083 2008-02-12 03:40:59Z jmpp macports.org $

      PortSystem 1.0

      Name: guile16
      Version: 1.6.8
      revision 2
      Category: lang
      Maintainers: nomaintainer
      Platform: darwin

      Description: GNU's Ubiquitous Intelligent Language for Extension (guile)
      Long Description: Guile is an interpreter for the Scheme programming language, packaged for use in a wide variety of environments. Guile implements Scheme as described in the Revised^5 Report on the Algorithmic Language Scheme (usually known as R5RS), providing clean and general data and control structures. Guile goes beyond the rather austere language presented in R5RS, extending it with a module system, full access to POSIX system calls, networking support, multiple threads, dynamic linking, a foreign function call interface, powerful string processing, and many other features needed for programming in the real world.

      #bugs On Apple's darwin, the putenv library function acts # differently than the GNU version. The patch to # libguile/posix.c fixes this, so the guile 'putenv' # function doesn't throw a system error.

      #user_notes You may need to set the environment variable # DYLD_LIBRARY_PATH to /opt/local/lib (or wherever # the guile libraries have been installed) if you want # to load guile modules from an application linked with # libguile. This should only apply to developers using # guile as an extension language.

      Homepage: http://www.gnu.org/software/guile/guile.html
      master_sites gnu:guile
      distname guile-${version}

      checksums md5 2756b01f428b910d33267aeaa0e2d59a

      patchfiles patch-scmsigs.c.diff patch-posix.c.diff patch-guile.c.diff

      depends_lib port:readline

      configure.args CPPFLAGS="-I${prefix}/include" LDFLAGS=-L${prefix}/lib --infodir=${prefix}/share/info --mandir=${prefix}/share/man

      platform darwin 6 {
      depends_lib-append lib:libdl:dlcompat
      }

      platform darwin {
      configure.args-append CFLAGS="-no-cpp-precomp -Dmacosx"
      }

      post-destroot {
      file delete ${destroot}${prefix}/share/${name}/1.6/ice-9/and-let\*.scm
      file delete ${destroot}${prefix}/share/info/goops.info
      file delete ${destroot}${prefix}/share/info/guile-tut.info
      file delete ${destroot}${prefix}/share/info/guile.info
      file delete ${destroot}${prefix}/share/info/guile.info-1
      file delete ${destroot}${prefix}/share/info/guile.info-2
      file delete ${destroot}${prefix}/share/info/guile.info-3
      file delete ${destroot}${prefix}/share/info/guile.info-4
      file delete ${destroot}${prefix}/share/info/r5rs.info

      file rename ${destroot}${prefix}/bin/guile ${destroot}${prefix}/bin/${name}
      file rename ${destroot}${prefix}/bin/guile-config ${destroot}${prefix}/bin/${name}-config
      file rename ${destroot}${prefix}/bin/guile-snarf ${destroot}${prefix}/bin/${name}-snarf
      file rename ${destroot}${prefix}/bin/guile-tools ${destroot}${prefix}/bin/${name}-tools

      file rename ${destroot}${prefix}/include/guile ${destroot}${prefix}/include/guile16

      file rename ${destroot}${prefix}/include/libguile ${destroot}${prefix}/include/libguile16
      file rename ${destroot}${prefix}/include/libguile.h ${destroot}${prefix}/include/libguile16.h

      file rename ${destroot}${prefix}/share/aclocal/guile.m4 ${destroot}${prefix}/share/aclocal/guile16.m4

      file rename ${destroot}${prefix}/lib/libguile.a ${destroot}${prefix}/lib/libguile16.a
      file rename ${destroot}${prefix}/lib/libguile.la ${destroot}${prefix}/lib/libguile16.la
      file rename ${destroot}${prefix}/lib/libguile.dylib ${destroot}${prefix}/lib/libguile16.dylib

      reinplace "s|-lguile |-lguile16 |g" ${destroot}${prefix}/bin/guile16-config
      reinplace "s|${prefix}/bin/guile|${prefix}/bin/guile16|g" ${destroot}${prefix}/bin/guile16-config
      reinplace "s|libguile\\.|libguile16\\.|g" ${destroot}${prefix}/lib/libguile16.la
      reinplace "s|libguile.la|libguile16.la|g" ${destroot}${prefix}/lib/libguilereadline-v-12.la

      #
      # Code to process the header files and modify their contents to point to guile16 files
      #
      proc process_dir { src_dir } {
      foreach src_file [ glob [ file join $src_dir * ] ] {
      if { [ file isdirectory $src_file ] } {
      process_dir $src_file
      } else {
      process_file $src_file
      }
      }
      }

      proc process_file { src_file } {
      reinplace "s|\\ reinplace "s|libguile\\.h|libguile16\\.h|g" $src_file
      reinplace "s|libguile/|libguile16/|g" $src_file
      }

      proc process_path { src_path } {
      if { [ file isdirectory $src_path ] } {
      process_dir $src_path
      } else {
      process_file $src_path
      }
      }

      process_path ${destroot}${prefix}/include/guile16/
      process_path ${destroot}${prefix}/include/libguile16/
      process_path ${destroot}${prefix}/include/libguile16.h
      process_path ${destroot}${prefix}/include/guile-readline/readline.h
      }

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

     Where to find more information:

    Darwin Ports



    image test