git: 9dfb82f700c6 - main - devel/rubygem-get_process_mem0: Add rubygem-get_process_mem0 0.2.7 (copied from rubygem-get_process_mem)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 24 Jul 2024 11:48:30 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9dfb82f700c601b65b50ee4d3a9e1340ae468de5

commit 9dfb82f700c601b65b50ee4d3a9e1340ae468de5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-24 11:44:09 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-24 11:44:09 +0000

    devel/rubygem-get_process_mem0: Add rubygem-get_process_mem0 0.2.7 (copied from rubygem-get_process_mem)
    
    - Add PORTSCOUT
---
 devel/Makefile                           |  1 +
 devel/rubygem-get_process_mem0/Makefile  | 21 +++++++++++++++++++++
 devel/rubygem-get_process_mem0/distinfo  |  3 +++
 devel/rubygem-get_process_mem0/pkg-descr |  1 +
 4 files changed, 26 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index e7992d5d77d5..6e00e4f1c141 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7084,6 +7084,7 @@
     SUBDIR += rubygem-generator_spec-rails5
     SUBDIR += rubygem-georuby
     SUBDIR += rubygem-get_process_mem
+    SUBDIR += rubygem-get_process_mem0
     SUBDIR += rubygem-getopt
     SUBDIR += rubygem-getoptlong
     SUBDIR += rubygem-gettext
diff --git a/devel/rubygem-get_process_mem0/Makefile b/devel/rubygem-get_process_mem0/Makefile
new file mode 100644
index 000000000000..f440cb1cf0cf
--- /dev/null
+++ b/devel/rubygem-get_process_mem0/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	get_process_mem
+PORTVERSION=	0.2.7
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	0
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Get memory usage of a process in Ruby
+WWW=		https://github.com/schneems/get_process_mem
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	rubygem-ffi>=1.0<2:devel/rubygem-ffi
+
+USES=		gem
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^0\.
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-get_process_mem0/distinfo b/devel/rubygem-get_process_mem0/distinfo
new file mode 100644
index 000000000000..1a3fa29e0245
--- /dev/null
+++ b/devel/rubygem-get_process_mem0/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1653926086
+SHA256 (rubygem/get_process_mem-0.2.7.gem) = 4afd3c3641dd6a817c09806c7d6d509d8a9984512ac38dea8b917426bbf77eba
+SIZE (rubygem/get_process_mem-0.2.7.gem) = 11776
diff --git a/devel/rubygem-get_process_mem0/pkg-descr b/devel/rubygem-get_process_mem0/pkg-descr
new file mode 100644
index 000000000000..706ec6b1205e
--- /dev/null
+++ b/devel/rubygem-get_process_mem0/pkg-descr
@@ -0,0 +1 @@
+Ruby gem that provides measurement of memory usages of processes.