mapm3 for Mac OS X 10.5 Leopard
Friday the 16th of May, 2008

    mapm3  most recent diff


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



      # $Id: Portfile 30251 2007-10-23 02:18:30Z jmpp macports.org $

      PortSystem 1.0

      Name: mapm3
      Version: 3
      revision 1
      Platform: darwin
      Maintainers: nomaintainer
      Category: science
      Description: cli tool for calculating Quantitative Trait Loci
      master_sites http://www-genome.wi.mit.edu/ftp/distribution/software/mapmaker3/

      distname ${name}-source
      extract.suffix .tar.Z
      checksums md5 8aa7a061d32a49c8704c1a5c4b31aa2d

      pre-extract {system "mkdir -p ${worksrcpath}" }
      extract.cmd uncompress
      extract.pre_args -c
      extract.post_args | tar -C ${worksrcpath} -xf -

      patchfiles patch-iolib.h patch-xmapmaker patch-Makefile patch-system.h patch-xqtl



      configure { reinplace "s|^DIR= /usr/local/bin|DIR= ${prefix}/bin|g" "${worksrcpath}/Makefile" }

      pre-destroot { reinplace "s|^DIR= ${prefix}/bin|DIR= ${destroot}${prefix}/bin|g" "${worksrcpath}/Makefile"
      system "mkdir -p ${destroot}${prefix}/bin "
      }



      Variant: large_datasets {
      post-patch { reinplace "s|^SYS= -D_SYS_DARWIN -DUSE_RAND48|SYS= -D_SYS_DARWIN -DUSE_RAND48 -D_BIG_DATASETS|g" "${worksrcpath}/Makefile" }
      }

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

     Where to find more information:

    Darwin Ports



    image test