<pre style='margin:0'>
MarcusCalhoun-Lopez pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c333001faf7ae274f271fcecb6667534dde090b6">https://github.com/macports/macports-ports/commit/c333001faf7ae274f271fcecb6667534dde090b6</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 c333001 jasper: control if and how documentation is built
</span>c333001 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c333001faf7ae274f271fcecb6667534dde090b6
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Tue Dec 20 12:44:10 2016 -0700
<span style='display:block; white-space:pre;color:#404040;'> jasper: control if and how documentation is built
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes https://trac.macports.org/ticket/53119
</span>---
graphics/jasper/Portfile | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/jasper/Portfile b/graphics/jasper/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index db9e8e4..bdbaa81 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/jasper/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/jasper/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,5 +37,23 @@ configure.args-append -DGLUT_glut_LIBRARY=/System/Library/Frameworks/GLUT.fram
</span>
test.run yes
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant docs description {build documentation} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[variant_isset docs]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:doxygen \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:texlive-latex \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:texlive-latex-recommended
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DDOXYGEN_EXECUTABLE=${prefix}/bin/doxygen \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DPDFLATEX_COMPILER=${prefix}/bin/pdflatex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # prevent building documentation unless requested
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DDOXYGEN_EXECUTABLE= \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DPDFLATEX_COMPILER=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type regex
livecheck.regex {JasPer ([.\d]+)}
</pre><pre style='margin:0'>
</pre>