<pre style='margin:0'>
Michael Dickens (michaelld) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/121e789006f74c940626802ed1b1be4ffa17907e">https://github.com/macports/macports-ports/commit/121e789006f74c940626802ed1b1be4ffa17907e</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 121e789 limesuite: add application bundle
</span>121e789 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 121e789006f74c940626802ed1b1be4ffa17907e
</span>Author: Davide Gerhard <rainbow@irh.it>
AuthorDate: Wed Sep 18 10:49:36 2019 +0200
<span style='display:block; white-space:pre;color:#404040;'> limesuite: add application bundle
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> create application bundle to easily launch the GUI
</span>---
science/limesuite/Portfile | 22 +++++++++++++++------
science/limesuite/files/limesuitegui.icns | Bin 0 -> 78810 bytes
.../limesuite/files/patch-src_CMakeLists.txt.diff | 6 +++---
3 files changed, 19 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/limesuite/Portfile b/science/limesuite/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f147159..ae0886a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/limesuite/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/limesuite/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,6 +5,7 @@ PortGroup cmake 1.1
</span> PortGroup cxx11 1.1
PortGroup github 1.0
PortGroup wxWidgets 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup app 1.0
</span>
name limesuite
categories science comms
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,6 +46,10 @@ if {[string first "-devel" $subport] > 0} {
</span>
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# fix where CMake files are installed; in MacPorts we strive for
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# "$PREFIX/share/cmake/$PROJECT_NAME", not "$PREFIX/lib/cmake/$PROJECT_NAME".
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-src_CMakeLists.txt.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_build-append \
port:pkgconfig
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,7 +65,9 @@ configure.args-append \
</span> -DENABLE_SOAPY_LMS7=OFF\
-DENABLE_OCTAVE=OFF
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# need wxWidgets-3.2 to enable dark mode in mojave
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+app.create no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# needs wxWidgets-3.2 to enable dark mode in mojave
</span> variant wxgui description {Enable wxWidgets LimeSuiteGUI} {
wxWidgets.use wxWidgets-3.2
depends_lib-append port:${wxWidgets.port}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -82,9 +89,12 @@ variant octave description {Enable Octave support} {
</span> configure.args-append -DENABLE_OCTAVE=ON
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-default_variants +wxgui +soapy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant bundle description {Enable Application bundle} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ app.create yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ app.name LimeSuiteGUI
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ app.executable LimeSuiteGUI
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ app.icon ${filespath}/limesuitegui.icns
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ app.retina yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# fix where CMake files are installed; in MacPorts we strive for
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# "$PREFIX/share/cmake/$PROJECT_NAME", not "$PREFIX/lib/cmake/$PROJECT_NAME".
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append patch-src_CMakeLists.txt.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patch.pre_args -p1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+default_variants +wxgui +soapy +bundle
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/limesuite/files/limesuitegui.icns b/science/limesuite/files/limesuitegui.icns
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..35b7fa6
</span>Binary files /dev/null and b/science/limesuite/files/limesuitegui.icns differ
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/limesuite/files/patch-src_CMakeLists.txt.diff b/science/limesuite/files/patch-src_CMakeLists.txt.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 6a86e87..6fd93c8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/limesuite/files/patch-src_CMakeLists.txt.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/limesuite/files/patch-src_CMakeLists.txt.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,7 +1,7 @@
</span> diff --git a/CMakeLists.txt b/CMakeLists.txt
index a266ec6..e7e2233 100644
<span style='display:block; white-space:pre;background:#ffe0e0;'>---- a/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ b/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ CMakeLists.txt
</span> @@ -237,7 +237,7 @@
install(FILES
${PROJECT_SOURCE_DIR}/cmake/Modules/LimeSuiteConfig.cmake
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,5 +9,5 @@ index a266ec6..e7e2233 100644
</span> - DESTINATION lib${LIB_SUFFIX}/cmake/${PROJECT_NAME})
+ DESTINATION share/cmake/${PROJECT_NAME})
endif (ENABLE_HEADERS AND ENABLE_LIBRARY)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> ########################################################################
</pre><pre style='margin:0'>
</pre>