#38365: gnuplot: remove +tutorial option and dependency on texlive --------------------------+--------------------- Reporter: mojca@… | Owner: mojca@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: gnuplot | --------------------------+--------------------- Comment (by mojca@…): Here's my suggestion for the patch: {{{ # or can this be in post-destroot? post-build { if {[variant_isset luaterm]} { system -W ${workpath}/${distname}/share/LaTeX "${prefix}/bin/lua ../../term/lua/gnuplot-tikz.lua style" } } post-destroot { if {[variant_isset luaterm]} { set texmf ${destroot}${texlive_texmfports} set luadir ${workpath}/${distname}/share/LaTeX xinstall -d -m 0755 ${texmf}/tex/context/third/gnuplot-lua-tikz xinstall -d -m 0755 ${texmf}/tex/generic/gnuplot-lua-tikz xinstall -d -m 0755 ${texmf}/tex/latex/gnuplot-lua-tikz xinstall -d -m 0755 ${texmf}/tex/plain/gnuplot-lua-tikz xinstall -m 0644 ${luadir}/t-gnuplot-lua-tikz.tex \ ${texmf}/tex/context/third/gnuplot-lua-tikz xinstall -m 0644 ${luadir}/gnuplot-lua-tikz-common.tex \ ${texmf}/tex/generic/gnuplot-lua-tikz xinstall -m 0644 ${luadir}/gnuplot-lua-tikz.sty \ ${texmf}/tex/latex/gnuplot-lua-tikz xinstall -m 0644 ${luadir}/gnuplot-lua-tikz.tex \ ${texmf}/tex/plain/gnuplot-lua-tikz } xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name} xinstall -m 0644 ${distpath}/${name}.pdf \ ${destroot}${prefix}/share/doc/${name} } }}} The only question is: what do I have to do when an option is removed so that users who had that option installed won't experience problems during update? -- Ticket URL: <https://trac.macports.org/ticket/38365#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X