[MacPorts] #38365: gnuplot: remove +tutorial option and dependency on texlive

MacPorts noreply at macports.org
Fri Mar 15 07:52:21 PDT 2013


#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@…):

 OK, so:
 {{{
 post-build {
     if {[variant_isset luaterm]} {
         system -W ${worksrcpath}/share/LaTeX "${prefix}/bin/lua
 ../../term/lua/gnuplot-tikz.lua style"
     }
 }

 post-destroot {
     if {[variant_isset luaterm]} {
         set texmf ${destroot}${texlive_texmfports}
         set luadir ${worksrcpath}/share/LaTeX
         xinstall -d ${texmf}/tex/context/third/gnuplot-lua-tikz
         xinstall -d ${texmf}/tex/generic/gnuplot-lua-tikz
         xinstall -d ${texmf}/tex/latex/gnuplot-lua-tikz
         xinstall -d ${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 ${destroot}${prefix}/share/doc/${name}
     xinstall -m 0644 ${distpath}/${name}.pdf \
         ${destroot}${prefix}/share/doc/${name}
 }
 }}}
 I'll apply it during upgrade to 4.6.2 which should be released really
 soon.

-- 
Ticket URL: <https://trac.macports.org/ticket/38365#comment:7>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list