[58849] trunk/dports/textproc
raimue at macports.org
raimue at macports.org
Tue Oct 6 02:44:47 PDT 2009
Revision: 58849
http://trac.macports.org/changeset/58849
Author: raimue at macports.org
Date: 2009-10-06 02:44:44 -0700 (Tue, 06 Oct 2009)
Log Message:
-----------
textproc/dblatex:
New port, based on #19276
Added Paths:
-----------
trunk/dports/textproc/dblatex/
trunk/dports/textproc/dblatex/Portfile
Added: trunk/dports/textproc/dblatex/Portfile
===================================================================
--- trunk/dports/textproc/dblatex/Portfile (rev 0)
+++ trunk/dports/textproc/dblatex/Portfile 2009-10-06 09:44:44 UTC (rev 58849)
@@ -0,0 +1,63 @@
+# -*- 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
+# $Id$
+
+PortSystem 1.0
+PortGroup python26 1.0
+
+name dblatex
+version 0.2.10
+categories textproc tex
+maintainers nomaintainer
+platforms 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"
+}
Property changes on: trunk/dports/textproc/dblatex/Portfile
___________________________________________________________________
Added: svn:executable
+ *
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091006/1dce5fa3/attachment.html>
More information about the macports-changes
mailing list