diff options
author | pav <pav@FreeBSD.org> | 2005-07-08 22:35:48 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-07-08 22:35:48 +0800 |
commit | 8f4bbda5988bfbd4bc79d0414ed7058ce65e73b2 (patch) | |
tree | 33e1a4221dc24f01b02c4e481f16286965ae1bc8 /net/nylon | |
parent | ab27ae627ccf878d283c040b3d8df5b7fcea8a5d (diff) | |
download | freebsd-ports-gnome-8f4bbda5988bfbd4bc79d0414ed7058ce65e73b2.tar.gz freebsd-ports-gnome-8f4bbda5988bfbd4bc79d0414ed7058ce65e73b2.tar.zst freebsd-ports-gnome-8f4bbda5988bfbd4bc79d0414ed7058ce65e73b2.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>
Diffstat (limited to 'net/nylon')
-rw-r--r-- | net/nylon/Makefile | 6 |
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> |