<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/21895c405e728a80f2febceea9827f02a5d72277">https://github.com/macports/macports-ports/commit/21895c405e728a80f2febceea9827f02a5d72277</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 21895c405e728a80f2febceea9827f02a5d72277
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Mon Apr 15 12:53:49 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> rb-sdl2-bindings: new port
</span>---
ruby/rb-sdl2-bindings/Portfile | 33 ++++++++++++++++++++++
ruby/rb-sdl2-bindings/files/patch-gemspec-3.1.diff | 13 +++++++++
ruby/rb-sdl2-bindings/files/patch-gemspec-3.2.diff | 9 ++++++
ruby/rb-sdl2-bindings/files/patch-gemspec-3.3.diff | 9 ++++++
4 files changed, 64 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/ruby/rb-sdl2-bindings/Portfile b/ruby/rb-sdl2-bindings/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..44c389317b6
</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-sdl2-bindings/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,33 @@
</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 sdl2-bindings 0.2.3 gem {} rubygems
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories-append devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license zlib
</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 Ruby bindings for SDL2
</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://github.com/vaiorabbit/sdl2-bindings
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 7f200cf447eb274e3dc594bf981b15705b3c4575 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 878c0755a4bea1aed0fa85c01596effd1c2b7d1878141ceec5bef808038bd309 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 50688
</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:libsdl2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libsdl2_gfx \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libsdl2_image \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libsdl2_mixer \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libsdl2_ttf \
</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;'>+
</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-sdl2-bindings/files/patch-gemspec-3.1.diff b/ruby/rb-sdl2-bindings/files/patch-gemspec-3.1.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..cf2e314ec07
</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-sdl2-bindings/files/patch-gemspec-3.1.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- sdl2-bindings-0.2.3.gemspec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ sdl2-bindings-0.2.3.gemspec 2024-04-15 12:52:05
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -24,8 +24,8 @@
</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.15"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ s.add_runtime_dependency(%q<ffi>.freeze, [">= 1.15"])
</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.15"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ s.add_dependency(%q<ffi>.freeze, [">= 1.15"])
</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-sdl2-bindings/files/patch-gemspec-3.2.diff b/ruby/rb-sdl2-bindings/files/patch-gemspec-3.2.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..fdbf58e5b12
</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-sdl2-bindings/files/patch-gemspec-3.2.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;'>+--- sdl2-bindings-0.2.3.gemspec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ sdl2-bindings-0.2.3.gemspec 2024-04-15 12:50:24
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -21,5 +21,5 @@
</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.15"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ s.add_runtime_dependency(%q<ffi>.freeze, [">= 1.15"])
</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-sdl2-bindings/files/patch-gemspec-3.3.diff b/ruby/rb-sdl2-bindings/files/patch-gemspec-3.3.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..4fa64d47e94
</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-sdl2-bindings/files/patch-gemspec-3.3.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;'>+--- sdl2-bindings-0.2.3.gemspec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ sdl2-bindings-0.2.3.gemspec 2024-04-15 12:48:41
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -21,5 +21,5 @@
</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.15".freeze])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ s.add_runtime_dependency(%q<ffi>.freeze, [">= 1.15".freeze])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ end
</span></pre><pre style='margin:0'>
</pre>