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

    dblatex  most recent diff


    version 0.2.10

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


      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
      The dblatex Portfile 58849 2009-10-06 09:44:44Z raimue macports.org $

      PortSystem 1.0
      PortGroup python26 1.0

      Name: dblatex
      Version: 0.2.10
      Category: textproc tex
      Maintainers: nomaintainer
      Platform: darwin
      Description: DocBook to LaTeX Converter
      Long Description: Dblatex transforms a DocBook XML/SGML document to LaTeX. Once transformed into LaTeX, standard LaTeX tools are used to produce DVI, Postcript or PDF files. dblatex tries to hide as much as possible the latex compiling stuff by providing a single clean script to produce directly DVI, PostScript and PDF output. The actual output rendering is done not only by the XSL stylesheets transformation, but also by a dedicated LaTeX package. The goal is to allow a deep LaTeX customisation without changing the XSL stylesheets. Post-processing is done by Python, to make publication faster, convert the images if needed, and do the whole compilation.
      Homepage: http://dblatex.sourceforge.net

      Master Sites: sourceforge:dblatex
      Checksums: md5 a8603517b93fe172aca3742d1d26a350 sha1 3b6016525a2615eccaa73c58ef3898618a50a729 rmd160 6d22aa1cfb03bc3672ac4ce27226e62170f9df9b
      use_bzip2 yes

      depends_lib port:python26 bin:latex:texlive port:dejavu-fonts port:ImageMagick port:docbook-xml port:docbook-xsl

      destroot.cmd ${python.bin} setup.py
      destroot.destdir --root=${destroot} --catalogs==${destroot}${prefix}/etc/xml/catalog

      post-destroot {
      reinplace "s|${destroot}${prefix}|${prefix}|g" ${destroot}${python.prefix}/bin/dblatex

      fs-traverse f ${destroot}${python.prefix}/share {
      if {[file isfile $f]} {
      set f [string range $f [string length ${destroot}${python.prefix}/share/] end]
      file mkdir [file dirname ${destroot}${prefix}/share/$f]
      ln -s ${python.prefix}/share/$f ${destroot}${prefix}/share/$f
      }
      }
      ln -s ${python.prefix}/bin/dblatex ${destroot}${prefix}/bin/

      xinstall -d ${destroot}${prefix}/share/texmf/tex
      copy ${destroot}${python.prefix}/share/dblatex/latex ${destroot}${prefix}/share/texmf/tex/
      }

      post-activate {
      system "${prefix}/bin/mktexlsr"
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.