Download and Install diffutils version 2.8.1 on Mac OS X
Thursday the 3rd of July, 2008

    diffutils  most recent diff


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



      # $Id: Portfile 32789 2008-01-13 12:25:50Z ryandesign macports.org $

      PortSystem 1.0
      Name: diffutils
      Version: 2.8.1
      revision 3
      Category: sysutils textproc devel
      Maintainers: nomaintainer
      Description: GNU diff utilities
      Long Description: diffutils contains the GNU diff, diff3, sdiff, and cmp utilities. Their features are a superset of the Unix features and they are significantly faster.

      Platform: darwin sunos
      Homepage: http://www.gnu.org/software/diffutils/
      master_sites gnu
      checksums md5 71f9c5ae19b60608f6c7f162da86a428 sha1 a4c467c3a6a08cde9f3d94d02067ec26436e7dc5 rmd160 a61b15401f140097d39dfe00cd2a8062bcdfaa0e

      patchfiles patch-src_system.h.diff
      configure.args --program-prefix=g --infodir=${prefix}/share/info --mandir=${prefix}/share/man

      set docdir ${prefix}/share/doc/${name}-${version}

      post-destroot {
      move ${destroot}${prefix}/share/info/diff.info ${destroot}${prefix}/share/info/gdiff.info

      xinstall -m 0755 -d ${destroot}${docdir}
      xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README THANKS ${destroot}${docdir}
      }

      test.run yes
      test.target check

      Variant: with_default_names description {Install files without 'g' prefix} {
      post-destroot {
      foreach d {bin share/info share/man/man1} {
      foreach a [glob -directory ${destroot}${prefix}/$d g*] {
      regexp /g(.+)\$ $a dummy b
      file link -hard ${destroot}${prefix}/$d/$b $a
      }
      }
      }
      }

      Variant: nls description {Add NLS support} {
      configure.args-append gt_cv_func_gnugettext1_libintl=yes
      depends_lib-append port:gettext

      post-destroot {
      xinstall -m 0644 -W ${worksrcpath} ABOUT-NLS ${destroot}${docdir}
      }
      }

      livecheck.check regex
      livecheck.url http://ftp.gnu.org/gnu/${name}/?C=M&O=D
      livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)

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

     Where to find more information:

    Darwin Ports



    image test