PORTNAME=	Net-IP-XS
PORTVERSION=	0.22
CATEGORIES=	net-mgmt perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:TOMHRR
PKGNAMEPREFIX=	p5-

MAINTAINER=	jaap@NLnetLabs.nl
COMMENT=	XS implementation of Net::IP
WWW=		https://metacpan.org/release/Net-IP-XS

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

RUN_DEPENDS=	p5-IO-Capture>=0:devel/p5-IO-Capture \
		p5-Tie-Simple>=0:devel/p5-Tie-Simple
BUILD_DEPENDS=	${RUN_DEPENDS}

USES=		perl5
USE_PERL5=	configure

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Net/IP/XS/XS.so

.include <bsd.port.mk>
