git: 99dcc728b106 - main - devel/rubygem-thor12: Add rubygem-thor12 1.2.2 (copied from rubygem-thor)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 01 Nov 2023 02:15:13 UTC
The branch main has been updated by sunpoet:

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

commit 99dcc728b106260088df06eed1b07ba4bac203fc
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-01 01:45:15 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-01 01:56:56 +0000

    devel/rubygem-thor12: Add rubygem-thor12 1.2.2 (copied from rubygem-thor)
    
    - Add PORTSCOUT
---
 devel/Makefile                 |  1 +
 devel/rubygem-thor12/Makefile  | 23 +++++++++++++++++++++++
 devel/rubygem-thor12/distinfo  |  3 +++
 devel/rubygem-thor12/pkg-descr |  1 +
 4 files changed, 28 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index df5fe933d41b..db8ce355e855 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7443,6 +7443,7 @@
     SUBDIR += rubygem-test-unit
     SUBDIR += rubygem-thor
     SUBDIR += rubygem-thor0
+    SUBDIR += rubygem-thor12
     SUBDIR += rubygem-thread_safe
     SUBDIR += rubygem-thrift
     SUBDIR += rubygem-thwait
diff --git a/devel/rubygem-thor12/Makefile b/devel/rubygem-thor12/Makefile
new file mode 100644
index 000000000000..4927f67130cd
--- /dev/null
+++ b/devel/rubygem-thor12/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	thor
+PORTVERSION=	1.2.2
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	12
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Scripting framework that replaces rake, sake, and rubigen
+WWW=		https://github.com/rails/thor
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+USES=		gem
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^1\.2\.
+
+post-install:
+	${RM} ${STAGEDIR}${PREFIX}/bin/thor
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-thor12/distinfo b/devel/rubygem-thor12/distinfo
new file mode 100644
index 000000000000..89753504b1fd
--- /dev/null
+++ b/devel/rubygem-thor12/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1684104674
+SHA256 (rubygem/thor-1.2.2.gem) = 2f93c652828cba9fcf4f65f5dc8c306f1a7317e05aad5835a13740122c17f24c
+SIZE (rubygem/thor-1.2.2.gem) = 53248
diff --git a/devel/rubygem-thor12/pkg-descr b/devel/rubygem-thor12/pkg-descr
new file mode 100644
index 000000000000..a0e63010f12e
--- /dev/null
+++ b/devel/rubygem-thor12/pkg-descr
@@ -0,0 +1 @@
+A scripting framework that replaces rake, sake and rubigen