diff options
author | Chris Piazza <cpiazza@FreeBSD.org> | 1999-08-18 19:56:41 +0000 |
---|---|---|
committer | Chris Piazza <cpiazza@FreeBSD.org> | 1999-08-18 19:56:41 +0000 |
commit | 8feeccf62b3a5ed1ae87b1863949fdd6808f0a3a (patch) | |
tree | 3236d864ee7e194016d3aa2eb0172a097d9ff101 /comms | |
parent | Activate xmines (diff) |
cp -> ${CP}
mv -> ${MV}
echo -> ${ECHO}
PR: 13181
Submitted by: Oleg V. Volkov <rover@fly.lglobus.ru>
Notes
Notes:
svn path=/head/; revision=20795
Diffstat (limited to 'comms')
-rw-r--r-- | comms/conserver/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/comms/conserver/Makefile b/comms/conserver/Makefile index aa896a265315..4477da30effd 100644 --- a/comms/conserver/Makefile +++ b/comms/conserver/Makefile @@ -3,7 +3,7 @@ # Date created: 22 November 1997 # Whom: Peter Wemm <peter@netplex.com.au> # -# $Id: Makefile,v 1.6 1998/06/27 05:18:47 asami Exp $ +# $Id: Makefile,v 1.7 1999/06/05 19:49:48 mharo Exp $ # DISTNAME= conserver-5.21-Beta @@ -29,18 +29,18 @@ MAKE_ENV+= DEFAULTHOST="${DEFAULTHOST}" # XXX we also have to work around ``new'' uudecode behavior, thanks guys! post-extract: - cp ${FILESDIR}/Makefile ${WRKSRC} + ${CP} ${FILESDIR}/Makefile ${WRKSRC} if [ -f ${WRKSRC}/group.c ]; then \ - mv ${WRKSRC}/group.c ${WRKSRC}/conserver/group.c ; \ + ${MV} ${WRKSRC}/group.c ${WRKSRC}/conserver/group.c ; \ fi post-install: @if [ ! -f ${PREFIX}/etc/rc.d/conserver.sh ]; then \ - echo "Installing ${PREFIX}/etc/rc.d/conserver.sh startup file."; \ - echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/conserver.sh; \ - echo "if [ -x ${PREFIX}/sbin/conserver -a -f ${PREFiX}/etc/conserver.cf ]; then" >> ${PREFIX}/etc/rc.d/conserver.sh; \ - echo " ${PREFIX}/sbin/conserver -d -n ; echo -n ' conserver'" >> ${PREFIX}/etc/rc.d/conserver.sh; \ - echo "fi" >> ${PREFIX}/etc/rc.d/conserver.sh; \ + ${ECHO} "Installing ${PREFIX}/etc/rc.d/conserver.sh startup file."; \ + ${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/conserver.sh; \ + ${ECHO} "if [ -x ${PREFIX}/sbin/conserver -a -f ${PREFiX}/etc/conserver.cf ]; then" >> ${PREFIX}/etc/rc.d/conserver.sh; \ + ${ECHO} " ${PREFIX}/sbin/conserver -d -n ; ${ECHO} -n ' conserver'" >> ${PREFIX}/etc/rc.d/conserver.sh; \ + ${ECHO} "fi" >> ${PREFIX}/etc/rc.d/conserver.sh; \ chmod 751 ${PREFIX}/etc/rc.d/conserver.sh; \ fi |