<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/a5a16775f627e6783170f6c047c185f1239ef640">https://github.com/macports/macports-ports/commit/a5a16775f627e6783170f6c047c185f1239ef640</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit a5a16775f627e6783170f6c047c185f1239ef640
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Mon Apr 15 12:54:08 2024 +0800

<span style='display:block; white-space:pre;color:#404040;'>    rb-rb_sdl2: new port
</span>---
 ruby/rb-rb_sdl2/Portfile                     | 30 ++++++++++++++++++++++++++++
 ruby/rb-rb_sdl2/files/patch-gemspec-3.1.diff | 17 ++++++++++++++++
 ruby/rb-rb_sdl2/files/patch-gemspec-3.2.diff | 11 ++++++++++
 ruby/rb-rb_sdl2/files/patch-gemspec-3.3.diff | 11 ++++++++++
 4 files changed, 69 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/ruby/rb-rb_sdl2/Portfile b/ruby/rb-rb_sdl2/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..209aea4be3e
</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-rb_sdl2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,30 @@
</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          rb_sdl2 0.2.0 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         Extension library to use SDL (Simple DirectMedia Layer)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description    RbSDL2 treats the functions and pointers \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    provided by SDL2 as Ruby objects.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage            https://github.com/shinokaro/rb_sdl2/blob/main/README.md
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  ba5198aeafdf6e8cef2ef04c89e2b789a1dfa7b5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  9604b04e38494d8bd5977f6221c66680b048e9acccf7ef89efdeb53e2acdb3e9 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    44544
</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:rb${ruby.suffix}-sdl2-bindings
</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-rb_sdl2/files/patch-gemspec-3.1.diff b/ruby/rb-rb_sdl2/files/patch-gemspec-3.1.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..d5a7ae48a4c
</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-rb_sdl2/files/patch-gemspec-3.1.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,17 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- rb_sdl2-0.2.0.gemspec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ rb_sdl2-0.2.0.gemspec  2024-04-15 12:41:24
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -25,10 +25,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.15"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-    s.add_runtime_dependency(%q<sdl2-bindings>.freeze, ["~> 0.1.1"])
</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<sdl2-bindings>.freeze, [">= 0.1.1"])
</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<sdl2-bindings>.freeze, ["~> 0.1.1"])
</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<sdl2-bindings>.freeze, [">= 0.1.1"])
</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-rb_sdl2/files/patch-gemspec-3.2.diff b/ruby/rb-rb_sdl2/files/patch-gemspec-3.2.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..76fa2002783
</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-rb_sdl2/files/patch-gemspec-3.2.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- rb_sdl2-0.2.0.gemspec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ rb_sdl2-0.2.0.gemspec  2024-04-15 12:39:40
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -22,6 +22,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.15"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  s.add_runtime_dependency(%q<sdl2-bindings>.freeze, ["~> 0.1.1"])
</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<sdl2-bindings>.freeze, [">= 0.1.1"])
</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-rb_sdl2/files/patch-gemspec-3.3.diff b/ruby/rb-rb_sdl2/files/patch-gemspec-3.3.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..e1093e66a2f
</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-rb_sdl2/files/patch-gemspec-3.3.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- rb_sdl2-0.2.0.gemspec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ rb_sdl2-0.2.0.gemspec  2024-04-15 12:36:09
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -22,6 +22,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.15".freeze])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  s.add_runtime_dependency(%q<sdl2-bindings>.freeze, ["~> 0.1.1".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;'>++  s.add_runtime_dependency(%q<sdl2-bindings>.freeze, [">= 0.1.1".freeze])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ end
</span></pre><pre style='margin:0'>

</pre>