<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/48f5509e5bb503282f91f849cc36c2ad83205a27">https://github.com/macports/macports-ports/commit/48f5509e5bb503282f91f849cc36c2ad83205a27</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 48f5509 gsl: replace doc variant with doc_pythonXX variants
</span>48f5509 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 48f5509e5bb503282f91f849cc36c2ad83205a27
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Tue Jun 27 16:47:45 2017 -0500
<span style='display:block; white-space:pre;color:#404040;'> gsl: replace doc variant with doc_pythonXX variants
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/54376
</span>---
math/gsl/Portfile | 38 +++++++++++++++++++++++---------------
1 file changed, 23 insertions(+), 15 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/gsl/Portfile b/math/gsl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9b9b171..a6eb943 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/gsl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/gsl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,6 +5,7 @@ PortGroup compilers 1.0
</span>
name gsl
version 2.4
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories math science
maintainers dtakahashi openmaintainer
license GPL-3+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,7 +25,6 @@ checksums rmd160 142fb0588bd7a84067ea2286e37b4bb0e9fc9845 \
</span>
platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:texinfo
</span> use_parallel_build yes
configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,24 +38,32 @@ post-activate {
</span> compilers.choose cc
compilers.setup -dragonegg
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant doc description "Install PDF and HTML documentation" {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build port:ghostscript bin:latex:texlive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[variant_isset doc_python27]} { set PythonVersion 27 }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[variant_isset doc_python35]} { set PythonVersion 35 }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[variant_isset doc_python36]} { set PythonVersion 36 }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant doc_python27 conflicts doc_python35 doc_python36 description {Install PDF and HTML documentation using Python 2.7} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant doc_python35 conflicts doc_python27 doc_python36 description {Install PDF and HTML documentation using Python 3.5} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant doc_python36 conflicts doc_python27 doc_python35 description {Install PDF and HTML documentation using Python 3.6} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[variant_isset doc_python27] || [variant_isset doc_python35] || [variant_isset doc_python36]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build port:ghostscript \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bin:latexmk:latexmk \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bin:latex:texlive \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:texlive-latex-extra \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${PythonVersion}-sphinx \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${PythonVersion}-sphinx_rtd_theme \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${PythonVersion}-typing \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${PythonVersion}-sphinxcontrib-websupport
</span> post-build {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath} "make dvi"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath}/doc "dvipdf gsl-ref.dvi gsl-ref.pdf"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath}/doc "latex fftalgorithms"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath}/doc "bibtex fftalgorithms"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath}/doc "latex fftalgorithms"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath}/doc "latex fftalgorithms"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath}/doc "dvipdf fftalgorithms.dvi fftalgorithms.pdf"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath} "make html"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath}/doc "make latexpdf"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath}/doc "make html"
</span> }
post-destroot {
xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -c -m 644 ${worksrcpath}/doc/gsl-ref.pdf ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -c -m 644 ${worksrcpath}/doc/fftalgorithms.pdf ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/html
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- eval xinstall -c -m 644 [glob ${worksrcpath}/doc/gsl-ref.html/*] ${destroot}${prefix}/share/doc/${name}/html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -c -m 644 ${worksrcpath}/doc/_build/latex/gsl-ref.pdf ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}/doc/_build/html ${destroot}${prefix}/share/doc/${name}/
</span> }
}
</pre><pre style='margin:0'>
</pre>