[MacPorts] #38798: Gnuplot demo folder and documentation missing

MacPorts noreply at macports.org
Wed Jul 3 06:54:06 PDT 2013


#38798: Gnuplot demo folder and documentation missing
------------------------+---------------------
  Reporter:  pwolter@…  |      Owner:  mojca@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.1.3
Resolution:             |   Keywords:
      Port:  gnuplot    |
------------------------+---------------------

Comment (by mojca@…):

 Here's the proposed patch:
 {{{
 --- Portfile
 +++ Portfile
 @@ -179,9 +179,15 @@
          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}
 +    set destdocdir ${destroot}${prefix}/share/doc/${name}
 +    xinstall -d -m 0755 ${destdocdir}
 +    xinstall -m 0644 ${distpath}/${name}.pdf ${destdocdir}
 +
 +    # copy demo files
 +    file copy ${workpath}/${distname}/demo ${destdocdir}
 +    foreach {makefile} {Makefile Makefile.in Makefile.am Makefile.am.in}
 {
 +        delete ${destdocdir}/demo/${makefile}
 +    }
  }

  # this temporary workaround removes files that accidentally circumvented
 destroot
 }}}

 I would be grateful for feedback, but as it requires a revision bump and
 is not urgent, I suggest to wait for the next opportunity when either
 version or revision will change.

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


More information about the macports-tickets mailing list