[143476] trunk/dports/math/gsl/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Sun Dec 13 04:12:02 PST 2015
Revision: 143476
https://trac.macports.org/changeset/143476
Author: mcalhoun at macports.org
Date: 2015-12-13 04:12:02 -0800 (Sun, 13 Dec 2015)
Log Message:
-----------
gsl: build documentation in post-build instead of post-destroot
Modified Paths:
--------------
trunk/dports/math/gsl/Portfile
Modified: trunk/dports/math/gsl/Portfile
===================================================================
--- trunk/dports/math/gsl/Portfile 2015-12-13 11:43:37 UTC (rev 143475)
+++ trunk/dports/math/gsl/Portfile 2015-12-13 12:12:02 UTC (rev 143476)
@@ -41,18 +41,20 @@
variant doc description "Install PDF and HTML documentation" {
depends_build port:ghostscript bin:latex:texlive
+ post-build {
+ system -W ${worksrcpath} "make dvi"
+ system -W ${worksrcpath}/doc "dvipdf gsl-ref.dvi gsl-ref.pdf"
+ system -W ${worksrcpath}/doc "latex fftalgorithms"
+ system -W ${worksrcpath}/doc "bibtex fftalgorithms"
+ system -W ${worksrcpath}/doc "latex fftalgorithms"
+ system -W ${worksrcpath}/doc "latex fftalgorithms"
+ system -W ${worksrcpath}/doc "dvipdf fftalgorithms.dvi fftalgorithms.pdf"
+ system -W ${worksrcpath} "make html"
+ }
post-destroot {
- system "cd ${worksrcpath} && make dvi"
- system "cd ${worksrcpath}/doc && dvipdf gsl-ref.dvi gsl-ref.pdf"
xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
xinstall -c -m 644 ${worksrcpath}/doc/gsl-ref.pdf ${destroot}${prefix}/share/doc/${name}
- system "cd ${worksrcpath}/doc && latex fftalgorithms"
- system "cd ${worksrcpath}/doc && bibtex fftalgorithms"
- system "cd ${worksrcpath}/doc && latex fftalgorithms"
- system "cd ${worksrcpath}/doc && latex fftalgorithms"
- system "cd ${worksrcpath}/doc && dvipdf fftalgorithms.dvi fftalgorithms.pdf"
xinstall -c -m 644 ${worksrcpath}/doc/fftalgorithms.pdf ${destroot}${prefix}/share/doc/${name}
- system "cd ${worksrcpath} && make html"
xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/html
eval xinstall -c -m 644 [glob ${worksrcpath}/doc/gsl-ref.html/*] ${destroot}${prefix}/share/doc/${name}/html
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151213/9c33d163/attachment.html>
More information about the macports-changes
mailing list