| 1 | # -*- 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 |
|---|
| 2 | # $Id$ |
|---|
| 3 | |
|---|
| 4 | PortSystem 1.0 |
|---|
| 5 | PortGroup python25 1.0 |
|---|
| 6 | name dblatex |
|---|
| 7 | version 0.2.9 |
|---|
| 8 | categories textproc tex |
|---|
| 9 | maintainers nomaintainer |
|---|
| 10 | description DocBook to LaTeX Converter |
|---|
| 11 | long_description Dblatex transforms a DocBook XML/SGML document to LaTeX. \ |
|---|
| 12 | Once transformed into LaTeX, standard LaTeX tools are \ |
|---|
| 13 | used to produce DVI, Postcript or PDF files. \ |
|---|
| 14 | dblatex tries to hide as much as possible the latex \ |
|---|
| 15 | compiling stuff by providing a single clean script to \ |
|---|
| 16 | produce directly DVI, PostScript and PDF output. \ |
|---|
| 17 | The actual output rendering is done not only by the \ |
|---|
| 18 | XSL stylesheets transformation, but also by a dedicated \ |
|---|
| 19 | LaTeX package. The goal is to allow a deep LaTeX \ |
|---|
| 20 | customisation without changing the XSL stylesheets. \ |
|---|
| 21 | Post-processing is done by Python, to make publication \ |
|---|
| 22 | faster, convert the images if needed, and do the whole \ |
|---|
| 23 | compilation. |
|---|
| 24 | homepage http://dblatex.sourceforge.net |
|---|
| 25 | platforms darwin |
|---|
| 26 | master_sites sourceforge:dblatex |
|---|
| 27 | checksums md5 6ade2e1cbe40f1798cb8de846528bf43 \ |
|---|
| 28 | sha1 266d02788f9f785a0c6e3d347039587df2023303 \ |
|---|
| 29 | rmd160 18477dab4b7155ac66568bbd51648822c9881b3d |
|---|
| 30 | use_bzip2 yes |
|---|
| 31 | distname ${name}-${version} |
|---|
| 32 | |
|---|
| 33 | depends_lib port:py25-hashlib \ |
|---|
| 34 | port:texlive \ |
|---|
| 35 | port:ImageMagick \ |
|---|
| 36 | port:docbook-xml \ |
|---|
| 37 | port:docbook-xsl |
|---|
| 38 | |
|---|
| 39 | destroot.cmd ${python.bin} setup.py |
|---|
| 40 | destroot.destdir --prefix=${destroot}${prefix} \ |
|---|
| 41 | --catalogs==${destroot}${prefix}/etc/xml/catalog |
|---|
| 42 | |
|---|
| 43 | post-destroot { |
|---|
| 44 | |
|---|
| 45 | reinplace "s|${destroot}${prefix}|${prefix}|g" \ |
|---|
| 46 | ${destroot}${prefix}/bin/dblatex |
|---|
| 47 | |
|---|
| 48 | } |
|---|
| 49 | |
|---|
| 50 | post-activate { |
|---|
| 51 | |
|---|
| 52 | ui_msg "\n \ |
|---|
| 53 | ============================================================\n \ |
|---|
| 54 | NOTE: The contents of /opt/local/share/dblatex/latex need to \n \ |
|---|
| 55 | be copied into the main or your local texmf/tex/latex tree\n \ |
|---|
| 56 | in order for dblatex to work.\n \ |
|---|
| 57 | ============================================================\n \ |
|---|
| 58 | \n" |
|---|
| 59 | |
|---|
| 60 | } |
|---|