# Created by: Corey Smith
# $FreeBSD: tags/RELEASE_11_0_0/net/flowgrep/Makefile 412348 2016-04-01 14:16:16Z mat $

PORTNAME=	flowgrep
PORTVERSION=	0.9
CATEGORIES=	net security
MASTER_SITES=	http://www.monkey.org/~jose/software/flowgrep/
DISTNAME=	flowgrep-${PORTVERSION}

MAINTAINER=	corsmith@gmail.com
COMMENT=	TCP stream/UDP/IP payload 'grep' utility

RUN_DEPENDS=	${PYTHON_SITELIBDIR}/nidsmodule.so:net/pynids

USES=		python
NO_BUILD=	yes

PLIST_FILES=	sbin/flowgrep man/man8/flowgrep.8.gz

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/flowgrep.py \
		${STAGEDIR}${PREFIX}/sbin/flowgrep
	${INSTALL_MAN} ${WRKSRC}/flowgrep.8 ${STAGEDIR}${MANPREFIX}/man/man8

.include <bsd.port.mk>
