<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a32311414a8909b73b6b457a9d0c1aafa1f79c0a">https://github.com/macports/macports-ports/commit/a32311414a8909b73b6b457a9d0c1aafa1f79c0a</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 a32311414a8 fortran-xml: new port
</span>a32311414a8 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a32311414a8909b73b6b457a9d0c1aafa1f79c0a
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Thu Apr 20 19:05:18 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> fortran-xml: new port
</span>---
fortran/fortran-xml/Portfile | 43 +++++++++++++++++++++++++
fortran/fortran-xml/files/patch-CMakeLists.diff | 9 ++++++
2 files changed, 52 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/fortran/fortran-xml/Portfile b/fortran/fortran-xml/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..c3f0f23926b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/fortran/fortran-xml/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,43 @@
</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;'>+PortGroup cmake 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup compiler_blacklist_versions 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup compilers 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup andreww fox 6f60cf178d0776b21406303e91f1e6b42ff0f204
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2021.03.04
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name fortran-xml
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories fortran devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license BSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@barracuda156 gmail.com:vital.had} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Fortran XML library
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description {*}${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://andreww.github.io/fox
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 1ba2fb0eae1e5a3620dd209e6b10c7e6e1033dfa \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e44da2f2c39a18db7fa00a40d682f4e698d113581ec5935293089e7addd0afc2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1078592
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Place modules into a named dir:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-CMakeLists.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Rosetta hack:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin 10 powerpc {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s,CMAKE_SYSTEM_PROCESSOR,CMAKE_OSX_ARCHITECTURES," ${worksrcpath}/CMakeLists.txt
</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;'>+compiler.blacklist-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {*gcc-[34].*}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compilers.choose fc f90
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compilers.setup require_fortran
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBUILD_SHARED_LIBS=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBUILD_TESTING=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DFoX_ENABLE_EXAMPLES=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+universal_variant no
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/fortran/fortran-xml/files/patch-CMakeLists.diff b/fortran/fortran-xml/files/patch-CMakeLists.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..1f7ae4cf45e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/fortran/fortran-xml/files/patch-CMakeLists.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- CMakeLists.txt.orig 2021-03-04 19:06:19.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ CMakeLists.txt 2023-04-20 18:55:56.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -198,4 +198,4 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ENDIF()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # install modules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-INSTALL(DIRECTORY ${CMAKE_Fortran_MODULE_DIRECTORY}/ DESTINATION include)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+\ No newline at end of file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++INSTALL(DIRECTORY ${CMAKE_Fortran_MODULE_DIRECTORY}/ DESTINATION include/FoX)
</span></pre><pre style='margin:0'>
</pre>