summaryrefslogtreecommitdiff
path: root/net/p5-Net-Works
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2019-03-21 10:20:20 +0000
committerhe <he@pkgsrc.org>2019-03-21 10:20:20 +0000
commit6cf4265dbede0973e20ae59460234f1f9b5e0284 (patch)
tree2f02186ef90c9b9f0eaf26018e6edab6366bdd1f /net/p5-Net-Works
parent3c7ace15353c2da8573e18e8bd28449024270277 (diff)
downloadpkgsrc-6cf4265dbede0973e20ae59460234f1f9b5e0284.tar.gz
Add p5-Net-Works version 0.22 from pkgsrc-wip.
This module provides an alternative API to NetAddr::IP that aims to address the biggest problems with that module's API, as well as adding some additional features.
Diffstat (limited to 'net/p5-Net-Works')
-rw-r--r--net/p5-Net-Works/DESCR3
-rw-r--r--net/p5-Net-Works/Makefile23
-rw-r--r--net/p5-Net-Works/distinfo6
3 files changed, 32 insertions, 0 deletions
diff --git a/net/p5-Net-Works/DESCR b/net/p5-Net-Works/DESCR
new file mode 100644
index 00000000000..58e35ba4928
--- /dev/null
+++ b/net/p5-Net-Works/DESCR
@@ -0,0 +1,3 @@
+This module provides an alternative API to NetAddr::IP that aims to address
+the biggest problems with that module's API, as well as adding some additional
+features.
diff --git a/net/p5-Net-Works/Makefile b/net/p5-Net-Works/Makefile
new file mode 100644
index 00000000000..b2b4ab690fd
--- /dev/null
+++ b/net/p5-Net-Works/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2019/03/21 10:20:20 he Exp $
+
+DISTNAME= Net-Works-0.22
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://metacpan.org/pod/Net::Works
+COMMENT= Sane APIs for IP addresses and networks
+LICENSE= ${PERL5_LICENSE}
+
+DEPENDS+= p5-List-AllUtils-[0-9]*:../../devel/p5-List-AllUtils
+DEPENDS+= p5-Moo-[0-9]*:../../devel/p5-Moo
+DEPENDS+= p5-Sub-Quote-[0-9]*:../../devel/p5-Sub-Quote
+DEPENDS+= p5-namespace-autoclean-[0-9]*:../../devel/p5-namespace-autoclean
+DEPENDS+= p5-Math-Int128-[0-9]*:../../math/p5-Math-Int128
+TEST_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal
+
+PERL5_PACKLIST= auto/Net/Works/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/p5-Net-Works/distinfo b/net/p5-Net-Works/distinfo
new file mode 100644
index 00000000000..58353035539
--- /dev/null
+++ b/net/p5-Net-Works/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/21 10:20:20 he Exp $
+
+SHA1 (Net-Works-0.22.tar.gz) = 1fcef63b9d8827966532d85bb2b328a079b57d34
+RMD160 (Net-Works-0.22.tar.gz) = 07d325c262470dc7e58e05eefbeae96e750f3d2b
+SHA512 (Net-Works-0.22.tar.gz) = c85be8600ccd9e7cf06365be80909229ea5bc62d909fc8433e23af9abec3c31b4856d546b84d5cc378656800362c5d458061d26bc5927dfc437ae8c27d0d1d3e
+Size (Net-Works-0.22.tar.gz) = 41150 bytes