git: c7475068ef5b - main - devel/rubygem-weakref: Add rubygem-weakref 0.1.1
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Jun 10 14:47:17 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c7475068ef5b0c9f7f4d9176289a1a6b4cd16d16
commit c7475068ef5b0c9f7f4d9176289a1a6b4cd16d16
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-06-10 14:25:40 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-06-10 14:45:57 +0000
devel/rubygem-weakref: Add rubygem-weakref 0.1.1
Weak Reference class that allows a referenced object to be garbage-collected.
A WeakRef may be used exactly like the object it references.
WWW: https://github.com/ruby/weakref
---
devel/Makefile | 1 +
devel/rubygem-weakref/Makefile | 20 ++++++++++++++++++++
devel/rubygem-weakref/distinfo | 3 +++
devel/rubygem-weakref/pkg-descr | 5 +++++
4 files changed, 29 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 9c0dec073a8d..0a5796edbfcf 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6780,6 +6780,7 @@
SUBDIR += rubygem-warbler
SUBDIR += rubygem-warden
SUBDIR += rubygem-wdm
+ SUBDIR += rubygem-weakref
SUBDIR += rubygem-web-console-rails60
SUBDIR += rubygem-web-console-rails61
SUBDIR += rubygem-web-console2
diff --git a/devel/rubygem-weakref/Makefile b/devel/rubygem-weakref/Makefile
new file mode 100644
index 000000000000..087a651750b6
--- /dev/null
+++ b/devel/rubygem-weakref/Makefile
@@ -0,0 +1,20 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+
+PORTNAME= weakref
+PORTVERSION= 0.1.1
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Allow a referenced object to be garbage-collected
+
+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-weakref/distinfo b/devel/rubygem-weakref/distinfo
new file mode 100644
index 000000000000..cbe587d73d5b
--- /dev/null
+++ b/devel/rubygem-weakref/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1622213924
+SHA256 (rubygem/weakref-0.1.1.gem) = c7756e214b82c4289ed4628733eec1af084817a321cec121a2bd2ce43fd0c485
+SIZE (rubygem/weakref-0.1.1.gem) = 7680
diff --git a/devel/rubygem-weakref/pkg-descr b/devel/rubygem-weakref/pkg-descr
new file mode 100644
index 000000000000..105891cde826
--- /dev/null
+++ b/devel/rubygem-weakref/pkg-descr
@@ -0,0 +1,5 @@
+Weak Reference class that allows a referenced object to be garbage-collected.
+
+A WeakRef may be used exactly like the object it references.
+
+WWW: https://github.com/ruby/weakref
More information about the dev-commits-ports-all
mailing list