<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/e2177c9a8f3050e4520bf13dc4a3783d9ad9a3aa">https://github.com/macports/macports-ports/commit/e2177c9a8f3050e4520bf13dc4a3783d9ad9a3aa</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit e2177c9a8f3050e4520bf13dc4a3783d9ad9a3aa
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Wed May 10 06:48:22 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> maptran3d: new port in fortran
</span>---
fortran/maptran3d/Portfile | 31 ++++++++++++++++++++++++++++
fortran/maptran3d/files/patch-fix-paths.diff | 27 ++++++++++++++++++++++++
2 files changed, 58 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/fortran/maptran3d/Portfile b/fortran/maptran3d/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..9f6a1914deb
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/fortran/maptran3d/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,31 @@
</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 geospace-code maptran3d 4ccc2479ae79a58b34d8e491013cfa2f60f65867
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.2.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories fortran gis
</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 Modern Fortran 3D coordinate conversions for geospace ecef enu eci
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description {*}${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 c932ed53b1ad72534f266b1d6f34db4c5b0d98c5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 5b134c5997f824e8af609d42f0e080a36cdb9f5b97a2de7a4276078e800512c0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 15456
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compilers.setup require_fortran
</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].*} {macports-gcc-[56]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-fix-paths.diff
</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_TESTING=ON
</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.cmd ctest
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/fortran/maptran3d/files/patch-fix-paths.diff b/fortran/maptran3d/files/patch-fix-paths.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..35f76230dfd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/fortran/maptran3d/files/patch-fix-paths.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,27 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- cmake/install.cmake.orig 2022-11-26 02:56:03.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ cmake/install.cmake 2023-05-10 06:40:31.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -4,7 +4,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure_package_config_file(${CMAKE_CURRENT_LIST_DIR}/config.cmake.in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${CMAKE_CURRENT_BINARY_DIR}/cmake/${PROJECT_NAME}Config.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-INSTALL_DESTINATION cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++INSTALL_DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/cmake/maptran
</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;'>+ write_basic_package_version_file(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,13 +14,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install(EXPORT ${PROJECT_NAME}-targets
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ NAMESPACE ${PROJECT_NAME}::
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-DESTINATION cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/cmake/maptran
</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;'>+ install(FILES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${CMAKE_CURRENT_BINARY_DIR}/cmake/${PROJECT_NAME}Config.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${CMAKE_CURRENT_BINARY_DIR}/cmake/${PROJECT_NAME}ConfigVersion.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-DESTINATION cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/cmake/maptran
</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;'>+ # --- CPack
</span></pre><pre style='margin:0'>
</pre>