diff options
author | kevlo <kevlo@FreeBSD.org> | 2001-01-16 23:32:49 +0800 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2001-01-16 23:32:49 +0800 |
commit | 5d98a87232dced615f875dbe98f2b56c74110863 (patch) | |
tree | 0a3b4e4b21b99efaa99c8b1df1a8a118c3ecf8a6 /net/iplog | |
parent | b579066f60245f57b33e516974db1db116dcc7b1 (diff) | |
download | freebsd-ports-gnome-5d98a87232dced615f875dbe98f2b56c74110863.tar.gz freebsd-ports-gnome-5d98a87232dced615f875dbe98f2b56c74110863.tar.zst freebsd-ports-gnome-5d98a87232dced615f875dbe98f2b56c74110863.zip |
Fix a problem when installing without a previously installed version of
iplog port.
PR: 24380
Submitted by: MAINTAINER
Diffstat (limited to 'net/iplog')
-rw-r--r-- | net/iplog/Makefile | 5 |
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> |