[MacPorts] #55106: dblatex add a -latex variant
MacPorts
noreply at macports.org
Tue Oct 24 14:45:15 UTC 2017
#55106: dblatex add a -latex variant
--------------------------+------------------------
Reporter: nortcele | Owner: neverpanic
Type: enhancement | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: dblatex |
--------------------------+------------------------
Comment (by raimue):
Other ports (LaTeXML, auctex, kde4-kile) already provide a +mactex variant
that allows to use [http://www.tug.org/mactex/ MacTeX] instead of the
texlive ports. Is your texlive installation completely custom? If your use
case is also MacTeX, we might want to follow that naming scheme for
consistency.
You added `bin:mtxrun:...` as a dependency, however `proc
dblatex.mktexlsr` only uses it if `-latex` is selected. Was that
intentional? Note `texlive.mktexlsr` runs mtxrun if installed, so this
functionality would now be missing. I would drop the dependency on mtxrun
and write the proc like this:
{{{
proc dblatex.mktexlsr {} {
if {[variant_isset latex]} {
system "mktexlsr"
system "if command -v mtxrun >/dev/null 2>&1; then mtxrun
--generate; fi"
} else {
texlive.mktexlsr
}
}
}}}
Why does `post-deactivate` need to delete files? MacPorts removes all
files it installed, so what would be left? If this was in case the value
of TEXMFLOCAL changed between activate and deactivate, I do not think we
can handle this. In the worst case, it could have unintended side effects.
--
Ticket URL: <https://trac.macports.org/ticket/55106#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list