summaryrefslogtreecommitdiff
path: root/security/snort-rep/Makefile
blob: b0d1a1470cc995c245e20cc50448fa208c308f29 (plain) (blame)
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
28
29
30
31
32
# New ports collection makefile for:	snort-rep
# Date created:			Jul 19, 2001
# Whom:				Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#

PORTNAME=	snort-rep
PORTVERSION=	1.7
CATEGORIES=	security
MASTER_SITES=	http://people.ee.ethz.ch/~dws/software/snort-rep/pub/

MAINTAINER=	markp@FreeBSD.org

USE_PERL5=	yes
MAN1=		snort-rep.1

post-patch:
	@${PERL} -pi -e "s|#!/usr/bin/perl|#!${PERL}|" \
		${WRKSRC}/snort-rep ${WRKSRC}/snort-rep-mail

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>