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
|
# ex:ts=8
# New ports collection makefile for: fwlogwatch
# Date created: Nov 20, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= fwlogwatch
PORTVERSION= 0.6
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.kyb.uni-stuttgart.de/boris/sw/
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
USE_REINPLACE= yes
INSTALL_TARGET= install install-config install-i18n
MANCOMPRESSES= no
MAN8= fwlogwatch.8
MAKE_ENV= MKDIR="${MKDIR}"
post-patch:
@${REINPLACE_CMD} -e 's,/etc,${PREFIX}/etc,g; \
s,/usr/local,${PREFIX},g; \
s,/usr/share,${PREFIX}/share,g; \
s,%%LOCALBASE%%,${LOCALBASE},g' \
${WRKSRC}/Makefile ${WRKSRC}/main.h
@${REINPLACE_CMD} -e "s,/etc,${PREFIX}/etc,g" ${WRKSRC}/${MAN8}
post-install:
@${INSTALL_SCRIPT} ${FILESDIR}/fwlogwatch.sh.sample ${PREFIX}/etc/rc.d
.include <bsd.port.mk>
|