Moreutils version 0.31 - How to Download and Install on Mac OS X
Sunday the 21st of March, 2010

    moreutils  most recent diff


    version 0.31

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


      The moreutils Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: moreutils
      Version: 0.31
      Revision: 1
      Category: sysutils
      Maintainers: milosh openmaintainer
      Platform: darwin
      Description: a collection of the unix tools that nobody thought to write thirty years ago.
      Long Description: moreutils includes the following utilities: - isutf8: check if a file or standard input is utf-8, - sponge: soak up standard input and write to a file, - ts: timestamp standard input, - vidir: edit a directory in your text editor, - vipe: insert a text editor into a pipe, - combine: combine the lines in two files using boolean operations, - pee: tee standard input to pipes, - zrun: automatically uncompress arguments to command, - mispipe: pipe two commands, returning the exit status of the first, - lckdo: run a program with a lock held.

      Homepage: http://packages.debian.org/unstable/utils/moreutils
      Master Sites: http://ftp.debian.org/debian/pool/main/m/moreutils/
      distname ${name}_${version}
      worksrcdir ${name}
      Checksums: md5 4421992c2db6d6947ec591c7ad1804c0 sha1 4d3ea6b395c36bed1b58fb1105372c7079b8c109 rmd160 048518d575c70e3504627b777a1cdc2e83e83ba9
      use_configure no
      depends_run path:bin/perl:perl5
      Patch Files: patch-Makefile.diff
      use_configure no
      pre-build {
      reinplace "s|/usr/bin/perl|${prefix}/bin/perl|" ${worksrcpath}/vidir ${worksrcpath}/vipe ${worksrcpath}/ts ${worksrcpath}/combine ${worksrcpath}/zrun
      reinplace "s|docbook2x-man|docbook2man|" ${worksrcpath}/Makefile
      }

      destroot.env-append PREFIX=${prefix}

      Variant: doc description {Install man pages} {
      depends_build-append port:docbook-xml-4.4 port:docbook2X
      destroot.target install install-doc
      build.target all doc
      post-configure {
      reinplace "s|/usr/share/xml/docbook/schema/dtd/4.4|${prefix}/share/xml/docbook/4.4|" ${worksrcpath}/ifdata.docbook ${worksrcpath}/isutf8.docbook ${worksrcpath}/mispipe.docbook ${worksrcpath}/pee.docbook ${worksrcpath}/sponge.docbook ${worksrcpath}/lckdo.docbook
      }
      }

      livecheck.type regex
      livecheck.url http://packages.debian.org/unstable/utils/${name}
      livecheck.regex ${name} .(\[0-9.\]+)


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.