summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-06-03 13:46:00 +0000
committerjperkin <jperkin@pkgsrc.org>2014-06-03 13:46:00 +0000
commitd9d11af806c207fe7925e55f68c514c0e14cd730 (patch)
tree818a6695f9f3b5b5d5f0cdacb840b8961cff978a
parent6ae8e047d647e22108dc3c8cda251ac7e94de248 (diff)
downloadpkgsrc-d9d11af806c207fe7925e55f68c514c0e14cd730.tar.gz
Import net/ruby-ipaddress into pkgsrc.
IPAddress is a Ruby library designed to make the use of IPv4 and IPv6 addresses simple, powerful and enjoyable. It provides a complete set of methods to handle IP addresses for any need, from simple scripting to full network design. IPAddress is written with a full OO interface, and its code is easy to read, maintain and extend. The documentation is full of examples, to let you start being productive immediately.
-rw-r--r--net/ruby-ipaddress/DESCR8
-rw-r--r--net/ruby-ipaddress/Makefile12
-rw-r--r--net/ruby-ipaddress/PLIST19
-rw-r--r--net/ruby-ipaddress/distinfo5
4 files changed, 44 insertions, 0 deletions
diff --git a/net/ruby-ipaddress/DESCR b/net/ruby-ipaddress/DESCR
new file mode 100644
index 00000000000..5769ab69984
--- /dev/null
+++ b/net/ruby-ipaddress/DESCR
@@ -0,0 +1,8 @@
+IPAddress is a Ruby library designed to make the use of IPv4 and IPv6
+addresses simple, powerful and enjoyable. It provides a complete set
+of methods to handle IP addresses for any need, from simple scripting
+to full network design.
+
+IPAddress is written with a full OO interface, and its code is easy to
+read, maintain and extend. The documentation is full of examples, to
+let you start being productive immediately.
diff --git a/net/ruby-ipaddress/Makefile b/net/ruby-ipaddress/Makefile
new file mode 100644
index 00000000000..db36b7b8b12
--- /dev/null
+++ b/net/ruby-ipaddress/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2014/06/03 13:46:00 jperkin Exp $
+
+DISTNAME= ipaddress-0.8.0
+CATEGORIES= net
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/bluemonk/ipaddress
+COMMENT= Library to handle IP addresses in a modern and productive way
+LICENSE= mit
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/ruby-ipaddress/PLIST b/net/ruby-ipaddress/PLIST
new file mode 100644
index 00000000000..ae9873a56da
--- /dev/null
+++ b/net/ruby-ipaddress/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2014/06/03 13:46:00 jperkin Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/.document
+${GEM_LIBDIR}/CHANGELOG.rdoc
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README.rdoc
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/VERSION
+${GEM_LIBDIR}/ipaddress.gemspec
+${GEM_LIBDIR}/lib/ipaddress.rb
+${GEM_LIBDIR}/lib/ipaddress/ipv4.rb
+${GEM_LIBDIR}/lib/ipaddress/ipv6.rb
+${GEM_LIBDIR}/lib/ipaddress/prefix.rb
+${GEM_LIBDIR}/test/ipaddress/ipv4_test.rb
+${GEM_LIBDIR}/test/ipaddress/ipv6_test.rb
+${GEM_LIBDIR}/test/ipaddress/prefix_test.rb
+${GEM_LIBDIR}/test/ipaddress_test.rb
+${GEM_LIBDIR}/test/test_helper.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/net/ruby-ipaddress/distinfo b/net/ruby-ipaddress/distinfo
new file mode 100644
index 00000000000..dc8dfc66a6b
--- /dev/null
+++ b/net/ruby-ipaddress/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/06/03 13:46:00 jperkin Exp $
+
+SHA1 (ipaddress-0.8.0.gem) = 9983abb9f35a8de6cff23c0870d732bba21130ca
+RMD160 (ipaddress-0.8.0.gem) = 6482a61f836f1564118d97d070b0549396d87163
+Size (ipaddress-0.8.0.gem) = 34816 bytes