Apr version 1.3.9 - How to Download and Install on Mac OS X
Friday the 20th of November, 2009

    version 1.3.9

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


      The apr Portfile 59152 2009-10-10 14:41:17Z nox macports.org $

      PortSystem 1.0

      Name: apr
      Version: 1.3.9
      Category: devel
      Maintainers: geeklair.net:dluke
      Platform: darwin
      Description: The apache group's portability library

      Long Description: The Apache Portable Runtime is a library of C data structures and routines, forming a system portability layer that covers as many operating systems as possible, including Unices, Win32, BeOS, and OS/2.

      Homepage: http://apr.apache.org/
      Master Sites: apache:apr

      use_bzip2 yes
      Checksums: md5 7138ac64d4458eeeaa9b9aefa4e6e51b sha1 fb19ec11a15db03dcb9211f31012b079a522d1f0 rmd160 e90943275289113771b623c827ab3fb3c18064d8

      use_parallel_build yes
      configure.env ac_cv_prog_AWK=awk lt_cv_path_SED=sed
      configure.args --with-installbuilddir=${prefix}/share/apr-1/build --enable-nonportable-atomics ac_cv_func_setpgrp_void=no

      test.run yes
      test.target check
      test.env DYLD_LIBRARY_PATH=${worksrcpath}/.libs
      pre-test {
      use_parallel_build no
      }

      if {[variant_isset universal]} {
      patchfiles-append patch-universal.diff

      post-destroot {
      reinplace {s/-arch .*//} ${destroot}${prefix}/share/apr-1/build/apr_rules.mk
      }
      }

      livecheck.type regex
      livecheck.url http://apache.org/dist/apr/
      livecheck.regex {APR (\d+(?:\.\d+)*) is the latest available version}

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.