<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b2c148808dd78c7fd6efc7bb79fd2fdcf5db6333">https://github.com/macports/macports-ports/commit/b2c148808dd78c7fd6efc7bb79fd2fdcf5db6333</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 b2c148808dd owncloud-client: refactor Portfile
</span>b2c148808dd is described below

<span style='display:block; white-space:pre;color:#808000;'>commit b2c148808dd78c7fd6efc7bb79fd2fdcf5db6333
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Tue Mar 22 15:36:47 2022 -0500

<span style='display:block; white-space:pre;color:#404040;'>    owncloud-client: refactor Portfile
</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/64862
</span>---
 www/owncloud-client/Portfile | 124 +++++++++++++++++++++----------------------
 1 file changed, 62 insertions(+), 62 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/owncloud-client/Portfile b/www/owncloud-client/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f1ccf905d8c..1fa09cbfed7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/www/owncloud-client/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/owncloud-client/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,13 +10,58 @@ categories              www aqua
</span> maintainers             {mps @Schamschula} openmaintainer
 license                 GPL-2+
 description             Desktop Syncing Client for ownCloud
<span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    The ownCloud Desktop Client is a tool to synchronize files from ownCloud \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    Server with your computer.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms               darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description        The ownCloud Desktop Client is a tool to synchronize files from \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        ownCloud Server with your computer.
</span> homepage                https://owncloud.org/
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Check https://download.owncloud.com/desktop/ownCloud/stable/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# to find the build_id in the source tarball:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ownCloud-${version}.${build_id}.tar.xz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set build_id            6519
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version                 2.10.0.${build_id}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision                0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites            https://download.owncloud.com/desktop/ownCloud/stable/${version}/source/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname                ownCloud-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums               rmd160  29755cd9a333c19a1fcf5860ee502f5d25cae05a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        sha256  1c31fcb3f54f78e01b932adf13b85b85e3e1b56731d4851d9610c29e87689a1f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        size    5791912
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+qt5.min_version         5.13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</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;'>+compiler.cpath
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.library_path
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# For -fstack-protector-strong; copied from Portfile of KeePassXC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append {clang < 602} macports-clang-3.4 macports-clang-3.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.fallback-append macports-clang-5.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append    port:doxygen
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append      port:qtkeychain
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+qt5.depends_build_component \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        qttools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append   -DMIRALL_VERSION_BUILD=${build_id}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {${os.platform} eq "darwin"} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    qt5.depends_component   qtmacextras qtwebkit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    cmake.install_prefix    ${applications_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    patchfiles-append       patch-add-xcodeflags.diff
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # This should match LIB_INSTALL_DIR in CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-append   -DCMAKE_INSTALL_NAME_DIR=${applications_dir}/owncloud.app/Contents/MacOS \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            -DXCODEFLAGS="-IDECustomDerivedDataLocation=${workpath}/DerivedData" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            -DKDE_INSTALL_BUNDLEDIR:PATH=${applications_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     if {${os.major} < 16} {
         version             2.6.3
         set build_id        14058
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,71 +80,26 @@ if {${os.platform} eq "darwin"} {
</span> 
         livecheck.type      none
     } else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        # Check https://download.owncloud.com/desktop/ownCloud/stable/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        # to find the build_id in the source tarball:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        # ownCloud-${version}.${build_id}.tar.xz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        set build_id        6519
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        version             2.10.0.${build_id}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        revision            0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        master_sites        https://download.owncloud.com/desktop/ownCloud/stable/${version}/source/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        distname            ownCloud-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        checksums           rmd160  29755cd9a333c19a1fcf5860ee502f5d25cae05a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                            sha256  1c31fcb3f54f78e01b932adf13b85b85e3e1b56731d4851d9610c29e87689a1f \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                            size    5791912
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span>         depends_build-append \
                             port:kde-extra-cmake-modules
 
         patchfiles-append   patch-CMakeLists.txt.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        qt5.min_version     5.13
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                            -DKDE_INSTALL_BUNDLEDIR:PATH=${applications_dir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        livecheck.type      regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        livecheck.url       https://download.owncloud.com/desktop/ownCloud/stable/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        livecheck.regex     {\/(2(\.\d+)*)\/}
</span>     }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    
</span>     if {${os.major} < 13} {
         # Finder extension does not compile on 10.8
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        configure.pre_args-append   -DBUILD_SHELL_INTEGRATION=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        configure.pre_args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            -DBUILD_SHELL_INTEGRATION=OFF
</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;'>+        ln -s ${applications_dir}/owncloud.app/Contents/MacOS/owncloudcmd \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            ${destroot}${prefix}/bin/owncloudcmd
</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;'>+    qt5.depends_component   qtwebkit
</span> }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_xz                  yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_xcode               yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.cpath
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.library_path
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# For -fstack-protector-strong; copied from Portfile of KeePassXC
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist-append {clang < 602} macports-clang-3.4 macports-clang-3.3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.fallback-append macports-clang-5.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build-append    port:doxygen
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib-append      port:qtkeychain
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-qt5.depends_component   qtmacextras qtwebkit
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-qt5.depends_build_component \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        qttools
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append       patch-add-xcodeflags.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-cmake.install_prefix    ${applications_dir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# This should match LIB_INSTALL_DIR in CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append   -DCMAKE_INSTALL_NAME_DIR=${applications_dir}/owncloud.app/Contents/MacOS \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        -DXCODEFLAGS="-IDECustomDerivedDataLocation=${workpath}/DerivedData" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        -DMIRALL_VERSION_BUILD=${build_id}
</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-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    ln -s ${applications_dir}/owncloud.app/Contents/MacOS/owncloudcmd \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        ${destroot}${prefix}/bin/owncloudcmd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</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://download.owncloud.com/desktop/ownCloud/stable/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex     {\/(2(\.\d+)*)\/}
</span></pre><pre style='margin:0'>

</pre>