1999-10-09 16:40:11 +00:00
|
|
|
# New ports collection makefile for: iplog
|
|
|
|
# Date created: 4 Oct 1999
|
|
|
|
# Whom: Dominik Rothert <dr@domix.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 18:14:07 +00:00
|
|
|
PORTNAME= iplog
|
2000-09-23 14:59:10 +00:00
|
|
|
PORTVERSION= 2.2.1
|
1999-10-09 16:40:11 +00:00
|
|
|
CATEGORIES= security
|
2000-06-14 13:21:38 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
2000-09-23 14:59:10 +00:00
|
|
|
http://misc.ojnk.net/~odin/stuff/
|
2000-06-14 13:21:38 +00:00
|
|
|
MASTER_SITE_SUBDIR= ojnk
|
2000-01-29 21:40:51 +00:00
|
|
|
|
2000-01-30 18:19:45 +00:00
|
|
|
MAINTAINER= ust@cert.siemens.de
|
1999-10-09 16:40:11 +00:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2000-09-23 14:59:10 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1999-10-09 16:40:11 +00:00
|
|
|
|
2000-07-07 18:34:09 +00:00
|
|
|
MAN5= iplog.conf.5
|
1999-10-09 16:40:11 +00:00
|
|
|
MAN8= iplog.8
|
|
|
|
|
2000-01-29 21:40:51 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
2000-09-23 14:59:10 +00:00
|
|
|
post-patch:
|
|
|
|
.for file in example-iplog.conf iplog.8 iplog.conf.5 src/iplog.h
|
|
|
|
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file}
|
|
|
|
.endfor
|
2000-01-29 21:40:51 +00:00
|
|
|
|
1999-10-09 16:40:11 +00:00
|
|
|
post-install:
|
2000-09-23 14:59:10 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/example-iplog.conf ${PREFIX}/etc
|
2000-07-07 18:34:09 +00:00
|
|
|
.if !exists(${PREFIX}/etc/iplog.conf)
|
2000-09-23 14:59:10 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/example-iplog.conf ${PREFIX}/etc/iplog.conf
|
2000-07-07 18:34:09 +00:00
|
|
|
.else
|
2000-09-23 14:59:10 +00:00
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} "============================================================================"
|
|
|
|
@${ECHO_MSG} "Hint: iplog changed its configuration file from ${PREFIX}/etc/iplog.rules"
|
|
|
|
@${ECHO_MSG} " to ${PREFIX}/etc/iplog.conf"
|
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} "See ${PREFIX}/etc/example-iplog.conf for an example"
|
|
|
|
@${ECHO_MSG} "============================================================================"
|
|
|
|
@${ECHO_MSG}
|
2000-01-29 21:40:51 +00:00
|
|
|
.endif
|
1999-10-09 16:40:11 +00:00
|
|
|
|
2000-01-29 21:40:51 +00:00
|
|
|
.include <bsd.port.post.mk>
|