aboutsummaryrefslogtreecommitdiffstats
path: root/security/fwlogwatch/Makefile
blob: d6bb4dee9d9430d9c1204f58ba0dd33ec112026b (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
# ex:ts=8
# New ports collection makefile for:    fwlogwatch
# Date created:         Nov 20, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   fwlogwatch
PORTVERSION=    0.6
CATEGORIES= security
MASTER_SITES=   http://www.kyb.uni-stuttgart.de/boris/sw/

MAINTAINER= ports@FreeBSD.org

LIB_DEPENDS=    intl:${PORTSDIR}/devel/gettext

INSTALL_TARGET= install install-config install-i18n
MANCOMPRESSES=  no
MAN8=   fwlogwatch.8

post-patch:
    @${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g ; \
        s,/etc,${PREFIX}/etc,g ; \
        s,/usr/local,${PREFIX},g ; \
        s,/usr/share,${PREFIX}/share,g" ${WRKSRC}/Makefile
    @${PERL} -pi -e "s,/etc,${PREFIX}/etc,g ; \
        s,/usr/share,${PREFIX}/share,g ; \
        s,/usr/local,${PREFIX},g" ${WRKSRC}/main.h
    @${PERL} -pi -e "s,/etc,${PREFIX}/etc,g" ${WRKSRC}/${MAN8}

.include <bsd.port.mk>