diff options
author | cpiazza <cpiazza@FreeBSD.org> | 1999-08-19 03:56:41 +0800 |
---|---|---|
committer | cpiazza <cpiazza@FreeBSD.org> | 1999-08-19 03:56:41 +0800 |
commit | a43fd34ccc23176cc0dd7d9918aa39919af77c81 (patch) | |
tree | 7add526fd8167fd024cbee797af62071aa819856 /comms/conserver | |
parent | 6cee3ebb749b20289e1e667533edc127e1b0003c (diff) | |
download | freebsd-ports-gnome-a43fd34ccc23176cc0dd7d9918aa39919af77c81.tar.gz freebsd-ports-gnome-a43fd34ccc23176cc0dd7d9918aa39919af77c81.tar.zst freebsd-ports-gnome-a43fd34ccc23176cc0dd7d9918aa39919af77c81.zip |
cp -> ${CP}
mv -> ${MV}
echo -> ${ECHO}
PR: 13181
Submitted by: Oleg V. Volkov <rover@fly.lglobus.ru>
Diffstat (limited to 'comms/conserver')
-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 |