summaryrefslogtreecommitdiff
path: root/security/logcheck/Makefile
blob: 5c267b37a2c03c8779c7f96e801b3cbd66eb9cbc (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
33
# Ports collection makefile for:	logcheck
# Date created:		9 December 1999
# Whom:			Dan Langille <dan@freebsddiary.org>
#
# $FreeBSD$
#

PORTNAME=	logcheck
PORTVERSION=	1.1.1
CATEGORIES=	security
MASTER_SITES=	http://www.psionic.com/downloads/
DISTNAME=	logsentry-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Auditing tool for system logs on Unix boxes

USE_REINPLACE=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
PKGMESSAGE=	${WRKDIR}/MESSAGE

pre-configure:
	${REINPLACE_CMD} -e "s@/usr/local/etc/tmp@/tmp@g; \
		s@/usr/local@${PREFIX}@" ${WRKSRC}/Makefile \
		${WRKSRC}/systems/freebsd/logcheck.sh
	${REINPLACE_CMD} -e "s@/bin/mkdir@${MKDIR}@g" ${WRKSRC}/Makefile

post-build:
	@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGDIR}/pkg-message > ${PKGMESSAGE}

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

.include <bsd.port.mk>