summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/Makefile1
-rw-r--r--net/rubygem-maxmind-db/Makefile22
-rw-r--r--net/rubygem-maxmind-db/distinfo3
-rw-r--r--net/rubygem-maxmind-db/pkg-descr4
4 files changed, 30 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 426643285884..47e821ac3863 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1267,6 +1267,7 @@
SUBDIR += rubygem-iproto
SUBDIR += rubygem-lita-gems
SUBDIR += rubygem-macaddr
+ SUBDIR += rubygem-maxmind-db
SUBDIR += rubygem-mqtt
SUBDIR += rubygem-net-ldap
SUBDIR += rubygem-net-netrc
diff --git a/net/rubygem-maxmind-db/Makefile b/net/rubygem-maxmind-db/Makefile
new file mode 100644
index 000000000000..ce5241258c06
--- /dev/null
+++ b/net/rubygem-maxmind-db/Makefile
@@ -0,0 +1,22 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= maxmind-db
+PORTVERSION= 1.0.0
+CATEGORIES= net rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= MaxMind DB Reader Ruby API
+
+LICENSE= APACHE20 MIT
+LICENSE_COMB= dual
+LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE
+LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
+
+USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/net/rubygem-maxmind-db/distinfo b/net/rubygem-maxmind-db/distinfo
new file mode 100644
index 000000000000..f27ec64ac3b4
--- /dev/null
+++ b/net/rubygem-maxmind-db/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1548174497
+SHA256 (rubygem/maxmind-db-1.0.0.gem) = a9343b8c24d8c5f57300e30c9065c07026bb0a0bdc22d1c7f4d2f668be87f843
+SIZE (rubygem/maxmind-db-1.0.0.gem) = 189952
diff --git a/net/rubygem-maxmind-db/pkg-descr b/net/rubygem-maxmind-db/pkg-descr
new file mode 100644
index 000000000000..b1af0b7ffb53
--- /dev/null
+++ b/net/rubygem-maxmind-db/pkg-descr
@@ -0,0 +1,4 @@
+This is the Ruby API for reading MaxMind DB files. MaxMind DB is a binary file
+format that stores data indexed by IP address subnets (IPv4 or IPv6).
+
+WWW: https://github.com/maxmind/MaxMind-DB-Reader-ruby