<pre style='margin:0'>
Kurt Hindenburg (kurthindenburg) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/33e6254262e5cff376e824469a2f311b5f874673">https://github.com/macports/macports-ports/commit/33e6254262e5cff376e824469a2f311b5f874673</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 33e6254262e5cff376e824469a2f311b5f874673
</span>Author: Kurt Hindenburg <khindenburg@macports.org>
AuthorDate: Sun Feb 26 10:52:06 2017 -0500
<span style='display:block; white-space:pre;color:#404040;'> DoCon: add modeline and whitespace changes
</span>---
math/DoCon/Portfile | 115 ++++++++++++++++++++++++++++------------------------
1 file changed, 62 insertions(+), 53 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/DoCon/Portfile b/math/DoCon/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4593ddb..29b7e78 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/DoCon/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/DoCon/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,64 +1,73 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name DoCon
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set shortname docon
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.11
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories math devel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name DoCon
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set shortname docon
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories math devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description DoCon is the Algebraic Domain Constructor
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- DoCon joins the categorial approach to mathematical \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- computation expressed via the Haskell type classes, \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- and explicit processing of the domain description \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- terms. It implements recently a good piece of \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- commutative algebra: linear algebra, polynomial gcd, \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- factorization, Groebner bases, and other functions.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description DoCon is the Algebraic Domain Constructor
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DoCon joins the categorial approach to mathematical \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ computation expressed via the Haskell type classes, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ and explicit processing of the domain description \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ terms. It implements recently a good piece of \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ commutative algebra: linear algebra, polynomial gcd, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ factorization, Groebner bases, and other functions.
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://haskell.org/${shortname}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites ${homepage}/distrib/${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${shortname}-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_zip yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://haskell.org/${shortname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ${homepage}/distrib/${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname ${shortname}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_zip yes
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 229b4af2005bc6fcac0e386d88bf69e4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums md5 229b4af2005bc6fcac0e386d88bf69e4
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-docon.cabal.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-docon.cabal.diff
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:ghc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:ghc
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set worksrcpath ${workpath}/${shortname}/source
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set worksrcpath ${workpath}/${shortname}/source
</span>
variant printable_doc description {Build printable documentation} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build bin:latex:texlive port:ghostscript
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Run latex twice to resolve references
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "cd ${workpath}/${shortname} && latex manual.lat"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "cd ${workpath}/${shortname} && latex manual.lat"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "cd ${workpath}/${shortname} && dvipdf manual"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file mkdir ${destroot}${prefix}/share/doc/${shortname}-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file copy ${workpath}/${shortname}/manual.pdf ${destroot}${prefix}/share/doc/${shortname}-${version}/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure { system "cd ${worksrcpath} && runhaskell Setup configure --ghc --prefix=${prefix} --enable-library-profiling" }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build { system "cd ${worksrcpath} && runhaskell Setup build -v" }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot { system "cd ${worksrcpath} && runhaskell Setup copy --copy-prefix=${destroot}${prefix}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "cd ${worksrcpath} && runhaskell Setup register --gen-script"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "cd ${worksrcpath} && runhaskell Setup unregister --gen-script"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file mkdir ${destroot}${prefix}/libexec/${shortname}-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file copy ${worksrcpath}/register.sh \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/libexec/${shortname}-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file copy ${worksrcpath}/unregister.sh \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/libexec/${shortname}-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-activate { system "${prefix}/libexec/${shortname}-${version}/register.sh" }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#pre-deactivate { system "${prefix}/libexec/${shortname}-${version}/unregister.sh" }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build bin:latex:texlive port:ghostscript
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Run latex twice to resolve references
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "cd ${workpath}/${shortname} && latex manual.lat"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "cd ${workpath}/${shortname} && latex manual.lat"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "cd ${workpath}/${shortname} && dvipdf manual"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mkdir ${destroot}${prefix}/share/doc/${shortname}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${workpath}/${shortname}/manual.pdf ${destroot}${prefix}/share/doc/${shortname}-${version}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "cd ${worksrcpath} && runhaskell Setup configure --ghc --prefix=${prefix} --enable-library-profiling"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "cd ${worksrcpath} && runhaskell Setup build -v"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "cd ${worksrcpath} && runhaskell Setup copy --copy-prefix=${destroot}${prefix}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "cd ${worksrcpath} && runhaskell Setup register --gen-script"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "cd ${worksrcpath} && runhaskell Setup unregister --gen-script"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mkdir ${destroot}${prefix}/libexec/${shortname}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${worksrcpath}/register.sh \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/libexec/${shortname}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${worksrcpath}/unregister.sh \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/libexec/${shortname}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-activate {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "${prefix}/libexec/${shortname}-${version}/register.sh"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#pre-deactivate { system "${prefix}/libexec/${shortname}-${version}/unregister.sh" }
</span>
</pre><pre style='margin:0'>
</pre>