Cl-ppcre version 1.3.2 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    cl-ppcre  most recent diff


    version 1.3.2

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


      # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
      The cl-ppcre Portfile 56131 2009-08-24 10:45:40Z ryandesign macports.org $

      PortSystem 1.0

      Name: cl-ppcre
      Version: 1.3.2
      Category: devel
      Maintainers: pobox.com:rlonstein

      Description: Portable Perl-compatible regular expressions for Common Lisp

      Long Description: CL-PPCRE is a fast, portable, thread-safe regular expression library for Common Lisp compatible with Perl under a BSD license.

      Homepage: http://weitz.de/cl-ppcre/
      Platform: darwin
      Master Sites: http://weitz.de/files/

      distfiles ${name}${extract.suffix}

      Checksums: md5 23ceea63cb306ead203f5c4f41a4f1d2 sha1 4e2fb7e7bf732cbb07b0a87bab5b5d107b48ff69 rmd160 2b308153af31386bcd566e9cd2e63ac509b76e8a

      universal_variant no

      Variant: asdf_binary_locations description {Keep compiled Lisp files organized} {
      depends_lib port:asdf-binary-locations
      }

      Variant: sbcl description {Compile using Steel Bank Common Lisp} {
      depends_build port:sbcl
      }


      extract {}
      use_configure no
      build {}

      set destroot-lisp "${destroot}${prefix}/share/common-lisp/"
      set lisp-system-path "#p\"${prefix}/share/common-lisp/systems/\""

      destroot {
      xinstall -m 0755 -d ${destroot-lisp}/src
      xinstall -m 0755 -d ${destroot-lisp}/systems
      system "cd ${destroot-lisp}/src && ${extract.cmd} ${extract.pre_args} ${distpath}/${distfile} ${extract.post_args}"
      system "find ${destroot-lisp}/src/${name}-${version} -type d -exec chmod 755 {} \\;"
      system "find ${destroot-lisp}/src/${name}-${version} -type f -exec chmod 644 {} \\;"

      foreach f [glob -dir ${destroot-lisp}/src/${name}-${version} -tails *.asd] {
      ln -sf ../src/${name}-${version}/$f ${destroot-lisp}/systems/$f
      }
      }

      post-destroot {
      proc asdf-load {lisp lisp-system-path destroot-system name} {
      set loadops "${lisp} --no-userinit --eval '(require \"asdf\")' --eval '(in-package :cl-user)' --eval '(setf asdf:*central-registry* (list* (quote *default-pathname-defaults*) ${lisp-system-path} ${destroot-system} asdf:*central-registry*))'"
      if {[variant_isset asdf_binary_locations]} {
      append loadops " --eval '(asdf:operate (quote asdf:load-op) (quote asdf-binary-locations))'"
      }
      append loadops " --eval '(asdf:operate (quote asdf:load-op) (quote ${name}))'"
      system "${loadops}"
      }

      if {[variant_isset sbcl]} {
      set destroot-system "#p\"${destroot-lisp}/systems/\""
      asdf-load "${prefix}/bin/sbcl" ${lisp-system-path} ${destroot-system} ${name}
      }

      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.