git: 82e7b7fc007d - main - devel/rubygem-profile: Add rubygem-profile 0.4.0

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=82e7b7fc007d0e1b09e69edc7d8e8583539bad4a

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

    devel/rubygem-profile: Add rubygem-profile 0.4.0
    
    Profile provides a way to Profile your Ruby application.
    
    Profiling your program is a way of determining which methods are called and how
    long each method takes to complete. This way you can detect which methods are
    possible bottlenecks.
    
    Profiling your program will slow down your execution time considerably, so
    activate it only when you need it. Don't confuse benchmarking with profiling.
    
    WWW: https://github.com/ruby/profile
---
 devel/Makefile                  |  1 +
 devel/rubygem-profile/Makefile  | 16 ++++++++++++++++
 devel/rubygem-profile/distinfo  |  3 +++
 devel/rubygem-profile/pkg-descr | 10 ++++++++++
 4 files changed, 30 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index da3a3b0a6854..52a0ec105cea 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6637,6 +6637,7 @@
     SUBDIR += rubygem-pp
     SUBDIR += rubygem-pqueue
     SUBDIR += rubygem-prettyprint
+    SUBDIR += rubygem-profile
     SUBDIR += rubygem-progressbar
     SUBDIR += rubygem-prometheus-client-mmap
     SUBDIR += rubygem-protected_attributes
diff --git a/devel/rubygem-profile/Makefile b/devel/rubygem-profile/Makefile
new file mode 100644
index 000000000000..7025337b7671
--- /dev/null
+++ b/devel/rubygem-profile/Makefile
@@ -0,0 +1,16 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	profile
+PORTVERSION=	0.4.0
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Profile your Ruby application
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-profile/distinfo b/devel/rubygem-profile/distinfo
new file mode 100644
index 000000000000..7aa91a3966dc
--- /dev/null
+++ b/devel/rubygem-profile/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1638556452
+SHA256 (rubygem/profile-0.4.0.gem) = dd6502432c31b29f1a82bb4aa8ae6261d1bce1d3d4a8556187554307f1cb6d3f
+SIZE (rubygem/profile-0.4.0.gem) = 7680
diff --git a/devel/rubygem-profile/pkg-descr b/devel/rubygem-profile/pkg-descr
new file mode 100644
index 000000000000..fe8f1e4d738b
--- /dev/null
+++ b/devel/rubygem-profile/pkg-descr
@@ -0,0 +1,10 @@
+Profile provides a way to Profile your Ruby application.
+
+Profiling your program is a way of determining which methods are called and how
+long each method takes to complete. This way you can detect which methods are
+possible bottlenecks.
+
+Profiling your program will slow down your execution time considerably, so
+activate it only when you need it. Don't confuse benchmarking with profiling.
+
+WWW: https://github.com/ruby/profile