2001-11-20 08:02:41 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: fwlogwatch
|
|
|
|
# Date created: Nov 20, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= fwlogwatch
|
2002-03-08 16:51:04 +01:00
|
|
|
PORTVERSION= 0.6
|
2002-04-12 19:10:20 +02:00
|
|
|
PORTREVISION= 1
|
2001-11-20 08:02:41 +01:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= http://www.kyb.uni-stuttgart.de/boris/sw/
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
|
2002-08-01 18:22:41 +02:00
|
|
|
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
|
2001-11-20 08:02:41 +01:00
|
|
|
|
2002-06-23 22:39:23 +02:00
|
|
|
USE_REINPLACE= yes
|
2002-03-08 16:51:04 +01:00
|
|
|
INSTALL_TARGET= install install-config install-i18n
|
2001-11-20 08:02:41 +01:00
|
|
|
MANCOMPRESSES= no
|
|
|
|
MAN8= fwlogwatch.8
|
2002-03-13 11:22:57 +01:00
|
|
|
MAKE_ENV= MKDIR="${MKDIR}"
|
2001-11-20 08:02:41 +01:00
|
|
|
|
|
|
|
post-patch:
|
2002-06-23 22:39:23 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,/etc,${PREFIX}/etc,g; \
|
2002-03-13 11:22:57 +01:00
|
|
|
s,/usr/local,${PREFIX},g; \
|
|
|
|
s,/usr/share,${PREFIX}/share,g; \
|
|
|
|
s,%%LOCALBASE%%,${LOCALBASE},g' \
|
|
|
|
${WRKSRC}/Makefile ${WRKSRC}/main.h
|
2002-06-23 22:39:23 +02:00
|
|
|
@${REINPLACE_CMD} -e "s,/etc,${PREFIX}/etc,g" ${WRKSRC}/${MAN8}
|
2001-11-20 08:02:41 +01:00
|
|
|
|
2002-03-09 18:57:58 +01:00
|
|
|
post-install:
|
|
|
|
@${INSTALL_SCRIPT} ${FILESDIR}/fwlogwatch.sh.sample ${PREFIX}/etc/rc.d
|
|
|
|
|
2001-11-20 08:02:41 +01:00
|
|
|
.include <bsd.port.mk>
|