Download and Install latex2man version 1.19 on Mac OS X
Friday the 10th of October, 2008

    latex2man  most recent diff


    version 1.19

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



      # $Id: Portfile 36283 2008-04-25 13:35:43Z jmr macports.org $

      PortSystem 1.0

      Name: latex2man
      Version: 1.19
      revision 1
      Category: textproc
      Platform: darwin
      Maintainers: nomaintainer

      Description: Translator program intended to translate a LaTeX document into man

      Long Description: Latex2man is a tool to translate UNIX manual pages written with LaTeX into a format understood by the UNIX man(1)-command. Alternatively HTML, TexInfo, or LaTeX code can be produced too.

      Homepage: http://www.informatik-vollmer.de/software/latex2man.php
      master_sites http://www.informatik-vollmer.de/software
      checksums md5 59fb43f8d9e4f56609a81e77b57b312c

      depends_run bin:tex:texlive

      worksrcdir ${name}

      configure {
      reinplace "s|\$(HOME)/man|${destroot}${prefix}/share/man|g" ${worksrcpath}/Makefile
      reinplace "s|\$(HOME)/info|${destroot}${prefix}/share/info|g" ${worksrcpath}/Makefile
      reinplace "s|\$(HOME)/public_html|${destroot}${prefix}/share/doc/latex2man|g" ${worksrcpath}/Makefile
      reinplace "s|\$(HOME)/tex/inputs|${destroot}${prefix}/share/texmf-local/tex/latex/latex2man|g" ${worksrcpath}/Makefile
      reinplace "s|\$(HOME)|${destroot}${prefix}|g" ${worksrcpath}/Makefile
      reinplace "s|/usr/local/bin/perl|${prefix}/bin/perl|" ${worksrcpath}/latex2man
      }

      pre-destroot {
      file mkdir ${destroot}${prefix}/share/doc/latex2man
      file mkdir ${destroot}${prefix}/share/texmf-local/tex/latex/latex2man

      }

      post-activate {
      system " texhash && fmtutil-sys --enablefmt latex2man && fmtutil-sys --missing && fmtutil-sys --all"

      # These are required so that local additions are picked
      # up if teTeX is updated:
      system "mktexlsr"
      system "updmap-sys"
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.