[134131] trunk/dports/textproc/dblatex/Portfile
cal at macports.org
cal at macports.org
Wed Mar 18 15:44:41 PDT 2015
Revision: 134131
https://trac.macports.org/changeset/134131
Author: cal at macports.org
Date: 2015-03-18 15:44:40 -0700 (Wed, 18 Mar 2015)
Log Message:
-----------
dblatex: fix "can't find docbook.sty", closes #47115
Modified Paths:
--------------
trunk/dports/textproc/dblatex/Portfile
Modified: trunk/dports/textproc/dblatex/Portfile
===================================================================
--- trunk/dports/textproc/dblatex/Portfile 2015-03-18 22:01:59 UTC (rev 134130)
+++ trunk/dports/textproc/dblatex/Portfile 2015-03-18 22:44:40 UTC (rev 134131)
@@ -7,7 +7,7 @@
name dblatex
version 0.3.5
-revision 3
+revision 4
categories textproc tex
maintainers cal openmaintainer
license GPL-2+
@@ -66,6 +66,16 @@
ln -s ${python.prefix}/share/$f ${destroot}${prefix}/share/$f
}
}
+ file mkdir ${destroot}${texlive_texmflocal}/tex/latex/dblatex
+ fs-traverse f ${destroot}${python.prefix}/share/dblatex/latex {
+ if {[file isfile $f]} {
+ if {[catch {exec ${prefix}/bin/kpsewhich -a [file tail $f]} result]} {
+ set f [string range $f [string length ${destroot}${python.prefix}/share/dblatex/latex/] end]
+ file mkdir [file dirname ${destroot}${texlive_texmflocal}/tex/latex/dblatex/$f]
+ ln -s ${python.prefix}/share/dblatex/latex/$f ${destroot}${texlive_texmflocal}/tex/latex/dblatex/$f
+ }
+ }
+ }
ln -s ${python.prefix}/bin/dblatex ${destroot}${prefix}/bin/
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150318/04bb1583/attachment.html>
More information about the macports-changes
mailing list