[MacPorts] #47115: texlive can't find docbook.sty
MacPorts
noreply at macports.org
Thu Mar 12 07:06:56 PDT 2015
#47115: texlive can't find docbook.sty
-------------------------------+--------------------------------
Reporter: Joel.Brogniart@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: dblatex |
-------------------------------+--------------------------------
Comment (by Joel.Brogniart@…):
After reading the textlive portgroup file, I changed a little bit the
dblatex Portfile to use the texlive_texmflocal variable:
{{{
--- Portfile.orig 2015-03-11 15:16:10.000000000 +0100
+++ Portfile 2015-03-12 14:46:46.000000000 +0100
@@ -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/
}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/47115#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list