Clisp version 2.47 - How to Download and Install on Mac OS X
Wednesday the 8th of September, 2010

    version 2.47

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


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

      PortSystem 1.0

      Name: clisp
      Version: 2.47
      Category: lang
      Maintainers: waqar
      Platform: darwin
      Description: The Clisp Common Lisp Implementation
      Long Description: CLISP is a Common Lisp implementation by Bruno Haible, formerly of Karlsruhe University, and Michael Stoll, formerly of Munich University, both in Germany. It mostly supports the Lisp described in the ANSI Common Lisp standard. CLISP includes an interpreter, a compiler, almost all of CLOS, a foreign language interface and a socket interface. An X11 interface is available through CLX and Garnet. Command line editing is provided by readline.

      Homepage: http://clisp.cons.org/
      Master Sites: gnu:clisp/release/${version} sourceforge

      Checksums: md5 8fa89bb13e865fc7c7150b82682f35af sha1 63749bf07409cee134c195547e6d911554b619d6 rmd160 d376b0b16694bbaf60e61fc3465bfcdf5770e093

      use_bzip2 yes

      depends_lib port:readline port:gettext port:libsigsegv

      build.dir ${worksrcpath}/src

      Variant: dynffi {
      ui_msg "enabling dynamic foreign function interface"
      depends_lib-append port:ffcall
      }

      Variant: nolibsigsegv {
      depends_lib-delete port:libsigsegv
      configure.args-append --ignore-absence-of-libsigsegv
      }

      platform darwin {
      # placeholder for use with variant_isset
      }

      platform darwin 7 {
      depends_lib-delete port:libsigsegv
      configure.args-append --ignore-absence-of-libsigsegv
      }

      configure.cflags
      configure.args --prefix=${prefix} --with-libreadline-prefix=${prefix} --with-libsigsegv-prefix=${prefix} --with-libiconv-prefix=${prefix}

      configure {
      set cmdstring "CFLAGS='[join ${configure.cflags}]' CC='${configure.cc}' ./configure [join ${configure.args}]"
      ui_debug "EXECUTING: $cmdstring"
      system "cd ${configure.dir} && $cmdstring"
      }

      post-configure {
      if {[variant_isset darwin]} {
      if {[variant_isset dynffi]} {
      set ffi_switch "--with-dynamic-ffi"
      } else {
      set ffi_switch "--without-dynamic-ffi"
      }
      set cmdstring " CFLAGS=[join ${configure.cflags}] ./makemake [join ${configure.args}] --with-unicode --with-readline ${ffi_switch} --with-export-syscalls --with-gettext > Makefile && make config.lisp"
      ui_debug "EXECUTING: $cmdstring"
      system "cd ${build.dir} && $cmdstring"
      }
      }

      build {
      set cmdstring "cd ${build.dir} && ulimit -s 16384 && unset LD_PREBIND LD_PREBIND_ALLOW_OVERLAP && make"
      ui_debug "EXECUTING: $cmdstring"
      system $cmdstring
      set cmdstring "$cmdstring check"
      ui_debug "EXECUTING: $cmdstring"
      system $cmdstring
      }

      livecheck.type regex
      livecheck.url http://ftp.gnu.org/gnu/${name}/release/?C=M&O=D
      livecheck.regex >(\[0-9.\]+)/<

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.