<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/2b5732bc7e07d92ba012bce7d06d7b68080d80a9">https://github.com/macports/macports-ports/commit/2b5732bc7e07d92ba012bce7d06d7b68080d80a9</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 2b5732bc7e0 jmeter: tweak Portfile logic to MP standard
</span>2b5732bc7e0 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2b5732bc7e07d92ba012bce7d06d7b68080d80a9
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Mon Jan 18 09:00:48 2021 -0800
<span style='display:block; white-space:pre;color:#404040;'> jmeter: tweak Portfile logic to MP standard
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> this is the way we usually do this, defining a
</span><span style='display:block; white-space:pre;color:#404040;'> variant and then testing if it is set.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> as app.create is the default, we only have to
</span><span style='display:block; white-space:pre;color:#404040;'> turn it off if we don't want it.
</span>---
devel/jmeter/Portfile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/jmeter/Portfile b/devel/jmeter/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f6d4ffb748d..de46a3b96ef 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/jmeter/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/jmeter/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,15 +34,15 @@ use_configure no
</span>
build {}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-app.create no
</span> app.name JMeter
app.icon ${worksrcpath}/docs/images/favicon.png
app.executable ${worksrcpath}/jmeter_launcher.sh
app.use_launch_script yes
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant launcher description "Generate application launcher bundle" {}
</span> default_variants +launcher
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant launcher description "run the application as native" {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- app.create yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset launcher]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ app.create no
</span> }
pre-destroot {
</pre><pre style='margin:0'>
</pre>