From 864c69e2d46ee53cbc696a05948a7d447bcba32e Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Thu, 3 May 2018 17:34:25 +0000 Subject: [PATCH] Add net-mgmt/Net-IP-XS XS (C) implementation of Net::IP. PR: 227927 Submitted by: jaap@NLnetLabs.nl --- net-mgmt/Makefile | 1 + net-mgmt/p5-Net-IP-XS/Makefile | 22 ++++++++++++++++++++++ net-mgmt/p5-Net-IP-XS/distinfo | 3 +++ net-mgmt/p5-Net-IP-XS/pkg-descr | 4 ++++ net-mgmt/p5-Net-IP-XS/pkg-plist | 3 +++ 5 files changed, 33 insertions(+) create mode 100644 net-mgmt/p5-Net-IP-XS/Makefile create mode 100644 net-mgmt/p5-Net-IP-XS/distinfo create mode 100644 net-mgmt/p5-Net-IP-XS/pkg-descr create mode 100644 net-mgmt/p5-Net-IP-XS/pkg-plist diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index 15f989a4f6be..0e682dacc01f 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -249,6 +249,7 @@ SUBDIR += p5-Net-IP-Match-Regexp SUBDIR += p5-Net-IP-Match-XS SUBDIR += p5-Net-IP-Resolver + SUBDIR += p5-Net-IP-XS SUBDIR += p5-Net-IPAddress SUBDIR += p5-Net-IPv4Addr SUBDIR += p5-Net-IPv6Addr diff --git a/net-mgmt/p5-Net-IP-XS/Makefile b/net-mgmt/p5-Net-IP-XS/Makefile new file mode 100644 index 000000000000..e2ce227ab8ab --- /dev/null +++ b/net-mgmt/p5-Net-IP-XS/Makefile @@ -0,0 +1,22 @@ +# $FreeBSD$ + +PORTNAME= Net-IP-XS +PORTVERSION= 0.21 +CATEGORIES= net-mgmt perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:TOMHRR +PKGNAMEPREFIX= p5- + +MAINTAINER= jaap@NLnetLabs.nl +COMMENT= XS implementation of Net::IP + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= perl5 +USE_PERL5= configure + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Net/IP/XS/XS.so + +.include diff --git a/net-mgmt/p5-Net-IP-XS/distinfo b/net-mgmt/p5-Net-IP-XS/distinfo new file mode 100644 index 000000000000..15518c6bb790 --- /dev/null +++ b/net-mgmt/p5-Net-IP-XS/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1525262548 +SHA256 (Net-IP-XS-0.21.tar.gz) = ae9194101adaee050c342475b1ed6674b66cfa1d35fced59d994ae4b34123e78 +SIZE (Net-IP-XS-0.21.tar.gz) = 63962 diff --git a/net-mgmt/p5-Net-IP-XS/pkg-descr b/net-mgmt/p5-Net-IP-XS/pkg-descr new file mode 100644 index 000000000000..6fe43f8f1e3b --- /dev/null +++ b/net-mgmt/p5-Net-IP-XS/pkg-descr @@ -0,0 +1,4 @@ +XS (C) implementation of Net::IP. See Net::IP's documentation (as +at version 1.25) for the functions and methods that are available. + +WWW: http://search.cpan.org/dist/Net-IP-XS/ diff --git a/net-mgmt/p5-Net-IP-XS/pkg-plist b/net-mgmt/p5-Net-IP-XS/pkg-plist new file mode 100644 index 000000000000..3638b95b5d85 --- /dev/null +++ b/net-mgmt/p5-Net-IP-XS/pkg-plist @@ -0,0 +1,3 @@ +%%SITE_ARCH%%/Net/IP/XS.pm +%%SITE_ARCH%%/auto/Net/IP/XS/XS.so +%%PERL5_MAN3%%/Net::IP::XS.3.gz