freebsd-ports/net/p5-Net-Subnet/Makefile
Sunpoet Po-Chuan Hsieh 62d8522a75 - Add p5-Net-Subnet 1.02
This is a simple but fast pure Perl module for determining whether a given IP
address is in a given set of IP subnets. It's iterative, and it doesn't use any
fancy tries, but because it uses simple bitwise operations on strings it's still
very fast.

All documented functions are exported by default.

Subnets have to be given in "address/mask" or "address/length" (CIDR) format.
The Socket and Socket6 modules are used to normalise addresses, which means that
any of the address formats supported by inet_aton and inet_pton can be used with
Net::Subnet.

WWW: http://search.cpan.org/dist/Net-Subnet/

PR:		ports/161335
Submitted by:	Henk van Oers <hvo.pm@xs4all.nl>
2011-10-26 11:08:02 +00:00

27 lines
535 B
Makefile

# New ports collection makefile for: p5-Net-Subnet
# Date created: 2011-10-06
# Whom: Henk van Oers <hvo.pm@xs4all.nl>
#
# $FreeBSD$
#
PORTNAME= Net-Subnet
PORTVERSION= 1.02
CATEGORIES= net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Fast IP-in-subnet matcher for IPv4 and IPv6, CIDR or mask
LICENSE= ART10
BUILD_DEPENDS= p5-Socket6>=0.23:${PORTSDIR}/net/p5-Socket6
RUN_DEPENDS= p5-Socket6>=0.23:${PORTSDIR}/net/p5-Socket6
PERL_CONFIGURE= yes
MAN3= Net::Subnet.3
.include <bsd.port.mk>