git: 34d2d1f6564b - main - net/rubygem-ipaddr: Add rubygem-ipaddr 1.2.3

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 25 Oct 2021 21:58:31 UTC
The branch main has been updated by sunpoet:

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

commit 34d2d1f6564bb83293cd8f140784a59c7ad9a749
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-10-25 21:22:22 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-10-25 21:46:31 +0000

    net/rubygem-ipaddr: Add rubygem-ipaddr 1.2.3
    
    IPAddr provides a set of methods to manipulate an IP address. Both IPv4 and IPv6
    are supported.
    
    WWW: https://github.com/ruby/ipaddr
---
 net/Makefile                 |  1 +
 net/rubygem-ipaddr/Makefile  | 20 ++++++++++++++++++++
 net/rubygem-ipaddr/distinfo  |  3 +++
 net/rubygem-ipaddr/pkg-descr |  4 ++++
 4 files changed, 28 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 8bf717e30664..215917156355 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1299,6 +1299,7 @@
     SUBDIR += rubygem-http-parser
     SUBDIR += rubygem-http_parser.rb
     SUBDIR += rubygem-httpauth
+    SUBDIR += rubygem-ipaddr
     SUBDIR += rubygem-ipaddress
     SUBDIR += rubygem-iproto
     SUBDIR += rubygem-kas-grpc
diff --git a/net/rubygem-ipaddr/Makefile b/net/rubygem-ipaddr/Makefile
new file mode 100644
index 000000000000..e19c8e6f7fdc
--- /dev/null
+++ b/net/rubygem-ipaddr/Makefile
@@ -0,0 +1,20 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	ipaddr
+PORTVERSION=	1.2.3
+CATEGORIES=	net rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Set of methods to manipulate an IP address
+
+LICENSE=	BSD2CLAUSE RUBY
+LICENSE_COMB=	dual
+LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.txt
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/net/rubygem-ipaddr/distinfo b/net/rubygem-ipaddr/distinfo
new file mode 100644
index 000000000000..b2e5c5616c0c
--- /dev/null
+++ b/net/rubygem-ipaddr/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1635181003
+SHA256 (rubygem/ipaddr-1.2.3.gem) = 62957d6cbec2d42c8351eaa94dd16f79e4728bbf83d8c05e443954e8e38d4c68
+SIZE (rubygem/ipaddr-1.2.3.gem) = 11776
diff --git a/net/rubygem-ipaddr/pkg-descr b/net/rubygem-ipaddr/pkg-descr
new file mode 100644
index 000000000000..9c6848912989
--- /dev/null
+++ b/net/rubygem-ipaddr/pkg-descr
@@ -0,0 +1,4 @@
+IPAddr provides a set of methods to manipulate an IP address. Both IPv4 and IPv6
+are supported.
+
+WWW: https://github.com/ruby/ipaddr