aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-07-08 14:35:48 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-07-08 14:35:48 +0000
commitf3f59e0af676a5946ca4e8f419ef2d77046b6c4c (patch)
treeaf77225d15f4a6216715c99da15fee99b1eb2b67 /net
parent5d2e92a3127da63e19f9c214608215cab76a55c0 (diff)
downloadports-f3f59e0af676a5946ca4e8f419ef2d77046b6c4c.tar.gz
ports-f3f59e0af676a5946ca4e8f419ef2d77046b6c4c.zip
- Install sample configuration as nylon.conf.sample to prevent overwriting
real configuration file on upgrades PR: ports/83082 Submitted by: Rob MacGregor <freebsd.macgregor@blueyonder.co.uk>
Notes
Notes: svn path=/head/; revision=138707
Diffstat (limited to 'net')
-rw-r--r--net/nylon/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/nylon/Makefile b/net/nylon/Makefile
index 7665459a916a..f9eae74e2ae4 100644
--- a/net/nylon/Makefile
+++ b/net/nylon/Makefile
@@ -8,7 +8,7 @@
PORTNAME= nylon
PORTVERSION= 1.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://monkey.org/~marius/nylon/
@@ -27,14 +27,14 @@ CONFIGURE_ARGS= --with-libevent=${LOCALBASE}
MAN1= nylon.1
-PLIST_FILES= bin/nylon etc/nylon.conf etc/rc.d/nylon.sh
+PLIST_FILES= bin/nylon etc/nylon.conf.sample etc/rc.d/nylon.sh
post-extract:
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
${FILESDIR}/nylon.sh.in > ${WRKSRC}/nylon.sh
post-install:
- ${INSTALL_DATA} ${FILESDIR}/nylon.conf ${PREFIX}/etc
+ ${INSTALL_DATA} ${FILESDIR}/nylon.conf ${PREFIX}/etc/nylon.conf.sample
${INSTALL_SCRIPT} ${WRKSRC}/nylon.sh ${PREFIX}/etc/rc.d
.include <bsd.port.mk>