<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/39f5b1344934fd8777143d548c2fb04ef4affec6">https://github.com/macports/macports-ports/commit/39f5b1344934fd8777143d548c2fb04ef4affec6</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 39f5b134493 pandoc: install binary for BigSur
</span>39f5b134493 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 39f5b1344934fd8777143d548c2fb04ef4affec6
</span>Author: Ken Cunningham <ken.cunningham.webuse@gmail.com>
AuthorDate: Sun Dec 27 13:23:06 2020 -0800
<span style='display:block; white-space:pre;color:#404040;'> pandoc: install binary for BigSur
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> this port installs the x86_64 binary from
</span><span style='display:block; white-space:pre;color:#404040;'> Catalina on BigSur Intel and arm64
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> ghc/stack/cabal will work on BigSur Intel
</span><span style='display:block; white-space:pre;color:#404040;'> at some point. Just when they might work on arm64
</span><span style='display:block; white-space:pre;color:#404040;'> is less clear.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> see: https://trac.macports.org/ticket/61422
</span>---
textproc/pandoc/Portfile | 95 +++++++++++++++++++++++++++++++++++-------------
1 file changed, 70 insertions(+), 25 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/pandoc/Portfile b/textproc/pandoc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 252864f157d..d8d9ac430a5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/pandoc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/pandoc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,15 +1,12 @@
</span> # -*- 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
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup haskell_stack 1.0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup jgm pandoc 2.10.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span> categories textproc haskell
platforms darwin
license GPL-3
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://pandoc.org
</span>
description Conversion between markup formats
long_description \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,25 +18,73 @@ long_description \
</span> Textile, groff man pages, plain text, Emacs Org-Mode, AsciiDoc, EPUB (v2 \
and v3), FictionBook2, and S5, Slidy and Slideous HTML slide shows.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 e5a6e7e6f4b2062d9d0afed78f428a11bdb6d664 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 06e257fb318670501c88abc83fff1f9484c5f1981b6c855640f170a451dcd6d0 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 12709912
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test.run yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test.args --test-arguments='-p markdown'
</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;'>- xinstall -d ${destroot}${prefix}/share/doc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 0644 -W ${worksrcpath} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- AUTHORS.md \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- BUGS \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CONTRIBUTING.md \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- COPYING.md \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- COPYRIGHT \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- MANUAL.txt \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- README.md \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 0644 ${worksrcpath}/man/pandoc.1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/man/man1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# use a downloaded binary for systems that can't build pandoc through MacPorts at present
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${os.platform} eq "darwin" && ${os.major} >= 20 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # BigSur can't presently build ghc/stack/cabal ports so use Catalina binary on
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # both Intel and arm64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ name pandoc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 2.10.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites https://packages.macports.org/pandoc/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_bzip2 yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles pandoc-${version}_${revision}.darwin_19.x86_64.tbz2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 66a0c26a1a3797c434bcb0e0ee1e28d49ccd5acc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 0cff6477cc54b4d75dcf7d288a0ecb8adb23c427e60106e9f13c386a9eb67108 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 16436020
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${worksrcpath}/local/bin/pandoc ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${worksrcpath}/local/share/doc/pandoc/ ${destroot}${prefix}/share/doc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${worksrcpath}/local/share/man ${destroot}${prefix}/share/man
</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;'>+ notes-append {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ This port installs a Catalina Intel binary for use on BigSur, both Intel and arm64.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ once ghc / stack / cabal all properly function on these systems then a full building \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version of this port can be re-enabled.
</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;'>+# this is a placeholder for a binary install version that will work on older systems
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# not yet completed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# } elseif { ${os.platform} eq "darwin" && ${os.major} < 14 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# these systems can't presently build a working pandoc binary via MacPorts
</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;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # these systems can build a working pandoc using MacPorts standard mechanisms
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup haskell_stack 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup jgm pandoc 2.10.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 e5a6e7e6f4b2062d9d0afed78f428a11bdb6d664 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 06e257fb318670501c88abc83fff1f9484c5f1981b6c855640f170a451dcd6d0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 12709912
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.args --test-arguments='-p markdown'
</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;'>+ xinstall -d ${destroot}${prefix}/share/doc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -W ${worksrcpath} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AUTHORS.md \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ BUGS \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CONTRIBUTING.md \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COPYING.md \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COPYRIGHT \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MANUAL.txt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ README.md \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 ${worksrcpath}/man/pandoc.1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/man/man1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> }
</pre><pre style='margin:0'>
</pre>