aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2001-01-16 15:32:49 +0000
committerKevin Lo <kevlo@FreeBSD.org>2001-01-16 15:32:49 +0000
commitf9f0e22962ab72138a91aede2e2135f1a6cc1a67 (patch)
tree16789a420bfe9f553e855fd27ef58a33162c3d59
parenta65110011fbbdd90254a1978cc3e0685151f8742 (diff)
downloadports-f9f0e22962ab72138a91aede2e2135f1a6cc1a67.tar.gz
ports-f9f0e22962ab72138a91aede2e2135f1a6cc1a67.zip
Notes
-rw-r--r--net/iplog/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/iplog/Makefile b/net/iplog/Makefile
index 13b565a4b63c..526fa5e6aadc 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 <bsd.port.post.mk>