From 5d98a87232dced615f875dbe98f2b56c74110863 Mon Sep 17 00:00:00 2001 From: kevlo Date: Tue, 16 Jan 2001 15:32:49 +0000 Subject: Fix a problem when installing without a previously installed version of iplog port. PR: 24380 Submitted by: MAINTAINER --- net/iplog/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'net/iplog') diff --git a/net/iplog/Makefile b/net/iplog/Makefile index 13b565a4b63..526fa5e6aad 100644 --- a/net/iplog/Makefile +++ b/net/iplog/Makefile @@ -30,7 +30,8 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/example-iplog.conf ${PREFIX}/etc .if !exists(${PREFIX}/etc/iplog.conf) ${INSTALL_DATA} ${WRKSRC}/example-iplog.conf ${PREFIX}/etc/iplog.conf -.else +.endif +.if exists(${PREFIX}/etc/iplog.rules) @${ECHO_MSG} @${ECHO_MSG} "============================================================================" @${ECHO_MSG} "Hint: iplog changed its configuration file from ${PREFIX}/etc/iplog.rules" @@ -38,6 +39,7 @@ post-install: @${ECHO_MSG} @${ECHO_MSG} "See ${PREFIX}/etc/example-iplog.conf for an example" @${ECHO_MSG} "============================================================================" +.endif @${ECHO_MSG} @${ECHO_MSG} "Installing ${PREFIX}/etc/rc.d/iplog.sh.sample file." @${CAT} ${FILESDIR}/iplog.sh.tmpl | \ @@ -49,6 +51,5 @@ post-install: @${ECHO_MSG} "cp -p ${PREFIX}/etc/rc.d/iplog.sh.sample ${PREFIX}/etc/rc.d/iplog.sh" @${ECHO_MSG} "----------------------------------------------------------------------------" @${ECHO_MSG} -.endif .include -- cgit