- 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>
This commit is contained in:
parent
5d2e92a312
commit
f3f59e0af6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138707
1 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue