summaryrefslogtreecommitdiffstats
path: root/security/bsmtrace/Makefile
blob: 566c097bad2fd4522890c34c7a538d03527984be (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:	bsmtrace
# Date created:        13 March 2007
# Whom:                alm
#
# $FreeBSD$
#

PORTNAME=	bsmtrace
PORTVERSION=	1.3
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	csjp

MAINTAINER=	alm@FreeBSD.org
COMMENT=	BSM based intrusion detection system

SUB_FILES=	pkg-message
MAN1=		bsmtrace.1
MAN5=		bsmtrace.conf.5

MAKE_JOBS_UNSAFE=	yes

.if defined(WITH_PCRE)
LIB_DEPENDS+=	pcre.1:${PORTSDIR}/devel/pcre
MAKE_ENV+=	PCRE=1
.endif

pre-build:
	${REINPLACE_CMD} -e \
		's,/etc/bsmtrace.conf,${PREFIX}/etc/bsmtrace.conf,' \
		${WRKSRC}/config.h

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/bsmtrace ${PREFIX}/sbin
	@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/bsmtrace.conf ${EXAMPLESDIR}
	${INSTALL_MAN} ${WRKSRC}/bsmtrace.1 ${MAN1PREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/bsmtrace.conf.5 ${MAN5PREFIX}/man/man5

post-install:
	@${CAT} ${PKGMESSAGE}

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