# Created by: Mark Pulford <mark@kyne.com.au>
# $FreeBSD: security/snort-rep/Makefile 327769 2013-09-20 22:55:24Z bapt $

PORTNAME=	snort-rep
PORTVERSION=	1.10
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	http://david.schweikert.ch/software/snort-rep/pub/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A Snort reporting tool that can produce text or HTML from logs

MAN1=		snort-rep.1
USES=		shebangfix perl5
SHEBANG_FILES=	snort-rep snort-rep-mail

NO_STAGE=	yes
do-build:
	cd ${BUILD_WRKSRC} ; pod2man --lax snort-rep > snort-rep.1

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/snort-rep ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/snort-rep.1 ${MAN1PREFIX}/man/man1
	${MKDIR} ${PREFIX}/share/examples/snort-rep
	${INSTALL_SCRIPT} ${WRKSRC}/snort-rep-mail \
		${PREFIX}/share/examples/snort-rep

.include <bsd.port.mk>
