aboutsummaryrefslogtreecommitdiffstats
path: root/security/logcheck/Makefile
blob: 2a6409b82c31594eb0a95d6be1350c6c70eecb98 (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
# 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

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

pre-configure:
    ${PERL} -pi -e "s@/usr/local/etc/tmp@${PREFIX}/var/tmp@g; \
        s@/usr/local@${PREFIX}@" ${WRKSRC}/Makefile \
        ${WRKSRC}/systems/freebsd/logcheck.sh
    ${PERL} -pi -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>