summaryrefslogtreecommitdiffstats
path: root/security/snort-rep/Makefile
blob: a65e55e3645ffb9ea06f4ee3dc068c9633b9d568 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Created by: Mark Pulford <mark@kyne.com.au>
# $FreeBSD$

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

USES=		shebangfix perl5
SHEBANG_FILES=	snort-rep snort-rep-mail

OPTIONS_DEFINE=	EXAMPLES

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

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/snort-rep ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/snort-rep.1 ${STAGEDIR}${MANPREFIX}/man/man1
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_SCRIPT} ${WRKSRC}/snort-rep-mail ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud