# Created by: Joshua D. Abraham <jabra@ccs.neu.edu>
# $FreeBSD: security/p5-Nmap-Parser/Makefile 327769 2013-09-20 22:55:24Z bapt $

PORTNAME=	Nmap-Parser
PORTVERSION=	1.31
CATEGORIES=	security perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	jadawin@FreeBSD.org
COMMENT=	Parse nmap scan data with perl

BUILD_DEPENDS=	p5-XML-Twig>=3.16:${PORTSDIR}/textproc/p5-XML-Twig \
		p5-Storable>=2:${PORTSDIR}/devel/p5-Storable
RUN_DEPENDS:=	${BUILD_DEPENDS} \
		nmap:${PORTSDIR}/security/nmap

USES=		perl5
USE_PERL5=	configure

MAN3=		Nmap::Parser.3

NO_STAGE=	yes
post-configure:
	@${PERL} -pi -e 's/^(POD2MAN_EXE.*)$$/\1 --lax/;' ${WRKSRC}/Makefile

.include <bsd.port.mk>
