<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/0b4e1078f50636fec5ca488b4287c79a1a53a81f">https://github.com/macports/macports-ports/commit/0b4e1078f50636fec5ca488b4287c79a1a53a81f</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 0b4e1078f50636fec5ca488b4287c79a1a53a81f
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Mon Apr 15 13:01:18 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> rb-ffi-openmpt: new port
</span>---
ruby/rb-ffi-openmpt/Portfile | 29 ++++++++++++++++++++++++
ruby/rb-ffi-openmpt/files/patch-gemspec-3.1.diff | 20 ++++++++++++++++
ruby/rb-ffi-openmpt/files/patch-gemspec-3.2.diff | 11 +++++++++
ruby/rb-ffi-openmpt/files/patch-gemspec-3.3.diff | 11 +++++++++
4 files changed, 71 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/ruby/rb-ffi-openmpt/Portfile b/ruby/rb-ffi-openmpt/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..8fb8ebbe34c
</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-openmpt/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-openmpt 0.5.0 gem {} rubygems
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories-append audio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license BSD
</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 interface to libopenmpt
</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/hainesr/ffi-openmpt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 6acf97f6c13bfa90bf52b34db388cffd4267f766 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 ce281838074c0d6171ce7f622b06c29fa92de2a4cd7c3f17421df8c331315d7b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 17408
</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:libopenmpt \
</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-ffi-openmpt/files/patch-gemspec-3.1.diff b/ruby/rb-ffi-openmpt/files/patch-gemspec-3.1.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..c79dd193b06
</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-openmpt/files/patch-gemspec-3.1.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ffi-openmpt-0.5.0.gemspec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ffi-openmpt-0.5.0.gemspec 2024-04-15 12:59:24
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -25,7 +25,7 @@
</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<bundler>.freeze, ["~> 2.0.1"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ s.add_development_dependency(%q<coveralls>.freeze, ["~> 0.8"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ s.add_development_dependency(%q<minitest>.freeze, ["~> 5.0"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -33,7 +33,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ s.add_development_dependency(%q<rubocop>.freeze, ["= 0.67.2"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ s.add_development_dependency(%q<rubocop-performance>.freeze, ["= 1.1.0"])
</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<bundler>.freeze, ["~> 2.0.1"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ s.add_dependency(%q<coveralls>.freeze, ["~> 0.8"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ s.add_dependency(%q<minitest>.freeze, ["~> 5.0"])
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/ruby/rb-ffi-openmpt/files/patch-gemspec-3.2.diff b/ruby/rb-ffi-openmpt/files/patch-gemspec-3.2.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..17ecb53349b
</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-openmpt/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;'>+--- ffi-openmpt-0.5.0.gemspec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ffi-openmpt-0.5.0.gemspec 2024-04-15 12:58:01
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -22,7 +22,7 @@
</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<bundler>.freeze, ["~> 2.0.1"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ s.add_development_dependency(%q<coveralls>.freeze, ["~> 0.8"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ s.add_development_dependency(%q<minitest>.freeze, ["~> 5.0"])
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/ruby/rb-ffi-openmpt/files/patch-gemspec-3.3.diff b/ruby/rb-ffi-openmpt/files/patch-gemspec-3.3.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..0954598e06e
</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-openmpt/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;'>+--- ffi-openmpt-0.5.0.gemspec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ffi-openmpt-0.5.0.gemspec 2024-04-15 12:56:18
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -22,7 +22,7 @@
</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<bundler>.freeze, ["~> 2.0.1".freeze])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ s.add_development_dependency(%q<coveralls>.freeze, ["~> 0.8".freeze])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ s.add_development_dependency(%q<minitest>.freeze, ["~> 5.0".freeze])
</span></pre><pre style='margin:0'>
</pre>