git: 8ba9cd96d1df - main - devel/rubygem-mutex_m: Add rubygem-mutex_m 0.1.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 21 Dec 2021 19:41:10 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8ba9cd96d1dfcbdb9db8e200069ee2564b2d2871

commit 8ba9cd96d1dfcbdb9db8e200069ee2564b2d2871
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-12-21 18:38:51 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-12-21 18:38:51 +0000

    devel/rubygem-mutex_m: Add rubygem-mutex_m 0.1.1
    
    When 'mutex_m' is required, any object that extends or includes Mutex_m will be
    treated like a Mutex.
    
    WWW: https://github.com/ruby/mutex_m
---
 devel/Makefile                  |  1 +
 devel/rubygem-mutex_m/Makefile  | 20 ++++++++++++++++++++
 devel/rubygem-mutex_m/distinfo  |  3 +++
 devel/rubygem-mutex_m/pkg-descr |  4 ++++
 4 files changed, 28 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 4b793243a640..1c8d3dc5e37d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6562,6 +6562,7 @@
     SUBDIR += rubygem-mustache0
     SUBDIR += rubygem-mustermann
     SUBDIR += rubygem-mustermann-grape
+    SUBDIR += rubygem-mutex_m
     SUBDIR += rubygem-mutter
     SUBDIR += rubygem-nakayoshi_fork
     SUBDIR += rubygem-native-package-installer
diff --git a/devel/rubygem-mutex_m/Makefile b/devel/rubygem-mutex_m/Makefile
new file mode 100644
index 000000000000..324cf27c5f75
--- /dev/null
+++ b/devel/rubygem-mutex_m/Makefile
@@ -0,0 +1,20 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	mutex_m
+PORTVERSION=	0.1.1
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Mixin to extend objects to be handled like a Mutex
+
+LICENSE=	BSD2CLAUSE RUBY
+LICENSE_COMB=	dual
+LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.txt
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-mutex_m/distinfo b/devel/rubygem-mutex_m/distinfo
new file mode 100644
index 000000000000..087dd9510378
--- /dev/null
+++ b/devel/rubygem-mutex_m/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1638556448
+SHA256 (rubygem/mutex_m-0.1.1.gem) = d7fda4a596035b0be0375a9fa8aaad3d18a00d3b843f3def88423a615680152a
+SIZE (rubygem/mutex_m-0.1.1.gem) = 7168
diff --git a/devel/rubygem-mutex_m/pkg-descr b/devel/rubygem-mutex_m/pkg-descr
new file mode 100644
index 000000000000..3b5e985ce8d2
--- /dev/null
+++ b/devel/rubygem-mutex_m/pkg-descr
@@ -0,0 +1,4 @@
+When 'mutex_m' is required, any object that extends or includes Mutex_m will be
+treated like a Mutex.
+
+WWW: https://github.com/ruby/mutex_m