<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/05efbded627c262fde101ceb5e3b1002e90d5489">https://github.com/macports/macports-ports/commit/05efbded627c262fde101ceb5e3b1002e90d5489</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 05efbded627c262fde101ceb5e3b1002e90d5489
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sat Aug 10 12:19:19 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> ntl: add mode line and reformat
</span>---
math/ntl/Portfile | 76 ++++++++++++++++++++++++++++---------------------------
1 file changed, 39 insertions(+), 37 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/ntl/Portfile b/math/ntl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c3677fa..78c1a88 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/ntl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/ntl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,53 +1,55 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name ntl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 5.4.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories math
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license GPL-2+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description NTL: A Library for doing Number Theory
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description NTL is a high-performance, portable C++ library providing\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- data structures and algorithms for arbitrary length\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- integers\; for vectors, matrices, and polynomials over the\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- integers and over finite fields\; and for arbitrary\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- precision floating point arithmetic.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://shoup.net/ntl/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites ${homepage}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 0aac5c680eee09a19732e1601b237a0b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha1 0250461a5e205663f7e446211c9571b6aad249e9 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 5657f4f3b18281787b85f561b184c757254f656f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build path:bin/perl:perl5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test.run no
</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><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name ntl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 5.4.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories math
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-2+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description NTL: A Library for doing Number Theory
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description NTL is a high-performance, portable C++ library providing\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ data structures and algorithms for arbitrary length\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ integers\; for vectors, matrices, and polynomials over the\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ integers and over finite fields\; and for arbitrary\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ precision floating point arithmetic.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://shoup.net/ntl/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ${homepage}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums md5 0aac5c680eee09a19732e1601b237a0b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha1 0250461a5e205663f7e446211c9571b6aad249e9 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 5657f4f3b18281787b85f561b184c757254f656f
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build path:bin/perl:perl5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.run no
</span>
configure.pre_args PREFIX=\"${prefix}\" DOCDIR=\"${prefix}/share/doc\"
configure.args NTL_STD_CXX=on \
CC=\"\$CC\" CXX=\"\$CXX\" CFLAGS=\"\$CFLAGS\" CXXFLAGS=\"\$CXXFLAGS\"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-worksrcdir ${name}-${version}/src
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+worksrcdir ${name}-${version}/src
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.destdir PREFIX=\"${destroot}${prefix}\" DOCDIR=\"${destroot}${prefix}/share/doc\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.destdir PREFIX=\"${destroot}${prefix}\" DOCDIR=\"${destroot}${prefix}/share/doc\"
</span>
post-patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Ensure that the correct perl is used
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|perl DoConfig|${prefix}/bin/perl DoConfig|g" ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Ensure that the correct perl is used
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|perl DoConfig|${prefix}/bin/perl DoConfig|g" ${worksrcpath}/configure
</span> }
variant gmp {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:gmp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append NTL_GMP_LIP=on GMP_PREFIX=\"${prefix}\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:gmp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append NTL_GMP_LIP=on GMP_PREFIX=\"${prefix}\"
</span> }
post-destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system "cd ${destroot}${prefix}/share/doc && mv NTL tmp && mv tmp ntl"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 0644 ${worksrcpath}/../README \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 0644 ${worksrcpath}/../doc/copying.txt \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/doc/${name}/LICENSE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "cd ${destroot}${prefix}/share/doc && mv NTL tmp && mv tmp ntl"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 ${worksrcpath}/../README \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 ${worksrcpath}/../doc/copying.txt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/doc/${name}/LICENSE
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url http://shoup.net/ntl/download.html
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex "Download NTL (\\d+(?:\\.\\d+)*)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url http://shoup.net/ntl/download.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex "Download NTL (\\d+(?:\\.\\d+)*)"
</span></pre><pre style='margin:0'>
</pre>