git: f8382ef6cfbd - main - devel/rubygem-launchy2: Add rubygem-launchy2 2.5.2 (copied from rubygem-launchy)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 19 May 2024 17:23:27 UTC
The branch main has been updated by sunpoet:

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

commit f8382ef6cfbd4b88b92a6bf7b498d8ed54fe7192
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-19 15:45:37 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-19 17:15:02 +0000

    devel/rubygem-launchy2: Add rubygem-launchy2 2.5.2 (copied from rubygem-launchy)
    
    - Add PORTSCOUT
---
 devel/Makefile                   |  1 +
 devel/rubygem-launchy2/Makefile  | 25 +++++++++++++++++++++++++
 devel/rubygem-launchy2/distinfo  |  3 +++
 devel/rubygem-launchy2/pkg-descr |  5 +++++
 4 files changed, 34 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index c32cf4c58d96..fd6ff82e07cd 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7204,6 +7204,7 @@
     SUBDIR += rubygem-kt-paperclip-rails61
     SUBDIR += rubygem-language_server-protocol
     SUBDIR += rubygem-launchy
+    SUBDIR += rubygem-launchy2
     SUBDIR += rubygem-lazy_priority_queue
     SUBDIR += rubygem-libdatadog
     SUBDIR += rubygem-libddprof
diff --git a/devel/rubygem-launchy2/Makefile b/devel/rubygem-launchy2/Makefile
new file mode 100644
index 000000000000..2f47148d6d69
--- /dev/null
+++ b/devel/rubygem-launchy2/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	launchy
+PORTVERSION=	2.5.2
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	2
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Helper class for launching cross-platform applications
+WWW=		https://github.com/copiousfreetime/launchy
+
+LICENSE=	ISCL
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-addressable>=2.8<3:www/rubygem-addressable
+
+USES=		gem
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^2\.
+
+post-install:
+	${RM} ${STAGEDIR}${PREFIX}/bin/launchy
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-launchy2/distinfo b/devel/rubygem-launchy2/distinfo
new file mode 100644
index 000000000000..cd7d81a41502
--- /dev/null
+++ b/devel/rubygem-launchy2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1709391164
+SHA256 (rubygem/launchy-2.5.2.gem) = 8aa0441655aec5514008e1d04892c2de3ba57bd337afb984568da091121a241b
+SIZE (rubygem/launchy-2.5.2.gem) = 30208
diff --git a/devel/rubygem-launchy2/pkg-descr b/devel/rubygem-launchy2/pkg-descr
new file mode 100644
index 000000000000..35c2adc74738
--- /dev/null
+++ b/devel/rubygem-launchy2/pkg-descr
@@ -0,0 +1,5 @@
+Launchy is helper class for launching cross-platform applications in a fire and
+forget manner. There are application concepts (browser, email client, etc) that
+are common across all platforms, and they may be launched differently on each
+platform. Launchy is here to make a common approach to launching external
+application from within ruby programs.