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

    version 3.20

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


      The mb2md Portfile 43750 2008-12-14 07:40:59Z mcalhoun macports.org $
      PortSystem 1.0

      Name: mb2md
      Version: 3.20
      Category: mail
      Maintainers: nomaintainer
      Description: Script for converting Mbox mailboxes to Maildir format
      Long Description: Perl script that takes one or more Mbox format mailbox files in a directory and convert them to Maildir format mailboxes. It also converts the mailspool file. It is smart enough to not transfer a dummy message such as the UW IMAPD puts at the start of Mbox mailboxes - and you could add your own search terms into the script to make it ignore other forms of dummy first message.
      Homepage: http://batleth.sapienti-sat.org/projects/${name}
      Master Sites: ${homepage}
      distfiles ${name}-${version}.pl.gz
      Checksums: md5 b47eaa6ae4231a42f4a15564a08eb439
      Platform: darwin

      depends_run path:bin/perl:perl5 port:p5-timedate

      pre-extract { file mkdir ${worksrcpath} }
      extract.post_args ">${worksrcpath}/${name}-${version}.pl"

      Patch Files: patch-${name}

      use_configure no

      build {
      file copy ${worksrcpath}/${name}-${version}.pl ${worksrcpath}/${name}
      reinplace "s|^#!.*perl|#!${prefix}/bin/perl|" ${worksrcpath}/${name}
      }

      destroot {
      xinstall -d -m 0755 ${destroot}${prefix}/bin
      xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
      }


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.