[120167] trunk/dports/math/gnuplot/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat May 17 14:10:28 PDT 2014
Revision: 120167
https://trac.macports.org/changeset/120167
Author: ryandesign at macports.org
Date: 2014-05-17 14:10:28 -0700 (Sat, 17 May 2014)
Log Message:
-----------
gnuplot: simplify: ${workpath}/${distname} -> ${worksrcpath}
Modified Paths:
--------------
trunk/dports/math/gnuplot/Portfile
Modified: trunk/dports/math/gnuplot/Portfile
===================================================================
--- trunk/dports/math/gnuplot/Portfile 2014-05-17 19:21:54 UTC (rev 120166)
+++ trunk/dports/math/gnuplot/Portfile 2014-05-17 21:10:28 UTC (rev 120167)
@@ -147,14 +147,14 @@
# So we 'manually' generate and copy the necessary files.
post-build {
if {[variant_isset luaterm]} {
- system -W ${workpath}/${distname}/share/LaTeX "${prefix}/bin/lua ../../term/lua/gnuplot-tikz.lua style"
+ 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 ${workpath}/${distname}/share/LaTeX
+ set luadir ${worksrcpath}/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
@@ -171,7 +171,7 @@
xinstall -m 0644 ${distpath}/${name}.pdf ${destdocdir}
# copy demo files
- file copy ${workpath}/${distname}/demo ${destdocdir}
+ file copy ${worksrcpath}/demo ${destdocdir}
foreach {makefile} {Makefile Makefile.in Makefile.am Makefile.am.in} {
delete ${destdocdir}/demo/${makefile}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140517/3853f45a/attachment.html>
More information about the macports-changes
mailing list