<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/bc12cd8436d8f206f3b995e06824d358141816c3">https://github.com/macports/macports-ports/commit/bc12cd8436d8f206f3b995e06824d358141816c3</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit bc12cd8436d8f206f3b995e06824d358141816c3
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Mon Apr 15 12:54:38 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> rb-ffi-tk: new port
</span>---
ruby/rb-ffi-tk/Portfile | 29 +++++++++++++++++++++++++++++
ruby/rb-ffi-tk/files/patch-gemspec-3.1.diff | 15 +++++++++++++++
ruby/rb-ffi-tk/files/patch-gemspec-3.2.diff | 10 ++++++++++
ruby/rb-ffi-tk/files/patch-gemspec-3.3.diff | 10 ++++++++++
4 files changed, 64 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/ruby/rb-ffi-tk/Portfile b/ruby/rb-ffi-tk/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..916fd28292e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/ruby/rb-ffi-tk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,29 @@
</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 ruby 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ruby.branches 3.3 3.2 3.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ruby.setup ffi-tk 2018.02.20 gem {} rubygems
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories-append x11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license MIT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms any
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description FFI bindings to the Tk GUI toolkit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description {*}${description} for Ruby.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://github.com/manveru/ffi-tk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 7a591205326f74d88b49dd1ed935b4dd4b78a33a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 5a0e25b62febd08634c4a22f69312fea63d69e1c2c00fdef11953ebdb2cbb798 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 144384
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${name} ne ${subport}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:rb${ruby.suffix}-ffi \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:tk
</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;'>+ system -W ${destroot}${ruby.gemdir}/specifications \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "/usr/bin/patch -p0 < ${filespath}/patch-gemspec-${ruby.branch}.diff"
</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;color:#808080;'>diff --git a/ruby/rb-ffi-tk/files/patch-gemspec-3.1.diff b/ruby/rb-ffi-tk/files/patch-gemspec-3.1.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..1f97699e9a2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/ruby/rb-ffi-tk/files/patch-gemspec-3.1.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ffi-tk-2018.02.20.gemspec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ffi-tk-2018.02.20.gemspec 2024-04-15 12:44:02
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -23,10 +23,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ end
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if s.respond_to? :add_runtime_dependency then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- s.add_runtime_dependency(%q<ffi>.freeze, ["~> 1.9"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ s.add_runtime_dependency(%q<ffi>.freeze, [">= 1.9"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ s.add_development_dependency(%q<bacon>.freeze, ["~> 1.2"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- s.add_dependency(%q<ffi>.freeze, ["~> 1.9"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ s.add_dependency(%q<ffi>.freeze, [">= 1.9"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ s.add_dependency(%q<bacon>.freeze, ["~> 1.2"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ end
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ end
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/ruby/rb-ffi-tk/files/patch-gemspec-3.2.diff b/ruby/rb-ffi-tk/files/patch-gemspec-3.2.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..1141cd9e999
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/ruby/rb-ffi-tk/files/patch-gemspec-3.2.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ffi-tk-2018.02.20.gemspec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ffi-tk-2018.02.20.gemspec 2024-04-15 12:20:07
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -20,6 +20,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ s.specification_version = 4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- s.add_runtime_dependency(%q<ffi>.freeze, ["~> 1.9"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ s.add_runtime_dependency(%q<ffi>.freeze, [">= 1.9"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ s.add_development_dependency(%q<bacon>.freeze, ["~> 1.2"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ end
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/ruby/rb-ffi-tk/files/patch-gemspec-3.3.diff b/ruby/rb-ffi-tk/files/patch-gemspec-3.3.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..42748e32bfe
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/ruby/rb-ffi-tk/files/patch-gemspec-3.3.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ffi-tk-2018.02.20.gemspec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ffi-tk-2018.02.20.gemspec 2024-04-15 12:16:18
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -20,6 +20,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ s.specification_version = 4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- s.add_runtime_dependency(%q<ffi>.freeze, ["~> 1.9".freeze])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ s.add_runtime_dependency(%q<ffi>.freeze, [">= 1.9".freeze])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ s.add_development_dependency(%q<bacon>.freeze, ["~> 1.2".freeze])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ end
</span></pre><pre style='margin:0'>
</pre>