Download and Install gnuregex version 0.12 on Mac OS X
Thursday the 24th of July, 2008

    gnuregex  most recent diff


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



      # $Id: Portfile 33067 2008-01-17 13:55:09Z nox macports.org $

      PortSystem 1.0

      Name: gnuregex
      set my_name regex
      Version: 0.12
      revision 2
      Category: sysutils
      Maintainers: nomaintainer
      Platform: darwin
      Description: GNU regex library

      Long Description: ${description}

      Homepage: http://www.gnu.org/directory/regex.html
      distname ${my_name}-${version}

      master_sites http://ftp.gnu.org/old-gnu/${my_name}/ ftp://ftp.gnu.org/old-gnu/${my_name}/

      checksums md5 6c25ca10e71adeede101e7646e796ebd

      build.args subdirs=test

      post-build {
      set command "libtool -lSystem -dynamic -install_name ${prefix}/lib/libgnuregex.dylib -o libgnuregex.dylib regex.o"
      ui_debug "$command"
      system "cd ${worksrcpath} && ${command}"
      }

      test.run yes
      test.args ${build.args}
      test.target check

      destroot {
      xinstall -m 0644 ${worksrcpath}/regex.h ${destroot}${prefix}/include/gnuregex.h
      xinstall ${worksrcpath}/libgnuregex.dylib ${destroot}${prefix}/lib
      }

      # Newer versions of GNU regex are available in the GNU libc tarball
      # in the files posix/regex.c and posix/regex.h.
      livecheck.check none

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

     Where to find more information:

    Darwin Ports



    image test