#51818: New release of LaTeXML -----------------------------+--------------------------------- Reporter: bruce.miller@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: maintainer haspatch Port: LaTeXML | -----------------------------+--------------------------------- Comment (by raimue@…): On my system with texlive and no variants selected, these files clearly end up twice in the destroot: {{{ $ ls -la work/destroot/opt/local/share/**/latexml work/destroot/opt/local/share/texmf-local/tex/latex/latexml: total 32 drwxr-xr-x 5 root admin 170 Sep 15 21:45 ./ drwxr-xr-x 3 root admin 102 Sep 15 21:45 ../ -rw-r--r-- 1 root admin 323 Sep 15 21:45 .packlist -r--r--r-- 1 root admin 6578 Sep 20 2015 latexml.sty -r--r--r-- 1 root admin 1225 Apr 17 2015 lxRDFa.sty work/destroot/opt/local/share/texmf-texlive/tex/latex/latexml: total 24 drwxr-xr-x 4 root admin 136 Sep 15 21:45 ./ drwxr-xr-x 3 root admin 102 Sep 15 21:45 ../ -rw-r--r-- 1 root admin 6578 Sep 20 2015 latexml.sty -rw-r--r-- 1 root admin 1225 Apr 17 2015 lxRDFa.sty }}} If the intention of this `pre-configure` block with `TEXMF=` was to stop that, it is not working. By the way, that `.packlist` still hardcodes path to the destroot and needs to be edited just like the perl5 port group usually does: {{{ post-destroot { fs-traverse file ${destroot}${prefix}/share { if {[file isfile ${file}] && [file tail ${file}] eq ".packlist"} { ui_info "Fixing paths in [string map "${destroot}${prefix}/ {}" ${file}]" reinplace -n "s|${destroot}||p" ${file} } } } }}} -- Ticket URL: <https://trac.macports.org/ticket/51818#comment:10> MacPorts <https://www.macports.org/> Ports system for macOS