PORTNAME=	chaosreader
PORTVERSION=	0.96
CATEGORIES=	security

MAINTAINER=	dbaio@FreeBSD.org
COMMENT=	Tool to extract data from tcpdump logs
WWW=		https://sourceforge.net/projects/chaosreader/

LICENSE=	GPLv3+

RUN_DEPENDS=	p5-Net-DNS>=0:dns/p5-Net-DNS

USES=		perl5 shebangfix

USE_GITHUB=	yes
GH_ACCOUNT=	brendangregg
GH_PROJECT=	Chaosreader

USE_PERL5=	run
NO_BUILD=	yes
NO_ARCH=	yes

PLIST_FILES=	bin/${PORTNAME}
SHEBANG_FILES=	chaosreader

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>
