git: 486f23a64009 - main - databases/rubygem-redis4: Add rubygem-redis4 4.8.0 (copied from rubygem-redis)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 31 Aug 2022 18:50:32 UTC
The branch main has been updated by sunpoet:

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

commit 486f23a64009d6ba83de530fcffbc17c9c8e713a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-08-31 18:06:31 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-08-31 18:49:27 +0000

    databases/rubygem-redis4: Add rubygem-redis4 4.8.0 (copied from rubygem-redis)
    
    - Add PORTSCOUT
---
 databases/Makefile                 |  1 +
 databases/rubygem-redis4/Makefile  | 23 +++++++++++++++++++++++
 databases/rubygem-redis4/distinfo  |  3 +++
 databases/rubygem-redis4/pkg-descr |  3 +++
 4 files changed, 30 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index 24e5089f9a30..c484f02fa6d0 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -989,6 +989,7 @@
     SUBDIR += rubygem-redis-cluster-client
     SUBDIR += rubygem-redis-namespace
     SUBDIR += rubygem-redis-namespace18
+    SUBDIR += rubygem-redis4
     SUBDIR += rubygem-redis44
     SUBDIR += rubygem-sdbm
     SUBDIR += rubygem-seed-fu
diff --git a/databases/rubygem-redis4/Makefile b/databases/rubygem-redis4/Makefile
new file mode 100644
index 000000000000..d581b2d672c3
--- /dev/null
+++ b/databases/rubygem-redis4/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	redis
+PORTVERSION=	4.8.0
+CATEGORIES=	databases rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	4
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Ruby client library for Redis, the key value storage server
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^4\.
+
+post-install:
+	${RM} ${STAGEDIR}${PREFIX}/bin/build
+
+.include <bsd.port.mk>
diff --git a/databases/rubygem-redis4/distinfo b/databases/rubygem-redis4/distinfo
new file mode 100644
index 000000000000..5443d94b312a
--- /dev/null
+++ b/databases/rubygem-redis4/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1661599375
+SHA256 (rubygem/redis-4.8.0.gem) = 2000cf5014669c9dc821704b6d322a35a9a33852a95208911d9175d63b448a44
+SIZE (rubygem/redis-4.8.0.gem) = 69120
diff --git a/databases/rubygem-redis4/pkg-descr b/databases/rubygem-redis4/pkg-descr
new file mode 100644
index 000000000000..689266df5a57
--- /dev/null
+++ b/databases/rubygem-redis4/pkg-descr
@@ -0,0 +1,3 @@
+rubygem-redis is a Ruby client library for the Redis key-value store.
+
+WWW: https://github.com/redis/redis-rb