Download and Install lhs2tex version 1.13 on Mac OS X
Thursday the 24th of July, 2008

    lhs2tex  most recent diff


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



      # $Id: Portfile 34884 2008-03-10 13:29:22Z gwright macports.org $

      PortSystem 1.0
      Name: lhs2tex
      Version: 1.13
      Category: print textproc
      Platform: darwin
      Maintainers: gwright macports.org
      Description: Literate Haskell to LaTeX convertor
      Long Description: lhs2TeX is a preprocessor to generate LaTeX code from literate Haskell sources.

      Homepage: http://people.cs.uu.nl/andres/${name}/
      master_sites ${homepage}

      checksums md5 1173dbe6440f24918f3dc80d776e1f18 sha1 bd5fd4d1a5a4f76022cec73dadf0e81caf420866 rmd160 9b6be85e5198b801d3555708ef94880c2b5d4287


      depends_build port:ghc port:texlive

      configure {
      system "cd ${worksrcpath} && runhaskell Setup configure --ghc --prefix=${prefix}"
      }

      build {
      system "cd ${worksrcpath} && runhaskell Setup build -v"
      }

      destroot {
      system "cd ${worksrcpath} && runhaskell Setup copy --copy-prefix=${destroot}${prefix}"
      }


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

     Where to find more information:

    Darwin Ports



    image test