<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/3a6a48ce45005fccdaa7ac228446b8d1f51393f6">https://github.com/macports/macports-ports/commit/3a6a48ce45005fccdaa7ac228446b8d1f51393f6</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 3a6a48ce450 libreoffice: new port
</span>3a6a48ce450 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 3a6a48ce45005fccdaa7ac228446b8d1f51393f6
</span>Author: Andrew Udvare <audvare@gmail.com>
AuthorDate: Sun Nov 8 02:52:06 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> libreoffice: new port
</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/37024
</span>---
office/libreoffice/Portfile | 308 +++++++++++++++++++++
office/libreoffice/files/configure.patch | 25 ++
.../files/unpack-sources-fix-for-bsd-find.patch | 13 +
3 files changed, 346 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/office/libreoffice/Portfile b/office/libreoffice/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..7ef6c5e06f9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/office/libreoffice/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,308 @@
</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 libreoffice
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 7.0.4.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories office aqua
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license {LGPL-3 MPL-1.1}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms macosx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {gmail.com:audvare @Tatsh} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Free, open source office suite.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description LibreOffice is a free and powerful office suite, and a successor to \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ OpenOffice.org (commonly known as OpenOffice). Its clean interface and \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ feature-rich tools help you unleash your creativity and enhance your \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ productivity.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://www.libreoffice.org
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_xz yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set short_version [string range $version 0 end-2]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set main_uri https://download.documentfoundation.org/${name}/src/${short_version}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set addons_uri https://dev-www.libreoffice.org/src/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set extern_uri https://dev-www.libreoffice.org/extern/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set main_distfile ${name}-${version}${extract.suffix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url https://downloadarchive.documentfoundation.org/libreoffice/old/latest/src/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex "${name}-((?:\\d+\\.\\d+\\.\\d+)(?:\\.\\d+))?${extract.suffix}</a></td>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+extract.only ${main_distfile} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${name}-dictionaries-${version}.tar.xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${name}-translations-${version}.tar.xz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ${main_uri}:main \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${extern_uri}:opens \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${addons_uri}:ucpp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${addons_uri}:clucene-core \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${addons_uri}:mythes \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${addons_uri}:dtoa \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${addons_uri}:abw \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${addons_uri}:cmis \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${addons_uri}:epubgen \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${addons_uri}:exttextcat \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${addons_uri}:mwaw \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${addons_uri}:orcus \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${addons_uri}:qxp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${addons_uri}:libstaroffice \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${addons_uri}:zmf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${addons_uri}:mdds \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${main_uri}:dicts \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${main_uri}:translations
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distfiles ${main_distfile}:main \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${name}-dictionaries-${version}.tar.xz:dicts \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${name}-translations-${version}.tar.xz:translations \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz:ucpp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 48d647fbd8ef8889e5a7f422c1bfda94-clucene-core-2.3.3.4.tar.gz:clucene-core \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 884ed41809687c3e168fc7c19b16585149ff058eca79acbf3ee784f6630704cc-opens___.ttf:opens \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ a8c2c5b8f09e7ede322d5c602ff6a4b6-mythes-1.2.4.tar.gz:mythes \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dtoa-20180411.tgz:dtoa \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libabw-0.1.3.tar.xz:abw \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libcmis-0.5.2.tar.xz:cmis \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libepubgen-0.1.1.tar.xz:epubgen \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libexttextcat-3.4.5.tar.xz:exttextcat \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libmwaw-0.3.16.tar.xz:mwaw \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ liborcus-0.15.4.tar.bz2:orcus \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libqxp-0.0.2.tar.xz:qxp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libstaroffice-0.0.7.tar.xz:libstaroffice \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libzmf-0.0.2.tar.xz:zmf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mdds-1.6.0.tar.bz2:mdds
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums libreoffice-7.0.4.1.tar.xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 afc2f11635d79c62d59898d0a1a2dd09a4a59f85 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 8f568ea2ee297b6fbd5d93ac433f4715c50856347529e595f144ccd9c0c7d230 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 236440920 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libreoffice-dictionaries-7.0.4.1.tar.xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 de06bc0a38b7337283aa2632472de4da3cc26749 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 620ca8dad1c101ba35ba5a6fd8473cd8cb4001a19a443f7d022a3626f5c03d32 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 45993220 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libreoffice-translations-7.0.4.1.tar.xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 0d813461fe4d0585bc1610a387843f04fe038aae \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 7ebeafbdee0e55d37da24ca587749688ffb40c44b4f3e87e13f58583b45f95fc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 175336600 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 dbeb7a7f8c89961ca2e544b810345d025561866b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 983941d31ee8d366085cadf28db75eb1f5cb03ba1e5853b98f12f7f51c63b776 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 96939 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 48d647fbd8ef8889e5a7f422c1bfda94-clucene-core-2.3.3.4.tar.gz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 5acfc9c8acd167b3684cfc731a60fd9c5465cc9b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 ddfdc433dd8ad31b5c5819cc4404a8d2127472a3b720d3e744e8c51d79732eab \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2241498 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 884ed41809687c3e168fc7c19b16585149ff058eca79acbf3ee784f6630704cc-opens___.ttf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 00b1e296adf2caad44c49ad9743e5da7c771e480 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 884ed41809687c3e168fc7c19b16585149ff058eca79acbf3ee784f6630704cc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 207544 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ a8c2c5b8f09e7ede322d5c602ff6a4b6-mythes-1.2.4.tar.gz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 4bf022808a362c0711ec857787bc3376e9adb940 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 1e81f395d8c851c3e4e75b568e20fa2fa549354e75ab397f9de4b0e0790a305f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 4910303 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dtoa-20180411.tgz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 8d1bba737d8b58c3fb09533f35af2a03e05d9849 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 0082d0684f7db6f62361b76c4b7faba19e0c7ce5cb8e36c4b65fea8281e711b4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 48893 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libabw-0.1.3.tar.xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 3dc267391c6253496767177f8a54d45aa079cf77 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e763a9dc21c3d2667402d66e202e3f8ef4db51b34b79ef41f56cacb86dcd6eed \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 318808 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libcmis-0.5.2.tar.xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 cb17ab0d699ab56faae46ebaaabca618f3cf8b28 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 d7b18d9602190e10d437f8a964a32e983afd57e2db316a07d87477a79f5000a2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 484404 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libepubgen-0.1.1.tar.xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 53bbc182262a0d77e2d19a19d27d850b1e699132 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 03e084b994cbeffc8c3dd13303b2cb805f44d8f2c3b79f7690d7e3fc7f6215ad \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 324380 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libexttextcat-3.4.5.tar.xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 da7b61766ac962abb4e0b2bcb2de6555b49cefc5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 13fdbc9d4c489a4d0519e51933a1aa21fe3fb9eb7da191b87f7a63e82797dac8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1041268 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libmwaw-0.3.16.tar.xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 111e5dc4e9cefbd812dafd4168ea0c0cc18aca04 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 0c639edba5297bde5575193bf5b5f2f469956beaff5c0206d91ce9df6bde1868 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1306872 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ liborcus-0.15.4.tar.bz2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 21eac3c9b1f37fdb59031fec606a1b4492f95d7c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 cfb2aa60825f2a78589ed030c07f46a1ee16ef8a2d1bf2279192fbc1ae5a5f61 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1840593 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libqxp-0.0.2.tar.xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 3363d46e334124f454c8b928c1e91e8f138ef250 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e137b6b110120a52c98edd02ebdc4095ee08d0d5295a94316a981750095a945c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 341760 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libstaroffice-0.0.7.tar.xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 96d41ee09185a39d1dbd5c418705603424e6f66f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 f94fb0ad8216f97127bedef163a45886b43c62deac5e5b0f5e628e234220c8db \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 707920 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libzmf-0.0.2.tar.xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 b0be3dbe0f6bf4565c1668a236850601616f625f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 27051a30cb057fdb5d5de65a1f165c7153dc76e27fe62251cbb86639eb2caf22 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 320952 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mdds-1.6.0.tar.bz2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 003175ca1b3d1293a6f144490de94eba72cb1697 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 f1585c9cbd12f83a6d43d395ac1ab6a9d9d5d77f062c7b5f704e24ed72dae07d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 350406
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:autoconf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:automake \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:bison \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:cppunit \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:flex \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gettext \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gperf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:intltool \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:unixODBC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:apr \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:apr-util \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:boost \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:bzip2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:curl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:expat \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gdbm \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gettext \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:graphite2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:harfbuzz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:harfbuzz-icu \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:hunspell \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:hyphen \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:icu \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:jpeg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:lcms2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libcdr-0.1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libe-book \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libepoxy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libetonyek \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libfreehand \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libiconv \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:liblangtag \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libmspub \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:lib/libjpeg.dylib:jpeg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libodfgen \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libpagemaker \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libpng \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:librevenge \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libvisio-0.1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libwpd-0.10 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libwpg-0.3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libwps \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libxml2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libxslt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:ncurses \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:neon \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:nspr \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:nss \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/libssl.dylib:openssl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:ossp-uuid \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:raptor2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:readline \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:redland \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:serf1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:sqlite3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xmlsec \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:zlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Try to keep this in sync with the Python portgroup.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set python_version 38
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:python${python_version} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python_version}-lxml
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.major} < 14} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${name} @${version} requires OS X 10.10 or later."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "incompatible OS X 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;'>+patchfiles \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ unpack-sources-fix-for-bsd-find.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set product_name LibreOffice
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "cd ${worksrcpath} && env NOCONFIGURE=1 ./autogen.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;'>+use_xcode yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# CMS_NO_REGISTER_KEYWORD required for C++17 or newer compiler.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.env-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "LCMS2_CFLAGS=-I${prefix}/include -DCMS_NO_REGISTER_KEYWORD=1"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Most arguments are from
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://wiki.documentfoundation.org/LibreOffice_Vanilla_for_Mac#LibreOffice_Vanilla
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-breakpad \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-bundle-mariadb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-ccache \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-coinmp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-epm \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-ext-ct2n \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-ext-numbertext \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-fetch-external \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-firebird-sdbc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-ldap \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-libnumbertext \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-lotuswordpro \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-lpsolve \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-neon \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-odk \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-online-update \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-pdfimport \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-pdfium \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-postgresql-sdbc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-qrcodegen \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-report-builder \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-vlc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-bogus-pkg-config \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-cups \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-extension-integration \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-mpl-subset \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-python=system \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-readonly-installset \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-release-build \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-symbols \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-external-tar=${distpath} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-myspell-dicts \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-package-version=${version} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-parallelism=${build.jobs} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-product-name=${product_name} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-system-epoxy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-system-gpgmepp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-system-headers \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-system-hunspell \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-system-jars \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-system-libebook \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-system-libs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-system-xmlsec \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-theme=colibre \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-tls=nss \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-vendor=MacPorts \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-webdav=serf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-doxygen \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-fonts \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-java \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-package-format \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-system-dicts \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-system-libabw \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-system-libcmis \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-system-libepubgen \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-system-libexttextcat \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-system-libmwaw \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-system-libqxp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-system-libstaroffice \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-system-libzmf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-system-mdds \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-system-mythes \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-system-orcus \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-system-sane \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \"--with-lang=bg br ca ca-valencia cy cs da de el en-US en-GB es et eu fi fr ga gd gl hr hu id is it ja km lt lv nb nl nn pl pt pt-BR ro ru sk sl sv ta tr uk zh-CN zh-TW\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# This is not a mistake, despite requiring port:openssl in depends_lib. Some
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# internals still require libcrypto.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append --disable-openssl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# "Your version of libclucene has contribs-lib missing."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append --without-system-clucene
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.target build-nocheck
</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;'>+ copy ${worksrcpath}/instdir/${product_name}.app ${destroot}${applications_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/office/libreoffice/files/configure.patch b/office/libreoffice/files/configure.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..0720915fd13
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/office/libreoffice/files/configure.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,25 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git configure.ac configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index e4ef8bec2b3e..402979d77ffe 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -8845,10 +8845,6 @@ AC_SUBST(XMLLINT)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Optionally user can pass an option to configure, i. e.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # ./configure PYTHON=/usr/bin/python
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # =====================================================================
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if test $_os = Darwin -a "$enable_python" != fully-internal -a "$enable_python" != internal; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # Only allowed choices for macOS are 'internal' (default) and 'fully-internal'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- enable_python=internal
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "$build_os" != "cygwin" -a "$enable_python" != fully-internal; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test -n "$PYTHON"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PYTHON_FOR_BUILD=$PYTHON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -8918,9 +8914,6 @@ fully-internal)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_MSG_RESULT([system])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if test "$_os" = Darwin; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- AC_MSG_ERROR([--enable-python=system doesn't work on macOS because the version provided is obsolete])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- fi
</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;'>+ AC_MSG_ERROR([Incorrect --enable-python option])
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/office/libreoffice/files/unpack-sources-fix-for-bsd-find.patch b/office/libreoffice/files/unpack-sources-fix-for-bsd-find.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..984c8f07e41
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/office/libreoffice/files/unpack-sources-fix-for-bsd-find.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- bin/unpack-sources.old 2020-11-11 04:47:35.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ bin/unpack-sources 2020-11-11 04:53:29.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -85,7 +85,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # create symlinks for module directories; ignore git-hooks directory
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- for dir in `find "$lo_src_dir/$tarname" -mindepth 1 -maxdepth 1 -type d -path $lo_src_dir/$tarname/git-hooks -o -printf "$tarname/%f\n"` ; do
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ln -sf "src/$dir" "$start_dir"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ while read -r dir; do
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ln -sf "src/${tarname}/$(basename "$dir")" "$start_dir"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ done < <(find "$lo_src_dir/$tarname" -mindepth 1 -maxdepth 1 -type d -path $lo_src_dir/$tarname/git-hooks)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ done
</span></pre><pre style='margin:0'>
</pre>