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

    version 3.1.7

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


      The gawk Portfile 54358 2009-07-25 10:15:06Z toby macports.org $

      PortSystem 1.0

      Name: gawk
      Version: 3.1.7
      Category: lang
      Maintainers: gmail.com:mschamschula openmaintainer
      Platform: darwin
      Master Sites: gnu
      Homepage: http://www.gnu.org/software/gawk/
      Description: The GNU awk utility.
      use_bzip2 yes
      use_parallel_build yes

      Long Description: The awk utility interprets a special-purpose programming language that makes it possible to handle simple data-reformatting jobs with just a few lines of code. It is a free, extended version of awk.

      Checksums: md5 674cc5875714315c490b26293d36dfcf sha1 77dfacb793d579fa6830152d943096bc4362a465 rmd160 f35c04e947357404d410d62df87df9d6a88079de

      depends_lib port:libiconv port:gettext

      configure.args --with-libiconv-prefix=${prefix}

      test.run yes
      test.target check

      post-destroot {
      delete ${destroot}${prefix}/bin/awk
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.