Ccl version 1.3 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    version 1.3

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


      The ccl Portfile 59303 2009-10-13 11:47:52Z gwright macports.org $

      PortSystem 1.0
      Name: ccl
      Version: 1.3
      Revision: 3
      set shortversion ${version}
      Category: lang
      Maintainers: gwright
      Platform: darwin
      Description: The Clozure Common Lisp Implementation
      Long Description: Clozure CL is an open source Common Lisp implementation. Clozure CL used to be called OpenMCL. It is also sometimes called CCL. You will see the three names being used interchangeably.

      Homepage: http://trac.clozure.com/openmcl

      fetch.type svn
      worksrcdir ccl

      use_configure no

      platform darwin i386 {
      svn.url http://svn.clozure.com/publicsvn/openmcl/release/${shortversion}/darwinx86/ccl
      global bootimg
      global ccl_script

      if { ${configure.build_arch} == "x86_64" } {
      set bootimg dx86cl64
      set ccl_script ccl64
      } elseif { ${configure.build_arch} == "i386" } {
      set bootimg dx86cl
      set ccl_script ccl
      } else {
      return -code error "architecture ${configure.build_arch} is not supported by ${name}"
      }
      }

      platform darwin powerpc {
      svn.url http://svn.clozure.com/publicsvn/openmcl/release/${shortversion}/darwinppc/ccl
      global bootimg
      global ccl_script

      if { ${configure.build_arch} == "ppc64" } {
      set bootimg dppccl64
      set ccl_script ccl64
      } elseif { ${configure.build_arch} == "ppc" } {
      set bootimg dppccl
      set ccl_script ccl
      } else {
      return -code error "architecture ${configure.build_arch} is not supported by ${name}"
      }
      }

      build {
      system "cd ${worksrcpath} && echo '(ccl::rebuild-ccl :full t)' | ./${bootimg} --batch"
      }

      set prefixpath \\\"[regsub -all / [strsed ${prefix}/share/asdf-install {g/^\///}] "\\\" \\\""]\\\"

      destroot {
      file mkdir ${destroot}/${prefix}/share/${name}/${shortversion}
      system "cd ${worksrcpath} && tar cf - . | ( cd ${destroot}/${prefix}/share/${name}/${shortversion} && tar xf -)"
      reinplace "s|/usr/local/src/ccl|${prefix}/share/${name}/${shortversion}|" ${workpath}/ccl/scripts/${ccl_script}
      system "chmod +x ${workpath}/ccl/scripts/${ccl_script}"
      file copy ${workpath}/ccl/scripts/${ccl_script} ${destroot}/${prefix}/bin
      reinplace "s|\"usr\" \"local\" \"asdf-install\")))))|${prefixpath})))))|" ${destroot}/${prefix}/share/${name}/${shortversion}/tools/asdf-install/installer.lisp
      }

      post-activate {
      # Prepare asdf install folders and so forth.
      file mkdir ${prefix}/share/asdf-install
      system "chgrp admin ${prefix}/share/asdf-install"
      system "chmod g+w ${prefix}/share/asdf-install"
      }


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.